diff --git a/protobuf/Makefile b/protobuf/Makefile index 7ca380a5e..d500d3669 100644 --- a/protobuf/Makefile +++ b/protobuf/Makefile @@ -1,7 +1,11 @@ .PHONY: generate generate: - rm -rf ./go/flow/access ./go/flow/execution ./go/flow/entities ./go/flow/legacy && buf generate + rm -rf ./go/flow/access ./go/flow/execution ./go/flow/executiondata ./go/flow/entities ./go/flow/legacy && buf generate .PHONY: format format: - find ./flow/ -name "*.proto" | xargs clang-format -style=google -i \ No newline at end of file + find ./flow/ -name "*.proto" | xargs clang-format -style=google -i + +.PHONY: tidy +tidy: + cd go/flow && go mod tidy diff --git a/protobuf/buf.gen.yaml b/protobuf/buf.gen.yaml index b0d6b3275..e5c4696e4 100644 --- a/protobuf/buf.gen.yaml +++ b/protobuf/buf.gen.yaml @@ -1,11 +1,11 @@ -version: v1beta1 +version: v1 plugins: - - name: go + - plugin: buf.build/protocolbuffers/go out: go opt: - paths=source_relative - - name: go-grpc + - plugin: buf.build/grpc/go out: go opt: - paths=source_relative - - require_unimplemented_servers=false \ No newline at end of file + - require_unimplemented_servers=false diff --git a/protobuf/flow/access/access.proto b/protobuf/flow/access/access.proto index 737d56312..ab97b4204 100644 --- a/protobuf/flow/access/access.proto +++ b/protobuf/flow/access/access.proto @@ -85,11 +85,13 @@ service AccessAPI { rpc GetSystemTransactionResult(GetSystemTransactionResultRequest) returns (TransactionResultResponse); - // GetScheduledTransaction gets a scheduled transaction body for a given callback ID + // GetScheduledTransaction gets a scheduled transaction body for a given + // callback ID rpc GetScheduledTransaction(GetScheduledTransactionRequest) returns (TransactionResponse); - // GetScheduledTransactionResult gets a scheduled transaction result for a given callback ID + // GetScheduledTransactionResult gets a scheduled transaction result for a + // given callback ID rpc GetScheduledTransactionResult(GetScheduledTransactionResultRequest) returns (TransactionResultResponse); diff --git a/protobuf/go.mod b/protobuf/go.mod deleted file mode 100644 index 23a7392e9..000000000 --- a/protobuf/go.mod +++ /dev/null @@ -1,8 +0,0 @@ -module github.com/onflow/flow - -go 1.16 - -require ( - google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0 - google.golang.org/protobuf v1.27.1 -) diff --git a/protobuf/go.sum b/protobuf/go.sum deleted file mode 100644 index 2581fbeff..000000000 --- a/protobuf/go.sum +++ /dev/null @@ -1,10 +0,0 @@ -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0 h1:TLkBREm4nIsEcexnCjgQd5GQWaHcqMzwQV0TX9pq8S0= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0/go.mod h1:DNq5QpG7LJqD2AamLZ7zvKE0DEpVl2BSEVjFycAAjRY= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= diff --git a/protobuf/go/flow/access/access.pb.go b/protobuf/go/flow/access/access.pb.go index ba3183cdb..84257de7e 100644 --- a/protobuf/go/flow/access/access.pb.go +++ b/protobuf/go/flow/access/access.pb.go @@ -1,940 +1,1042 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/access/access.proto package access import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" entities "github.com/onflow/flow/protobuf/go/flow/entities" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - math "math" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type PingRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *PingRequest) Reset() { *m = PingRequest{} } -func (m *PingRequest) String() string { return proto.CompactTextString(m) } -func (*PingRequest) ProtoMessage() {} -func (*PingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{0} +func (x *PingRequest) Reset() { + *x = PingRequest{} + mi := &file_flow_access_access_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PingRequest.Unmarshal(m, b) +func (*PingRequest) ProtoMessage() {} + +func (x *PingRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PingRequest.Marshal(b, m, deterministic) + +// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead. +func (*PingRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{0} } -func (m *PingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PingRequest.Merge(m, src) + +type PingResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *PingRequest) XXX_Size() int { - return xxx_messageInfo_PingRequest.Size(m) + +func (x *PingResponse) Reset() { + *x = PingResponse{} + mi := &file_flow_access_access_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *PingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PingRequest.DiscardUnknown(m) + +func (x *PingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PingRequest proto.InternalMessageInfo +func (*PingResponse) ProtoMessage() {} -type PingResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *PingResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *PingResponse) Reset() { *m = PingResponse{} } -func (m *PingResponse) String() string { return proto.CompactTextString(m) } -func (*PingResponse) ProtoMessage() {} +// Deprecated: Use PingResponse.ProtoReflect.Descriptor instead. func (*PingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{1} + return file_flow_access_access_proto_rawDescGZIP(), []int{1} } -func (m *PingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PingResponse.Unmarshal(m, b) -} -func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PingResponse.Marshal(b, m, deterministic) -} -func (m *PingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PingResponse.Merge(m, src) +type GetNodeVersionInfoRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *PingResponse) XXX_Size() int { - return xxx_messageInfo_PingResponse.Size(m) + +func (x *GetNodeVersionInfoRequest) Reset() { + *x = GetNodeVersionInfoRequest{} + mi := &file_flow_access_access_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *PingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PingResponse.DiscardUnknown(m) + +func (x *GetNodeVersionInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PingResponse proto.InternalMessageInfo +func (*GetNodeVersionInfoRequest) ProtoMessage() {} -type GetNodeVersionInfoRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *GetNodeVersionInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *GetNodeVersionInfoRequest) Reset() { *m = GetNodeVersionInfoRequest{} } -func (m *GetNodeVersionInfoRequest) String() string { return proto.CompactTextString(m) } -func (*GetNodeVersionInfoRequest) ProtoMessage() {} +// Deprecated: Use GetNodeVersionInfoRequest.ProtoReflect.Descriptor instead. func (*GetNodeVersionInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{2} + return file_flow_access_access_proto_rawDescGZIP(), []int{2} } -func (m *GetNodeVersionInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetNodeVersionInfoRequest.Unmarshal(m, b) -} -func (m *GetNodeVersionInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetNodeVersionInfoRequest.Marshal(b, m, deterministic) -} -func (m *GetNodeVersionInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNodeVersionInfoRequest.Merge(m, src) +type GetNodeVersionInfoResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + Info *entities.NodeVersionInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetNodeVersionInfoRequest) XXX_Size() int { - return xxx_messageInfo_GetNodeVersionInfoRequest.Size(m) + +func (x *GetNodeVersionInfoResponse) Reset() { + *x = GetNodeVersionInfoResponse{} + mi := &file_flow_access_access_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetNodeVersionInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNodeVersionInfoRequest.DiscardUnknown(m) + +func (x *GetNodeVersionInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetNodeVersionInfoRequest proto.InternalMessageInfo +func (*GetNodeVersionInfoResponse) ProtoMessage() {} -type GetNodeVersionInfoResponse struct { - Info *entities.NodeVersionInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *GetNodeVersionInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *GetNodeVersionInfoResponse) Reset() { *m = GetNodeVersionInfoResponse{} } -func (m *GetNodeVersionInfoResponse) String() string { return proto.CompactTextString(m) } -func (*GetNodeVersionInfoResponse) ProtoMessage() {} +// Deprecated: Use GetNodeVersionInfoResponse.ProtoReflect.Descriptor instead. func (*GetNodeVersionInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{3} -} - -func (m *GetNodeVersionInfoResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetNodeVersionInfoResponse.Unmarshal(m, b) -} -func (m *GetNodeVersionInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetNodeVersionInfoResponse.Marshal(b, m, deterministic) + return file_flow_access_access_proto_rawDescGZIP(), []int{3} } -func (m *GetNodeVersionInfoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNodeVersionInfoResponse.Merge(m, src) -} -func (m *GetNodeVersionInfoResponse) XXX_Size() int { - return xxx_messageInfo_GetNodeVersionInfoResponse.Size(m) -} -func (m *GetNodeVersionInfoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNodeVersionInfoResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetNodeVersionInfoResponse proto.InternalMessageInfo -func (m *GetNodeVersionInfoResponse) GetInfo() *entities.NodeVersionInfo { - if m != nil { - return m.Info +func (x *GetNodeVersionInfoResponse) GetInfo() *entities.NodeVersionInfo { + if x != nil { + return x.Info } return nil } type GetLatestBlockHeaderRequest struct { - IsSealed bool `protobuf:"varint,1,opt,name=is_sealed,json=isSealed,proto3" json:"is_sealed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + IsSealed bool `protobuf:"varint,1,opt,name=is_sealed,json=isSealed,proto3" json:"is_sealed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetLatestBlockHeaderRequest) Reset() { *m = GetLatestBlockHeaderRequest{} } -func (m *GetLatestBlockHeaderRequest) String() string { return proto.CompactTextString(m) } -func (*GetLatestBlockHeaderRequest) ProtoMessage() {} -func (*GetLatestBlockHeaderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{4} +func (x *GetLatestBlockHeaderRequest) Reset() { + *x = GetLatestBlockHeaderRequest{} + mi := &file_flow_access_access_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetLatestBlockHeaderRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLatestBlockHeaderRequest.Unmarshal(m, b) -} -func (m *GetLatestBlockHeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLatestBlockHeaderRequest.Marshal(b, m, deterministic) -} -func (m *GetLatestBlockHeaderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLatestBlockHeaderRequest.Merge(m, src) -} -func (m *GetLatestBlockHeaderRequest) XXX_Size() int { - return xxx_messageInfo_GetLatestBlockHeaderRequest.Size(m) +func (x *GetLatestBlockHeaderRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetLatestBlockHeaderRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLatestBlockHeaderRequest.DiscardUnknown(m) + +func (*GetLatestBlockHeaderRequest) ProtoMessage() {} + +func (x *GetLatestBlockHeaderRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetLatestBlockHeaderRequest proto.InternalMessageInfo +// Deprecated: Use GetLatestBlockHeaderRequest.ProtoReflect.Descriptor instead. +func (*GetLatestBlockHeaderRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{4} +} -func (m *GetLatestBlockHeaderRequest) GetIsSealed() bool { - if m != nil { - return m.IsSealed +func (x *GetLatestBlockHeaderRequest) GetIsSealed() bool { + if x != nil { + return x.IsSealed } return false } type GetBlockHeaderByIDRequest struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetBlockHeaderByIDRequest) Reset() { *m = GetBlockHeaderByIDRequest{} } -func (m *GetBlockHeaderByIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlockHeaderByIDRequest) ProtoMessage() {} -func (*GetBlockHeaderByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{5} +func (x *GetBlockHeaderByIDRequest) Reset() { + *x = GetBlockHeaderByIDRequest{} + mi := &file_flow_access_access_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetBlockHeaderByIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlockHeaderByIDRequest.Unmarshal(m, b) -} -func (m *GetBlockHeaderByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlockHeaderByIDRequest.Marshal(b, m, deterministic) -} -func (m *GetBlockHeaderByIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlockHeaderByIDRequest.Merge(m, src) +func (x *GetBlockHeaderByIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlockHeaderByIDRequest) XXX_Size() int { - return xxx_messageInfo_GetBlockHeaderByIDRequest.Size(m) -} -func (m *GetBlockHeaderByIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlockHeaderByIDRequest.DiscardUnknown(m) + +func (*GetBlockHeaderByIDRequest) ProtoMessage() {} + +func (x *GetBlockHeaderByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetBlockHeaderByIDRequest proto.InternalMessageInfo +// Deprecated: Use GetBlockHeaderByIDRequest.ProtoReflect.Descriptor instead. +func (*GetBlockHeaderByIDRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{5} +} -func (m *GetBlockHeaderByIDRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetBlockHeaderByIDRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } type GetBlockHeaderByHeightRequest struct { - Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetBlockHeaderByHeightRequest) Reset() { *m = GetBlockHeaderByHeightRequest{} } -func (m *GetBlockHeaderByHeightRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlockHeaderByHeightRequest) ProtoMessage() {} -func (*GetBlockHeaderByHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{6} +func (x *GetBlockHeaderByHeightRequest) Reset() { + *x = GetBlockHeaderByHeightRequest{} + mi := &file_flow_access_access_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetBlockHeaderByHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlockHeaderByHeightRequest.Unmarshal(m, b) -} -func (m *GetBlockHeaderByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlockHeaderByHeightRequest.Marshal(b, m, deterministic) +func (x *GetBlockHeaderByHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlockHeaderByHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlockHeaderByHeightRequest.Merge(m, src) -} -func (m *GetBlockHeaderByHeightRequest) XXX_Size() int { - return xxx_messageInfo_GetBlockHeaderByHeightRequest.Size(m) -} -func (m *GetBlockHeaderByHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlockHeaderByHeightRequest.DiscardUnknown(m) + +func (*GetBlockHeaderByHeightRequest) ProtoMessage() {} + +func (x *GetBlockHeaderByHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetBlockHeaderByHeightRequest proto.InternalMessageInfo +// Deprecated: Use GetBlockHeaderByHeightRequest.ProtoReflect.Descriptor instead. +func (*GetBlockHeaderByHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{6} +} -func (m *GetBlockHeaderByHeightRequest) GetHeight() uint64 { - if m != nil { - return m.Height +func (x *GetBlockHeaderByHeightRequest) GetHeight() uint64 { + if x != nil { + return x.Height } return 0 } type BlockHeaderResponse struct { - Block *entities.BlockHeader `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Block *entities.BlockHeader `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *BlockHeaderResponse) Reset() { *m = BlockHeaderResponse{} } -func (m *BlockHeaderResponse) String() string { return proto.CompactTextString(m) } -func (*BlockHeaderResponse) ProtoMessage() {} -func (*BlockHeaderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{7} +func (x *BlockHeaderResponse) Reset() { + *x = BlockHeaderResponse{} + mi := &file_flow_access_access_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *BlockHeaderResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockHeaderResponse.Unmarshal(m, b) +func (x *BlockHeaderResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockHeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockHeaderResponse.Marshal(b, m, deterministic) -} -func (m *BlockHeaderResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockHeaderResponse.Merge(m, src) -} -func (m *BlockHeaderResponse) XXX_Size() int { - return xxx_messageInfo_BlockHeaderResponse.Size(m) -} -func (m *BlockHeaderResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BlockHeaderResponse.DiscardUnknown(m) + +func (*BlockHeaderResponse) ProtoMessage() {} + +func (x *BlockHeaderResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlockHeaderResponse proto.InternalMessageInfo +// Deprecated: Use BlockHeaderResponse.ProtoReflect.Descriptor instead. +func (*BlockHeaderResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{7} +} -func (m *BlockHeaderResponse) GetBlock() *entities.BlockHeader { - if m != nil { - return m.Block +func (x *BlockHeaderResponse) GetBlock() *entities.BlockHeader { + if x != nil { + return x.Block } return nil } -func (m *BlockHeaderResponse) GetBlockStatus() entities.BlockStatus { - if m != nil { - return m.BlockStatus +func (x *BlockHeaderResponse) GetBlockStatus() entities.BlockStatus { + if x != nil { + return x.BlockStatus } - return entities.BlockStatus_BLOCK_UNKNOWN + return entities.BlockStatus(0) } -func (m *BlockHeaderResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *BlockHeaderResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type GetLatestBlockRequest struct { - IsSealed bool `protobuf:"varint,1,opt,name=is_sealed,json=isSealed,proto3" json:"is_sealed,omitempty"` - FullBlockResponse bool `protobuf:"varint,2,opt,name=full_block_response,json=fullBlockResponse,proto3" json:"full_block_response,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + IsSealed bool `protobuf:"varint,1,opt,name=is_sealed,json=isSealed,proto3" json:"is_sealed,omitempty"` + FullBlockResponse bool `protobuf:"varint,2,opt,name=full_block_response,json=fullBlockResponse,proto3" json:"full_block_response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetLatestBlockRequest) Reset() { *m = GetLatestBlockRequest{} } -func (m *GetLatestBlockRequest) String() string { return proto.CompactTextString(m) } -func (*GetLatestBlockRequest) ProtoMessage() {} -func (*GetLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{8} +func (x *GetLatestBlockRequest) Reset() { + *x = GetLatestBlockRequest{} + mi := &file_flow_access_access_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetLatestBlockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLatestBlockRequest.Unmarshal(m, b) -} -func (m *GetLatestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLatestBlockRequest.Marshal(b, m, deterministic) -} -func (m *GetLatestBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLatestBlockRequest.Merge(m, src) -} -func (m *GetLatestBlockRequest) XXX_Size() int { - return xxx_messageInfo_GetLatestBlockRequest.Size(m) +func (x *GetLatestBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetLatestBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLatestBlockRequest.DiscardUnknown(m) + +func (*GetLatestBlockRequest) ProtoMessage() {} + +func (x *GetLatestBlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetLatestBlockRequest proto.InternalMessageInfo +// Deprecated: Use GetLatestBlockRequest.ProtoReflect.Descriptor instead. +func (*GetLatestBlockRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{8} +} -func (m *GetLatestBlockRequest) GetIsSealed() bool { - if m != nil { - return m.IsSealed +func (x *GetLatestBlockRequest) GetIsSealed() bool { + if x != nil { + return x.IsSealed } return false } -func (m *GetLatestBlockRequest) GetFullBlockResponse() bool { - if m != nil { - return m.FullBlockResponse +func (x *GetLatestBlockRequest) GetFullBlockResponse() bool { + if x != nil { + return x.FullBlockResponse } return false } type GetBlockByIDRequest struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - FullBlockResponse bool `protobuf:"varint,2,opt,name=full_block_response,json=fullBlockResponse,proto3" json:"full_block_response,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + FullBlockResponse bool `protobuf:"varint,2,opt,name=full_block_response,json=fullBlockResponse,proto3" json:"full_block_response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetBlockByIDRequest) Reset() { *m = GetBlockByIDRequest{} } -func (m *GetBlockByIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlockByIDRequest) ProtoMessage() {} -func (*GetBlockByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{9} +func (x *GetBlockByIDRequest) Reset() { + *x = GetBlockByIDRequest{} + mi := &file_flow_access_access_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetBlockByIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlockByIDRequest.Unmarshal(m, b) -} -func (m *GetBlockByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlockByIDRequest.Marshal(b, m, deterministic) -} -func (m *GetBlockByIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlockByIDRequest.Merge(m, src) +func (x *GetBlockByIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlockByIDRequest) XXX_Size() int { - return xxx_messageInfo_GetBlockByIDRequest.Size(m) -} -func (m *GetBlockByIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlockByIDRequest.DiscardUnknown(m) + +func (*GetBlockByIDRequest) ProtoMessage() {} + +func (x *GetBlockByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetBlockByIDRequest proto.InternalMessageInfo +// Deprecated: Use GetBlockByIDRequest.ProtoReflect.Descriptor instead. +func (*GetBlockByIDRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{9} +} -func (m *GetBlockByIDRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetBlockByIDRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *GetBlockByIDRequest) GetFullBlockResponse() bool { - if m != nil { - return m.FullBlockResponse +func (x *GetBlockByIDRequest) GetFullBlockResponse() bool { + if x != nil { + return x.FullBlockResponse } return false } type GetBlockByHeightRequest struct { - Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` - FullBlockResponse bool `protobuf:"varint,2,opt,name=full_block_response,json=fullBlockResponse,proto3" json:"full_block_response,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` + FullBlockResponse bool `protobuf:"varint,2,opt,name=full_block_response,json=fullBlockResponse,proto3" json:"full_block_response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetBlockByHeightRequest) Reset() { *m = GetBlockByHeightRequest{} } -func (m *GetBlockByHeightRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlockByHeightRequest) ProtoMessage() {} -func (*GetBlockByHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{10} +func (x *GetBlockByHeightRequest) Reset() { + *x = GetBlockByHeightRequest{} + mi := &file_flow_access_access_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetBlockByHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlockByHeightRequest.Unmarshal(m, b) -} -func (m *GetBlockByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlockByHeightRequest.Marshal(b, m, deterministic) +func (x *GetBlockByHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlockByHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlockByHeightRequest.Merge(m, src) -} -func (m *GetBlockByHeightRequest) XXX_Size() int { - return xxx_messageInfo_GetBlockByHeightRequest.Size(m) -} -func (m *GetBlockByHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlockByHeightRequest.DiscardUnknown(m) + +func (*GetBlockByHeightRequest) ProtoMessage() {} + +func (x *GetBlockByHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetBlockByHeightRequest proto.InternalMessageInfo +// Deprecated: Use GetBlockByHeightRequest.ProtoReflect.Descriptor instead. +func (*GetBlockByHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{10} +} -func (m *GetBlockByHeightRequest) GetHeight() uint64 { - if m != nil { - return m.Height +func (x *GetBlockByHeightRequest) GetHeight() uint64 { + if x != nil { + return x.Height } return 0 } -func (m *GetBlockByHeightRequest) GetFullBlockResponse() bool { - if m != nil { - return m.FullBlockResponse +func (x *GetBlockByHeightRequest) GetFullBlockResponse() bool { + if x != nil { + return x.FullBlockResponse } return false } type BlockResponse struct { - Block *entities.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Block *entities.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *BlockResponse) Reset() { *m = BlockResponse{} } -func (m *BlockResponse) String() string { return proto.CompactTextString(m) } -func (*BlockResponse) ProtoMessage() {} -func (*BlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{11} +func (x *BlockResponse) Reset() { + *x = BlockResponse{} + mi := &file_flow_access_access_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *BlockResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockResponse.Unmarshal(m, b) +func (x *BlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockResponse.Marshal(b, m, deterministic) -} -func (m *BlockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockResponse.Merge(m, src) -} -func (m *BlockResponse) XXX_Size() int { - return xxx_messageInfo_BlockResponse.Size(m) -} -func (m *BlockResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BlockResponse.DiscardUnknown(m) + +func (*BlockResponse) ProtoMessage() {} + +func (x *BlockResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlockResponse proto.InternalMessageInfo +// Deprecated: Use BlockResponse.ProtoReflect.Descriptor instead. +func (*BlockResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{11} +} -func (m *BlockResponse) GetBlock() *entities.Block { - if m != nil { - return m.Block +func (x *BlockResponse) GetBlock() *entities.Block { + if x != nil { + return x.Block } return nil } -func (m *BlockResponse) GetBlockStatus() entities.BlockStatus { - if m != nil { - return m.BlockStatus +func (x *BlockResponse) GetBlockStatus() entities.BlockStatus { + if x != nil { + return x.BlockStatus } - return entities.BlockStatus_BLOCK_UNKNOWN + return entities.BlockStatus(0) } -func (m *BlockResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *BlockResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type GetCollectionByIDRequest struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetCollectionByIDRequest) Reset() { *m = GetCollectionByIDRequest{} } -func (m *GetCollectionByIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetCollectionByIDRequest) ProtoMessage() {} -func (*GetCollectionByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{12} +func (x *GetCollectionByIDRequest) Reset() { + *x = GetCollectionByIDRequest{} + mi := &file_flow_access_access_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetCollectionByIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCollectionByIDRequest.Unmarshal(m, b) -} -func (m *GetCollectionByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCollectionByIDRequest.Marshal(b, m, deterministic) -} -func (m *GetCollectionByIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCollectionByIDRequest.Merge(m, src) +func (x *GetCollectionByIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetCollectionByIDRequest) XXX_Size() int { - return xxx_messageInfo_GetCollectionByIDRequest.Size(m) -} -func (m *GetCollectionByIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCollectionByIDRequest.DiscardUnknown(m) + +func (*GetCollectionByIDRequest) ProtoMessage() {} + +func (x *GetCollectionByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetCollectionByIDRequest proto.InternalMessageInfo +// Deprecated: Use GetCollectionByIDRequest.ProtoReflect.Descriptor instead. +func (*GetCollectionByIDRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{12} +} -func (m *GetCollectionByIDRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetCollectionByIDRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *GetCollectionByIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetCollectionByIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetFullCollectionByIDRequest struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetFullCollectionByIDRequest) Reset() { *m = GetFullCollectionByIDRequest{} } -func (m *GetFullCollectionByIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetFullCollectionByIDRequest) ProtoMessage() {} -func (*GetFullCollectionByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{13} +func (x *GetFullCollectionByIDRequest) Reset() { + *x = GetFullCollectionByIDRequest{} + mi := &file_flow_access_access_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetFullCollectionByIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFullCollectionByIDRequest.Unmarshal(m, b) +func (x *GetFullCollectionByIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetFullCollectionByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFullCollectionByIDRequest.Marshal(b, m, deterministic) -} -func (m *GetFullCollectionByIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFullCollectionByIDRequest.Merge(m, src) -} -func (m *GetFullCollectionByIDRequest) XXX_Size() int { - return xxx_messageInfo_GetFullCollectionByIDRequest.Size(m) -} -func (m *GetFullCollectionByIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFullCollectionByIDRequest.DiscardUnknown(m) + +func (*GetFullCollectionByIDRequest) ProtoMessage() {} + +func (x *GetFullCollectionByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetFullCollectionByIDRequest proto.InternalMessageInfo +// Deprecated: Use GetFullCollectionByIDRequest.ProtoReflect.Descriptor instead. +func (*GetFullCollectionByIDRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{13} +} -func (m *GetFullCollectionByIDRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetFullCollectionByIDRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *GetFullCollectionByIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetFullCollectionByIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type CollectionResponse struct { - Collection *entities.Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Collection *entities.Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *CollectionResponse) Reset() { *m = CollectionResponse{} } -func (m *CollectionResponse) String() string { return proto.CompactTextString(m) } -func (*CollectionResponse) ProtoMessage() {} -func (*CollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{14} +func (x *CollectionResponse) Reset() { + *x = CollectionResponse{} + mi := &file_flow_access_access_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *CollectionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CollectionResponse.Unmarshal(m, b) -} -func (m *CollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CollectionResponse.Marshal(b, m, deterministic) -} -func (m *CollectionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectionResponse.Merge(m, src) -} -func (m *CollectionResponse) XXX_Size() int { - return xxx_messageInfo_CollectionResponse.Size(m) +func (x *CollectionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CollectionResponse.DiscardUnknown(m) + +func (*CollectionResponse) ProtoMessage() {} + +func (x *CollectionResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CollectionResponse proto.InternalMessageInfo +// Deprecated: Use CollectionResponse.ProtoReflect.Descriptor instead. +func (*CollectionResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{14} +} -func (m *CollectionResponse) GetCollection() *entities.Collection { - if m != nil { - return m.Collection +func (x *CollectionResponse) GetCollection() *entities.Collection { + if x != nil { + return x.Collection } return nil } -func (m *CollectionResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *CollectionResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type FullCollectionResponse struct { - Transactions []*entities.Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Transactions []*entities.Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *FullCollectionResponse) Reset() { *m = FullCollectionResponse{} } -func (m *FullCollectionResponse) String() string { return proto.CompactTextString(m) } -func (*FullCollectionResponse) ProtoMessage() {} -func (*FullCollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{15} +func (x *FullCollectionResponse) Reset() { + *x = FullCollectionResponse{} + mi := &file_flow_access_access_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *FullCollectionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FullCollectionResponse.Unmarshal(m, b) -} -func (m *FullCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FullCollectionResponse.Marshal(b, m, deterministic) -} -func (m *FullCollectionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FullCollectionResponse.Merge(m, src) +func (x *FullCollectionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FullCollectionResponse) XXX_Size() int { - return xxx_messageInfo_FullCollectionResponse.Size(m) -} -func (m *FullCollectionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FullCollectionResponse.DiscardUnknown(m) + +func (*FullCollectionResponse) ProtoMessage() {} + +func (x *FullCollectionResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FullCollectionResponse proto.InternalMessageInfo +// Deprecated: Use FullCollectionResponse.ProtoReflect.Descriptor instead. +func (*FullCollectionResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{15} +} -func (m *FullCollectionResponse) GetTransactions() []*entities.Transaction { - if m != nil { - return m.Transactions +func (x *FullCollectionResponse) GetTransactions() []*entities.Transaction { + if x != nil { + return x.Transactions } return nil } -func (m *FullCollectionResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *FullCollectionResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type SendTransactionRequest struct { - Transaction *entities.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Transaction *entities.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SendTransactionRequest) Reset() { *m = SendTransactionRequest{} } -func (m *SendTransactionRequest) String() string { return proto.CompactTextString(m) } -func (*SendTransactionRequest) ProtoMessage() {} -func (*SendTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{16} +func (x *SendTransactionRequest) Reset() { + *x = SendTransactionRequest{} + mi := &file_flow_access_access_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SendTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendTransactionRequest.Unmarshal(m, b) -} -func (m *SendTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendTransactionRequest.Marshal(b, m, deterministic) +func (x *SendTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SendTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendTransactionRequest.Merge(m, src) -} -func (m *SendTransactionRequest) XXX_Size() int { - return xxx_messageInfo_SendTransactionRequest.Size(m) -} -func (m *SendTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SendTransactionRequest.DiscardUnknown(m) + +func (*SendTransactionRequest) ProtoMessage() {} + +func (x *SendTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SendTransactionRequest proto.InternalMessageInfo +// Deprecated: Use SendTransactionRequest.ProtoReflect.Descriptor instead. +func (*SendTransactionRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{16} +} -func (m *SendTransactionRequest) GetTransaction() *entities.Transaction { - if m != nil { - return m.Transaction +func (x *SendTransactionRequest) GetTransaction() *entities.Transaction { + if x != nil { + return x.Transaction } return nil } -func (m *SendTransactionRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SendTransactionRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type SendTransactionResponse struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SendTransactionResponse) Reset() { *m = SendTransactionResponse{} } -func (m *SendTransactionResponse) String() string { return proto.CompactTextString(m) } -func (*SendTransactionResponse) ProtoMessage() {} -func (*SendTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{17} +func (x *SendTransactionResponse) Reset() { + *x = SendTransactionResponse{} + mi := &file_flow_access_access_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SendTransactionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendTransactionResponse.Unmarshal(m, b) +func (x *SendTransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SendTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendTransactionResponse.Marshal(b, m, deterministic) -} -func (m *SendTransactionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendTransactionResponse.Merge(m, src) -} -func (m *SendTransactionResponse) XXX_Size() int { - return xxx_messageInfo_SendTransactionResponse.Size(m) -} -func (m *SendTransactionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SendTransactionResponse.DiscardUnknown(m) + +func (*SendTransactionResponse) ProtoMessage() {} + +func (x *SendTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SendTransactionResponse proto.InternalMessageInfo +// Deprecated: Use SendTransactionResponse.ProtoReflect.Descriptor instead. +func (*SendTransactionResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{17} +} -func (m *SendTransactionResponse) GetId() []byte { - if m != nil { - return m.Id +func (x *SendTransactionResponse) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *SendTransactionResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *SendTransactionResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type GetTransactionRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` BlockId []byte `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` CollectionId []byte `protobuf:"bytes,3,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,4,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,5,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionRequest) Reset() { *m = GetTransactionRequest{} } -func (m *GetTransactionRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransactionRequest) ProtoMessage() {} -func (*GetTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{18} +func (x *GetTransactionRequest) Reset() { + *x = GetTransactionRequest{} + mi := &file_flow_access_access_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionRequest.Unmarshal(m, b) -} -func (m *GetTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionRequest.Marshal(b, m, deterministic) -} -func (m *GetTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionRequest.Merge(m, src) -} -func (m *GetTransactionRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionRequest.Size(m) +func (x *GetTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionRequest.DiscardUnknown(m) + +func (*GetTransactionRequest) ProtoMessage() {} + +func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionRequest proto.InternalMessageInfo +// Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{18} +} -func (m *GetTransactionRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetTransactionRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *GetTransactionRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetTransactionRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetTransactionRequest) GetCollectionId() []byte { - if m != nil { - return m.CollectionId +func (x *GetTransactionRequest) GetCollectionId() []byte { + if x != nil { + return x.CollectionId } return nil } -func (m *GetTransactionRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *GetTransactionRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *GetTransactionRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetTransactionRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetSystemTransactionRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // BlockID of the block that contains the system transaction. BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` // ID of the system transaction. [optional] // If unset, the last system transaction is returned. Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Execution state query parameters used for unsealed blocks. [optional] - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetSystemTransactionRequest) Reset() { *m = GetSystemTransactionRequest{} } -func (m *GetSystemTransactionRequest) String() string { return proto.CompactTextString(m) } -func (*GetSystemTransactionRequest) ProtoMessage() {} -func (*GetSystemTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{19} +func (x *GetSystemTransactionRequest) Reset() { + *x = GetSystemTransactionRequest{} + mi := &file_flow_access_access_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetSystemTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSystemTransactionRequest.Unmarshal(m, b) +func (x *GetSystemTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetSystemTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSystemTransactionRequest.Marshal(b, m, deterministic) -} -func (m *GetSystemTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSystemTransactionRequest.Merge(m, src) -} -func (m *GetSystemTransactionRequest) XXX_Size() int { - return xxx_messageInfo_GetSystemTransactionRequest.Size(m) -} -func (m *GetSystemTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSystemTransactionRequest.DiscardUnknown(m) + +func (*GetSystemTransactionRequest) ProtoMessage() {} + +func (x *GetSystemTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetSystemTransactionRequest proto.InternalMessageInfo +// Deprecated: Use GetSystemTransactionRequest.ProtoReflect.Descriptor instead. +func (*GetSystemTransactionRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{19} +} -func (m *GetSystemTransactionRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetSystemTransactionRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetSystemTransactionRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetSystemTransactionRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *GetSystemTransactionRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetSystemTransactionRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetSystemTransactionResultRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // BlockID of the block that contains the system transaction. BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` // Desired event payload encoding. @@ -943,2152 +1045,2285 @@ type GetSystemTransactionResultRequest struct { ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` // ID of the system transaction. [optional] // If unset, the result of the last system transaction is returned. - Id []byte `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Id []byte `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetSystemTransactionResultRequest) Reset() { *m = GetSystemTransactionResultRequest{} } -func (m *GetSystemTransactionResultRequest) String() string { return proto.CompactTextString(m) } -func (*GetSystemTransactionResultRequest) ProtoMessage() {} -func (*GetSystemTransactionResultRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{20} +func (x *GetSystemTransactionResultRequest) Reset() { + *x = GetSystemTransactionResultRequest{} + mi := &file_flow_access_access_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetSystemTransactionResultRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSystemTransactionResultRequest.Unmarshal(m, b) -} -func (m *GetSystemTransactionResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSystemTransactionResultRequest.Marshal(b, m, deterministic) -} -func (m *GetSystemTransactionResultRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSystemTransactionResultRequest.Merge(m, src) -} -func (m *GetSystemTransactionResultRequest) XXX_Size() int { - return xxx_messageInfo_GetSystemTransactionResultRequest.Size(m) +func (x *GetSystemTransactionResultRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetSystemTransactionResultRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSystemTransactionResultRequest.DiscardUnknown(m) + +func (*GetSystemTransactionResultRequest) ProtoMessage() {} + +func (x *GetSystemTransactionResultRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetSystemTransactionResultRequest proto.InternalMessageInfo +// Deprecated: Use GetSystemTransactionResultRequest.ProtoReflect.Descriptor instead. +func (*GetSystemTransactionResultRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{20} +} -func (m *GetSystemTransactionResultRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetSystemTransactionResultRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetSystemTransactionResultRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *GetSystemTransactionResultRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *GetSystemTransactionResultRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetSystemTransactionResultRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } -func (m *GetSystemTransactionResultRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetSystemTransactionResultRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } type GetScheduledTransactionRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // id field of the scheduled transaction returned by the system contract. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Execution state query parameters used for unsealed blocks. [optional] - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetScheduledTransactionRequest) Reset() { *m = GetScheduledTransactionRequest{} } -func (m *GetScheduledTransactionRequest) String() string { return proto.CompactTextString(m) } -func (*GetScheduledTransactionRequest) ProtoMessage() {} -func (*GetScheduledTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{21} +func (x *GetScheduledTransactionRequest) Reset() { + *x = GetScheduledTransactionRequest{} + mi := &file_flow_access_access_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetScheduledTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetScheduledTransactionRequest.Unmarshal(m, b) -} -func (m *GetScheduledTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetScheduledTransactionRequest.Marshal(b, m, deterministic) -} -func (m *GetScheduledTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetScheduledTransactionRequest.Merge(m, src) +func (x *GetScheduledTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetScheduledTransactionRequest) XXX_Size() int { - return xxx_messageInfo_GetScheduledTransactionRequest.Size(m) -} -func (m *GetScheduledTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetScheduledTransactionRequest.DiscardUnknown(m) + +func (*GetScheduledTransactionRequest) ProtoMessage() {} + +func (x *GetScheduledTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetScheduledTransactionRequest proto.InternalMessageInfo +// Deprecated: Use GetScheduledTransactionRequest.ProtoReflect.Descriptor instead. +func (*GetScheduledTransactionRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{21} +} -func (m *GetScheduledTransactionRequest) GetId() uint64 { - if m != nil { - return m.Id +func (x *GetScheduledTransactionRequest) GetId() uint64 { + if x != nil { + return x.Id } return 0 } -func (m *GetScheduledTransactionRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetScheduledTransactionRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetScheduledTransactionResultRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // id field of the scheduled transaction returned by the system contract. Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Desired event payload encoding. EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,2,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Execution state query parameters used for unsealed blocks. [optional] - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetScheduledTransactionResultRequest) Reset() { *m = GetScheduledTransactionResultRequest{} } -func (m *GetScheduledTransactionResultRequest) String() string { return proto.CompactTextString(m) } -func (*GetScheduledTransactionResultRequest) ProtoMessage() {} -func (*GetScheduledTransactionResultRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{22} +func (x *GetScheduledTransactionResultRequest) Reset() { + *x = GetScheduledTransactionResultRequest{} + mi := &file_flow_access_access_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetScheduledTransactionResultRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetScheduledTransactionResultRequest.Unmarshal(m, b) -} -func (m *GetScheduledTransactionResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetScheduledTransactionResultRequest.Marshal(b, m, deterministic) -} -func (m *GetScheduledTransactionResultRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetScheduledTransactionResultRequest.Merge(m, src) -} -func (m *GetScheduledTransactionResultRequest) XXX_Size() int { - return xxx_messageInfo_GetScheduledTransactionResultRequest.Size(m) +func (x *GetScheduledTransactionResultRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetScheduledTransactionResultRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetScheduledTransactionResultRequest.DiscardUnknown(m) + +func (*GetScheduledTransactionResultRequest) ProtoMessage() {} + +func (x *GetScheduledTransactionResultRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetScheduledTransactionResultRequest proto.InternalMessageInfo +// Deprecated: Use GetScheduledTransactionResultRequest.ProtoReflect.Descriptor instead. +func (*GetScheduledTransactionResultRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{22} +} -func (m *GetScheduledTransactionResultRequest) GetId() uint64 { - if m != nil { - return m.Id +func (x *GetScheduledTransactionResultRequest) GetId() uint64 { + if x != nil { + return x.Id } return 0 } -func (m *GetScheduledTransactionResultRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *GetScheduledTransactionResultRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *GetScheduledTransactionResultRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetScheduledTransactionResultRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetTransactionByIndexRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,3,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionByIndexRequest) Reset() { *m = GetTransactionByIndexRequest{} } -func (m *GetTransactionByIndexRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransactionByIndexRequest) ProtoMessage() {} -func (*GetTransactionByIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{23} +func (x *GetTransactionByIndexRequest) Reset() { + *x = GetTransactionByIndexRequest{} + mi := &file_flow_access_access_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionByIndexRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionByIndexRequest.Unmarshal(m, b) -} -func (m *GetTransactionByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionByIndexRequest.Marshal(b, m, deterministic) -} -func (m *GetTransactionByIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionByIndexRequest.Merge(m, src) +func (x *GetTransactionByIndexRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionByIndexRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionByIndexRequest.Size(m) -} -func (m *GetTransactionByIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionByIndexRequest.DiscardUnknown(m) + +func (*GetTransactionByIndexRequest) ProtoMessage() {} + +func (x *GetTransactionByIndexRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionByIndexRequest proto.InternalMessageInfo +// Deprecated: Use GetTransactionByIndexRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionByIndexRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{23} +} -func (m *GetTransactionByIndexRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetTransactionByIndexRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetTransactionByIndexRequest) GetIndex() uint32 { - if m != nil { - return m.Index +func (x *GetTransactionByIndexRequest) GetIndex() uint32 { + if x != nil { + return x.Index } return 0 } -func (m *GetTransactionByIndexRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *GetTransactionByIndexRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *GetTransactionByIndexRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetTransactionByIndexRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetTransactionsByBlockIDRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,2,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionsByBlockIDRequest) Reset() { *m = GetTransactionsByBlockIDRequest{} } -func (m *GetTransactionsByBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransactionsByBlockIDRequest) ProtoMessage() {} -func (*GetTransactionsByBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{24} +func (x *GetTransactionsByBlockIDRequest) Reset() { + *x = GetTransactionsByBlockIDRequest{} + mi := &file_flow_access_access_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionsByBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionsByBlockIDRequest.Unmarshal(m, b) -} -func (m *GetTransactionsByBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionsByBlockIDRequest.Marshal(b, m, deterministic) +func (x *GetTransactionsByBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionsByBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionsByBlockIDRequest.Merge(m, src) -} -func (m *GetTransactionsByBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionsByBlockIDRequest.Size(m) -} -func (m *GetTransactionsByBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionsByBlockIDRequest.DiscardUnknown(m) + +func (*GetTransactionsByBlockIDRequest) ProtoMessage() {} + +func (x *GetTransactionsByBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionsByBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use GetTransactionsByBlockIDRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionsByBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{24} +} -func (m *GetTransactionsByBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetTransactionsByBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetTransactionsByBlockIDRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *GetTransactionsByBlockIDRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *GetTransactionsByBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetTransactionsByBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type TransactionResultsResponse struct { - TransactionResults []*TransactionResultResponse `protobuf:"bytes,1,rep,name=transaction_results,json=transactionResults,proto3" json:"transaction_results,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + TransactionResults []*TransactionResultResponse `protobuf:"bytes,1,rep,name=transaction_results,json=transactionResults,proto3" json:"transaction_results,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *TransactionResultsResponse) Reset() { *m = TransactionResultsResponse{} } -func (m *TransactionResultsResponse) String() string { return proto.CompactTextString(m) } -func (*TransactionResultsResponse) ProtoMessage() {} -func (*TransactionResultsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{25} +func (x *TransactionResultsResponse) Reset() { + *x = TransactionResultsResponse{} + mi := &file_flow_access_access_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *TransactionResultsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionResultsResponse.Unmarshal(m, b) +func (x *TransactionResultsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TransactionResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionResultsResponse.Marshal(b, m, deterministic) -} -func (m *TransactionResultsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionResultsResponse.Merge(m, src) -} -func (m *TransactionResultsResponse) XXX_Size() int { - return xxx_messageInfo_TransactionResultsResponse.Size(m) -} -func (m *TransactionResultsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionResultsResponse.DiscardUnknown(m) + +func (*TransactionResultsResponse) ProtoMessage() {} + +func (x *TransactionResultsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TransactionResultsResponse proto.InternalMessageInfo +// Deprecated: Use TransactionResultsResponse.ProtoReflect.Descriptor instead. +func (*TransactionResultsResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{25} +} -func (m *TransactionResultsResponse) GetTransactionResults() []*TransactionResultResponse { - if m != nil { - return m.TransactionResults +func (x *TransactionResultsResponse) GetTransactionResults() []*TransactionResultResponse { + if x != nil { + return x.TransactionResults } return nil } -func (m *TransactionResultsResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *TransactionResultsResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type TransactionsResponse struct { - Transactions []*entities.Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Transactions []*entities.Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *TransactionsResponse) Reset() { *m = TransactionsResponse{} } -func (m *TransactionsResponse) String() string { return proto.CompactTextString(m) } -func (*TransactionsResponse) ProtoMessage() {} -func (*TransactionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{26} +func (x *TransactionsResponse) Reset() { + *x = TransactionsResponse{} + mi := &file_flow_access_access_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *TransactionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionsResponse.Unmarshal(m, b) -} -func (m *TransactionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionsResponse.Marshal(b, m, deterministic) -} -func (m *TransactionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionsResponse.Merge(m, src) -} -func (m *TransactionsResponse) XXX_Size() int { - return xxx_messageInfo_TransactionsResponse.Size(m) +func (x *TransactionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TransactionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionsResponse.DiscardUnknown(m) + +func (*TransactionsResponse) ProtoMessage() {} + +func (x *TransactionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TransactionsResponse proto.InternalMessageInfo +// Deprecated: Use TransactionsResponse.ProtoReflect.Descriptor instead. +func (*TransactionsResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{26} +} -func (m *TransactionsResponse) GetTransactions() []*entities.Transaction { - if m != nil { - return m.Transactions +func (x *TransactionsResponse) GetTransactions() []*entities.Transaction { + if x != nil { + return x.Transactions } return nil } -func (m *TransactionsResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *TransactionsResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type TransactionResponse struct { - Transaction *entities.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Transaction *entities.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *TransactionResponse) Reset() { *m = TransactionResponse{} } -func (m *TransactionResponse) String() string { return proto.CompactTextString(m) } -func (*TransactionResponse) ProtoMessage() {} -func (*TransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{27} +func (x *TransactionResponse) Reset() { + *x = TransactionResponse{} + mi := &file_flow_access_access_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *TransactionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionResponse.Unmarshal(m, b) -} -func (m *TransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionResponse.Marshal(b, m, deterministic) -} -func (m *TransactionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionResponse.Merge(m, src) -} -func (m *TransactionResponse) XXX_Size() int { - return xxx_messageInfo_TransactionResponse.Size(m) -} -func (m *TransactionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionResponse.DiscardUnknown(m) +func (x *TransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_TransactionResponse proto.InternalMessageInfo +func (*TransactionResponse) ProtoMessage() {} -func (m *TransactionResponse) GetTransaction() *entities.Transaction { - if m != nil { - return m.Transaction +func (x *TransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *TransactionResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata - } - return nil +// Deprecated: Use TransactionResponse.ProtoReflect.Descriptor instead. +func (*TransactionResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{27} } -type TransactionResultResponse struct { - Status entities.TransactionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=flow.entities.TransactionStatus" json:"status,omitempty"` - StatusCode uint32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` - ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - Events []*entities.Event `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"` - BlockId []byte `protobuf:"bytes,5,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - TransactionId []byte `protobuf:"bytes,6,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` - CollectionId []byte `protobuf:"bytes,7,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` - BlockHeight uint64 `protobuf:"varint,8,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"` - ComputationUsage uint64 `protobuf:"varint,10,opt,name=computation_usage,json=computationUsage,proto3" json:"computation_usage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransactionResultResponse) Reset() { *m = TransactionResultResponse{} } -func (m *TransactionResultResponse) String() string { return proto.CompactTextString(m) } -func (*TransactionResultResponse) ProtoMessage() {} -func (*TransactionResultResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{28} +func (x *TransactionResponse) GetTransaction() *entities.Transaction { + if x != nil { + return x.Transaction + } + return nil } -func (m *TransactionResultResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionResultResponse.Unmarshal(m, b) +func (x *TransactionResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata + } + return nil } -func (m *TransactionResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionResultResponse.Marshal(b, m, deterministic) + +type TransactionResultResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + Status entities.TransactionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=flow.entities.TransactionStatus" json:"status,omitempty"` + StatusCode uint32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` + ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` + Events []*entities.Event `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"` + BlockId []byte `protobuf:"bytes,5,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + TransactionId []byte `protobuf:"bytes,6,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + CollectionId []byte `protobuf:"bytes,7,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` + BlockHeight uint64 `protobuf:"varint,8,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"` + ComputationUsage uint64 `protobuf:"varint,10,opt,name=computation_usage,json=computationUsage,proto3" json:"computation_usage,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *TransactionResultResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionResultResponse.Merge(m, src) + +func (x *TransactionResultResponse) Reset() { + *x = TransactionResultResponse{} + mi := &file_flow_access_access_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *TransactionResultResponse) XXX_Size() int { - return xxx_messageInfo_TransactionResultResponse.Size(m) + +func (x *TransactionResultResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TransactionResultResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionResultResponse.DiscardUnknown(m) + +func (*TransactionResultResponse) ProtoMessage() {} + +func (x *TransactionResultResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TransactionResultResponse proto.InternalMessageInfo +// Deprecated: Use TransactionResultResponse.ProtoReflect.Descriptor instead. +func (*TransactionResultResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{28} +} -func (m *TransactionResultResponse) GetStatus() entities.TransactionStatus { - if m != nil { - return m.Status +func (x *TransactionResultResponse) GetStatus() entities.TransactionStatus { + if x != nil { + return x.Status } - return entities.TransactionStatus_UNKNOWN + return entities.TransactionStatus(0) } -func (m *TransactionResultResponse) GetStatusCode() uint32 { - if m != nil { - return m.StatusCode +func (x *TransactionResultResponse) GetStatusCode() uint32 { + if x != nil { + return x.StatusCode } return 0 } -func (m *TransactionResultResponse) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage +func (x *TransactionResultResponse) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage } return "" } -func (m *TransactionResultResponse) GetEvents() []*entities.Event { - if m != nil { - return m.Events +func (x *TransactionResultResponse) GetEvents() []*entities.Event { + if x != nil { + return x.Events } return nil } -func (m *TransactionResultResponse) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *TransactionResultResponse) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *TransactionResultResponse) GetTransactionId() []byte { - if m != nil { - return m.TransactionId +func (x *TransactionResultResponse) GetTransactionId() []byte { + if x != nil { + return x.TransactionId } return nil } -func (m *TransactionResultResponse) GetCollectionId() []byte { - if m != nil { - return m.CollectionId +func (x *TransactionResultResponse) GetCollectionId() []byte { + if x != nil { + return x.CollectionId } return nil } -func (m *TransactionResultResponse) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *TransactionResultResponse) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *TransactionResultResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *TransactionResultResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *TransactionResultResponse) GetComputationUsage() uint64 { - if m != nil { - return m.ComputationUsage +func (x *TransactionResultResponse) GetComputationUsage() uint64 { + if x != nil { + return x.ComputationUsage } return 0 } type GetAccountRequest struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountRequest) Reset() { *m = GetAccountRequest{} } -func (m *GetAccountRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountRequest) ProtoMessage() {} -func (*GetAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{29} +func (x *GetAccountRequest) Reset() { + *x = GetAccountRequest{} + mi := &file_flow_access_access_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountRequest.Unmarshal(m, b) -} -func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountRequest.Marshal(b, m, deterministic) -} -func (m *GetAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountRequest.Merge(m, src) +func (x *GetAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountRequest.Size(m) -} -func (m *GetAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountRequest.DiscardUnknown(m) + +func (*GetAccountRequest) ProtoMessage() {} + +func (x *GetAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead. +func (*GetAccountRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{29} +} -func (m *GetAccountRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *GetAccountRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetAccountRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetAccountResponse struct { - Account *entities.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Account *entities.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountResponse) Reset() { *m = GetAccountResponse{} } -func (m *GetAccountResponse) String() string { return proto.CompactTextString(m) } -func (*GetAccountResponse) ProtoMessage() {} -func (*GetAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{30} +func (x *GetAccountResponse) Reset() { + *x = GetAccountResponse{} + mi := &file_flow_access_access_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountResponse.Unmarshal(m, b) -} -func (m *GetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountResponse.Marshal(b, m, deterministic) +func (x *GetAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountResponse.Merge(m, src) -} -func (m *GetAccountResponse) XXX_Size() int { - return xxx_messageInfo_GetAccountResponse.Size(m) -} -func (m *GetAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountResponse.DiscardUnknown(m) + +func (*GetAccountResponse) ProtoMessage() {} + +func (x *GetAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[30] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountResponse proto.InternalMessageInfo +// Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead. +func (*GetAccountResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{30} +} -func (m *GetAccountResponse) GetAccount() *entities.Account { - if m != nil { - return m.Account +func (x *GetAccountResponse) GetAccount() *entities.Account { + if x != nil { + return x.Account } return nil } -func (m *GetAccountResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *GetAccountResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type GetAccountAtLatestBlockRequest struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountAtLatestBlockRequest) Reset() { *m = GetAccountAtLatestBlockRequest{} } -func (m *GetAccountAtLatestBlockRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountAtLatestBlockRequest) ProtoMessage() {} -func (*GetAccountAtLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{31} +func (x *GetAccountAtLatestBlockRequest) Reset() { + *x = GetAccountAtLatestBlockRequest{} + mi := &file_flow_access_access_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountAtLatestBlockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountAtLatestBlockRequest.Unmarshal(m, b) -} -func (m *GetAccountAtLatestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountAtLatestBlockRequest.Marshal(b, m, deterministic) -} -func (m *GetAccountAtLatestBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountAtLatestBlockRequest.Merge(m, src) -} -func (m *GetAccountAtLatestBlockRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountAtLatestBlockRequest.Size(m) +func (x *GetAccountAtLatestBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountAtLatestBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountAtLatestBlockRequest.DiscardUnknown(m) + +func (*GetAccountAtLatestBlockRequest) ProtoMessage() {} + +func (x *GetAccountAtLatestBlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountAtLatestBlockRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountAtLatestBlockRequest.ProtoReflect.Descriptor instead. +func (*GetAccountAtLatestBlockRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{31} +} -func (m *GetAccountAtLatestBlockRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountAtLatestBlockRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *GetAccountAtLatestBlockRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetAccountAtLatestBlockRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type AccountResponse struct { - Account *entities.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Account *entities.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *AccountResponse) Reset() { *m = AccountResponse{} } -func (m *AccountResponse) String() string { return proto.CompactTextString(m) } -func (*AccountResponse) ProtoMessage() {} -func (*AccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{32} +func (x *AccountResponse) Reset() { + *x = AccountResponse{} + mi := &file_flow_access_access_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *AccountResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccountResponse.Unmarshal(m, b) -} -func (m *AccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccountResponse.Marshal(b, m, deterministic) -} -func (m *AccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountResponse.Merge(m, src) +func (x *AccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountResponse) XXX_Size() int { - return xxx_messageInfo_AccountResponse.Size(m) -} -func (m *AccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AccountResponse.DiscardUnknown(m) + +func (*AccountResponse) ProtoMessage() {} + +func (x *AccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[32] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountResponse proto.InternalMessageInfo +// Deprecated: Use AccountResponse.ProtoReflect.Descriptor instead. +func (*AccountResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{32} +} -func (m *AccountResponse) GetAccount() *entities.Account { - if m != nil { - return m.Account +func (x *AccountResponse) GetAccount() *entities.Account { + if x != nil { + return x.Account } return nil } -func (m *AccountResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *AccountResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type GetAccountAtBlockHeightRequest struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountAtBlockHeightRequest) Reset() { *m = GetAccountAtBlockHeightRequest{} } -func (m *GetAccountAtBlockHeightRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountAtBlockHeightRequest) ProtoMessage() {} -func (*GetAccountAtBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{33} +func (x *GetAccountAtBlockHeightRequest) Reset() { + *x = GetAccountAtBlockHeightRequest{} + mi := &file_flow_access_access_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountAtBlockHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountAtBlockHeightRequest.Unmarshal(m, b) -} -func (m *GetAccountAtBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountAtBlockHeightRequest.Marshal(b, m, deterministic) -} -func (m *GetAccountAtBlockHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountAtBlockHeightRequest.Merge(m, src) -} -func (m *GetAccountAtBlockHeightRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountAtBlockHeightRequest.Size(m) +func (x *GetAccountAtBlockHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountAtBlockHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountAtBlockHeightRequest.DiscardUnknown(m) + +func (*GetAccountAtBlockHeightRequest) ProtoMessage() {} + +func (x *GetAccountAtBlockHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[33] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountAtBlockHeightRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountAtBlockHeightRequest.ProtoReflect.Descriptor instead. +func (*GetAccountAtBlockHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{33} +} -func (m *GetAccountAtBlockHeightRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountAtBlockHeightRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *GetAccountAtBlockHeightRequest) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *GetAccountAtBlockHeightRequest) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *GetAccountAtBlockHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetAccountAtBlockHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetAccountBalanceAtLatestBlockRequest struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountBalanceAtLatestBlockRequest) Reset() { *m = GetAccountBalanceAtLatestBlockRequest{} } -func (m *GetAccountBalanceAtLatestBlockRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountBalanceAtLatestBlockRequest) ProtoMessage() {} -func (*GetAccountBalanceAtLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{34} +func (x *GetAccountBalanceAtLatestBlockRequest) Reset() { + *x = GetAccountBalanceAtLatestBlockRequest{} + mi := &file_flow_access_access_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountBalanceAtLatestBlockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountBalanceAtLatestBlockRequest.Unmarshal(m, b) -} -func (m *GetAccountBalanceAtLatestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountBalanceAtLatestBlockRequest.Marshal(b, m, deterministic) +func (x *GetAccountBalanceAtLatestBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountBalanceAtLatestBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountBalanceAtLatestBlockRequest.Merge(m, src) -} -func (m *GetAccountBalanceAtLatestBlockRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountBalanceAtLatestBlockRequest.Size(m) -} -func (m *GetAccountBalanceAtLatestBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountBalanceAtLatestBlockRequest.DiscardUnknown(m) + +func (*GetAccountBalanceAtLatestBlockRequest) ProtoMessage() {} + +func (x *GetAccountBalanceAtLatestBlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[34] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountBalanceAtLatestBlockRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountBalanceAtLatestBlockRequest.ProtoReflect.Descriptor instead. +func (*GetAccountBalanceAtLatestBlockRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{34} +} -func (m *GetAccountBalanceAtLatestBlockRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountBalanceAtLatestBlockRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *GetAccountBalanceAtLatestBlockRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetAccountBalanceAtLatestBlockRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetAccountBalanceAtBlockHeightRequest struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountBalanceAtBlockHeightRequest) Reset() { *m = GetAccountBalanceAtBlockHeightRequest{} } -func (m *GetAccountBalanceAtBlockHeightRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountBalanceAtBlockHeightRequest) ProtoMessage() {} -func (*GetAccountBalanceAtBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{35} +func (x *GetAccountBalanceAtBlockHeightRequest) Reset() { + *x = GetAccountBalanceAtBlockHeightRequest{} + mi := &file_flow_access_access_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountBalanceAtBlockHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountBalanceAtBlockHeightRequest.Unmarshal(m, b) -} -func (m *GetAccountBalanceAtBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountBalanceAtBlockHeightRequest.Marshal(b, m, deterministic) -} -func (m *GetAccountBalanceAtBlockHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountBalanceAtBlockHeightRequest.Merge(m, src) +func (x *GetAccountBalanceAtBlockHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountBalanceAtBlockHeightRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountBalanceAtBlockHeightRequest.Size(m) -} -func (m *GetAccountBalanceAtBlockHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountBalanceAtBlockHeightRequest.DiscardUnknown(m) + +func (*GetAccountBalanceAtBlockHeightRequest) ProtoMessage() {} + +func (x *GetAccountBalanceAtBlockHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[35] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountBalanceAtBlockHeightRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountBalanceAtBlockHeightRequest.ProtoReflect.Descriptor instead. +func (*GetAccountBalanceAtBlockHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{35} +} -func (m *GetAccountBalanceAtBlockHeightRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountBalanceAtBlockHeightRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *GetAccountBalanceAtBlockHeightRequest) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *GetAccountBalanceAtBlockHeightRequest) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *GetAccountBalanceAtBlockHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetAccountBalanceAtBlockHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type AccountBalanceResponse struct { - Balance uint64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Balance uint64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *AccountBalanceResponse) Reset() { *m = AccountBalanceResponse{} } -func (m *AccountBalanceResponse) String() string { return proto.CompactTextString(m) } -func (*AccountBalanceResponse) ProtoMessage() {} -func (*AccountBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{36} +func (x *AccountBalanceResponse) Reset() { + *x = AccountBalanceResponse{} + mi := &file_flow_access_access_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *AccountBalanceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccountBalanceResponse.Unmarshal(m, b) -} -func (m *AccountBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccountBalanceResponse.Marshal(b, m, deterministic) +func (x *AccountBalanceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountBalanceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBalanceResponse.Merge(m, src) -} -func (m *AccountBalanceResponse) XXX_Size() int { - return xxx_messageInfo_AccountBalanceResponse.Size(m) -} -func (m *AccountBalanceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AccountBalanceResponse.DiscardUnknown(m) + +func (*AccountBalanceResponse) ProtoMessage() {} + +func (x *AccountBalanceResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[36] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountBalanceResponse proto.InternalMessageInfo +// Deprecated: Use AccountBalanceResponse.ProtoReflect.Descriptor instead. +func (*AccountBalanceResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{36} +} -func (m *AccountBalanceResponse) GetBalance() uint64 { - if m != nil { - return m.Balance +func (x *AccountBalanceResponse) GetBalance() uint64 { + if x != nil { + return x.Balance } return 0 } -func (m *AccountBalanceResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *AccountBalanceResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type GetAccountKeysAtLatestBlockRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // address of account - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountKeysAtLatestBlockRequest) Reset() { *m = GetAccountKeysAtLatestBlockRequest{} } -func (m *GetAccountKeysAtLatestBlockRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountKeysAtLatestBlockRequest) ProtoMessage() {} -func (*GetAccountKeysAtLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{37} +func (x *GetAccountKeysAtLatestBlockRequest) Reset() { + *x = GetAccountKeysAtLatestBlockRequest{} + mi := &file_flow_access_access_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountKeysAtLatestBlockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountKeysAtLatestBlockRequest.Unmarshal(m, b) -} -func (m *GetAccountKeysAtLatestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountKeysAtLatestBlockRequest.Marshal(b, m, deterministic) -} -func (m *GetAccountKeysAtLatestBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountKeysAtLatestBlockRequest.Merge(m, src) -} -func (m *GetAccountKeysAtLatestBlockRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountKeysAtLatestBlockRequest.Size(m) +func (x *GetAccountKeysAtLatestBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountKeysAtLatestBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountKeysAtLatestBlockRequest.DiscardUnknown(m) + +func (*GetAccountKeysAtLatestBlockRequest) ProtoMessage() {} + +func (x *GetAccountKeysAtLatestBlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[37] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountKeysAtLatestBlockRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountKeysAtLatestBlockRequest.ProtoReflect.Descriptor instead. +func (*GetAccountKeysAtLatestBlockRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{37} +} -func (m *GetAccountKeysAtLatestBlockRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountKeysAtLatestBlockRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *GetAccountKeysAtLatestBlockRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetAccountKeysAtLatestBlockRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetAccountKeyAtLatestBlockRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // address of account Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // index of key to return - Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountKeyAtLatestBlockRequest) Reset() { *m = GetAccountKeyAtLatestBlockRequest{} } -func (m *GetAccountKeyAtLatestBlockRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountKeyAtLatestBlockRequest) ProtoMessage() {} -func (*GetAccountKeyAtLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{38} +func (x *GetAccountKeyAtLatestBlockRequest) Reset() { + *x = GetAccountKeyAtLatestBlockRequest{} + mi := &file_flow_access_access_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountKeyAtLatestBlockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountKeyAtLatestBlockRequest.Unmarshal(m, b) -} -func (m *GetAccountKeyAtLatestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountKeyAtLatestBlockRequest.Marshal(b, m, deterministic) -} -func (m *GetAccountKeyAtLatestBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountKeyAtLatestBlockRequest.Merge(m, src) +func (x *GetAccountKeyAtLatestBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountKeyAtLatestBlockRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountKeyAtLatestBlockRequest.Size(m) -} -func (m *GetAccountKeyAtLatestBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountKeyAtLatestBlockRequest.DiscardUnknown(m) + +func (*GetAccountKeyAtLatestBlockRequest) ProtoMessage() {} + +func (x *GetAccountKeyAtLatestBlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[38] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountKeyAtLatestBlockRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountKeyAtLatestBlockRequest.ProtoReflect.Descriptor instead. +func (*GetAccountKeyAtLatestBlockRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{38} +} -func (m *GetAccountKeyAtLatestBlockRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountKeyAtLatestBlockRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *GetAccountKeyAtLatestBlockRequest) GetIndex() uint32 { - if m != nil { - return m.Index +func (x *GetAccountKeyAtLatestBlockRequest) GetIndex() uint32 { + if x != nil { + return x.Index } return 0 } -func (m *GetAccountKeyAtLatestBlockRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetAccountKeyAtLatestBlockRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetAccountKeysAtBlockHeightRequest struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountKeysAtBlockHeightRequest) Reset() { *m = GetAccountKeysAtBlockHeightRequest{} } -func (m *GetAccountKeysAtBlockHeightRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountKeysAtBlockHeightRequest) ProtoMessage() {} -func (*GetAccountKeysAtBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{39} +func (x *GetAccountKeysAtBlockHeightRequest) Reset() { + *x = GetAccountKeysAtBlockHeightRequest{} + mi := &file_flow_access_access_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountKeysAtBlockHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountKeysAtBlockHeightRequest.Unmarshal(m, b) -} -func (m *GetAccountKeysAtBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountKeysAtBlockHeightRequest.Marshal(b, m, deterministic) -} -func (m *GetAccountKeysAtBlockHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountKeysAtBlockHeightRequest.Merge(m, src) -} -func (m *GetAccountKeysAtBlockHeightRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountKeysAtBlockHeightRequest.Size(m) +func (x *GetAccountKeysAtBlockHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountKeysAtBlockHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountKeysAtBlockHeightRequest.DiscardUnknown(m) + +func (*GetAccountKeysAtBlockHeightRequest) ProtoMessage() {} + +func (x *GetAccountKeysAtBlockHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[39] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountKeysAtBlockHeightRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountKeysAtBlockHeightRequest.ProtoReflect.Descriptor instead. +func (*GetAccountKeysAtBlockHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{39} +} -func (m *GetAccountKeysAtBlockHeightRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountKeysAtBlockHeightRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *GetAccountKeysAtBlockHeightRequest) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *GetAccountKeysAtBlockHeightRequest) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *GetAccountKeysAtBlockHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetAccountKeysAtBlockHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetAccountKeyAtBlockHeightRequest struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // index of key to return - Index uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Index uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountKeyAtBlockHeightRequest) Reset() { *m = GetAccountKeyAtBlockHeightRequest{} } -func (m *GetAccountKeyAtBlockHeightRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountKeyAtBlockHeightRequest) ProtoMessage() {} -func (*GetAccountKeyAtBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{40} +func (x *GetAccountKeyAtBlockHeightRequest) Reset() { + *x = GetAccountKeyAtBlockHeightRequest{} + mi := &file_flow_access_access_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountKeyAtBlockHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountKeyAtBlockHeightRequest.Unmarshal(m, b) -} -func (m *GetAccountKeyAtBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountKeyAtBlockHeightRequest.Marshal(b, m, deterministic) -} -func (m *GetAccountKeyAtBlockHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountKeyAtBlockHeightRequest.Merge(m, src) -} -func (m *GetAccountKeyAtBlockHeightRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountKeyAtBlockHeightRequest.Size(m) +func (x *GetAccountKeyAtBlockHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountKeyAtBlockHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountKeyAtBlockHeightRequest.DiscardUnknown(m) + +func (*GetAccountKeyAtBlockHeightRequest) ProtoMessage() {} + +func (x *GetAccountKeyAtBlockHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[40] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountKeyAtBlockHeightRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountKeyAtBlockHeightRequest.ProtoReflect.Descriptor instead. +func (*GetAccountKeyAtBlockHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{40} +} -func (m *GetAccountKeyAtBlockHeightRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountKeyAtBlockHeightRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *GetAccountKeyAtBlockHeightRequest) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *GetAccountKeyAtBlockHeightRequest) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *GetAccountKeyAtBlockHeightRequest) GetIndex() uint32 { - if m != nil { - return m.Index +func (x *GetAccountKeyAtBlockHeightRequest) GetIndex() uint32 { + if x != nil { + return x.Index } return 0 } -func (m *GetAccountKeyAtBlockHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetAccountKeyAtBlockHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type AccountKeysResponse struct { - AccountKeys []*entities.AccountKey `protobuf:"bytes,1,rep,name=account_keys,json=accountKeys,proto3" json:"account_keys,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + AccountKeys []*entities.AccountKey `protobuf:"bytes,1,rep,name=account_keys,json=accountKeys,proto3" json:"account_keys,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *AccountKeysResponse) Reset() { *m = AccountKeysResponse{} } -func (m *AccountKeysResponse) String() string { return proto.CompactTextString(m) } -func (*AccountKeysResponse) ProtoMessage() {} -func (*AccountKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{41} +func (x *AccountKeysResponse) Reset() { + *x = AccountKeysResponse{} + mi := &file_flow_access_access_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *AccountKeysResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccountKeysResponse.Unmarshal(m, b) -} -func (m *AccountKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccountKeysResponse.Marshal(b, m, deterministic) -} -func (m *AccountKeysResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountKeysResponse.Merge(m, src) +func (x *AccountKeysResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountKeysResponse) XXX_Size() int { - return xxx_messageInfo_AccountKeysResponse.Size(m) -} -func (m *AccountKeysResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AccountKeysResponse.DiscardUnknown(m) + +func (*AccountKeysResponse) ProtoMessage() {} + +func (x *AccountKeysResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[41] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountKeysResponse proto.InternalMessageInfo +// Deprecated: Use AccountKeysResponse.ProtoReflect.Descriptor instead. +func (*AccountKeysResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{41} +} -func (m *AccountKeysResponse) GetAccountKeys() []*entities.AccountKey { - if m != nil { - return m.AccountKeys +func (x *AccountKeysResponse) GetAccountKeys() []*entities.AccountKey { + if x != nil { + return x.AccountKeys } return nil } -func (m *AccountKeysResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *AccountKeysResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type AccountKeyResponse struct { - AccountKey *entities.AccountKey `protobuf:"bytes,1,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + AccountKey *entities.AccountKey `protobuf:"bytes,1,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *AccountKeyResponse) Reset() { *m = AccountKeyResponse{} } -func (m *AccountKeyResponse) String() string { return proto.CompactTextString(m) } -func (*AccountKeyResponse) ProtoMessage() {} -func (*AccountKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{42} +func (x *AccountKeyResponse) Reset() { + *x = AccountKeyResponse{} + mi := &file_flow_access_access_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *AccountKeyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccountKeyResponse.Unmarshal(m, b) -} -func (m *AccountKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccountKeyResponse.Marshal(b, m, deterministic) +func (x *AccountKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountKeyResponse.Merge(m, src) -} -func (m *AccountKeyResponse) XXX_Size() int { - return xxx_messageInfo_AccountKeyResponse.Size(m) -} -func (m *AccountKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AccountKeyResponse.DiscardUnknown(m) + +func (*AccountKeyResponse) ProtoMessage() {} + +func (x *AccountKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[42] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountKeyResponse proto.InternalMessageInfo +// Deprecated: Use AccountKeyResponse.ProtoReflect.Descriptor instead. +func (*AccountKeyResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{42} +} -func (m *AccountKeyResponse) GetAccountKey() *entities.AccountKey { - if m != nil { - return m.AccountKey +func (x *AccountKeyResponse) GetAccountKey() *entities.AccountKey { + if x != nil { + return x.AccountKey } return nil } -func (m *AccountKeyResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *AccountKeyResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type ExecuteScriptAtLatestBlockRequest struct { - Script []byte `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` - Arguments [][]byte `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Script []byte `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` + Arguments [][]byte `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecuteScriptAtLatestBlockRequest) Reset() { *m = ExecuteScriptAtLatestBlockRequest{} } -func (m *ExecuteScriptAtLatestBlockRequest) String() string { return proto.CompactTextString(m) } -func (*ExecuteScriptAtLatestBlockRequest) ProtoMessage() {} -func (*ExecuteScriptAtLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{43} +func (x *ExecuteScriptAtLatestBlockRequest) Reset() { + *x = ExecuteScriptAtLatestBlockRequest{} + mi := &file_flow_access_access_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecuteScriptAtLatestBlockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteScriptAtLatestBlockRequest.Unmarshal(m, b) -} -func (m *ExecuteScriptAtLatestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteScriptAtLatestBlockRequest.Marshal(b, m, deterministic) +func (x *ExecuteScriptAtLatestBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecuteScriptAtLatestBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteScriptAtLatestBlockRequest.Merge(m, src) -} -func (m *ExecuteScriptAtLatestBlockRequest) XXX_Size() int { - return xxx_messageInfo_ExecuteScriptAtLatestBlockRequest.Size(m) -} -func (m *ExecuteScriptAtLatestBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteScriptAtLatestBlockRequest.DiscardUnknown(m) + +func (*ExecuteScriptAtLatestBlockRequest) ProtoMessage() {} + +func (x *ExecuteScriptAtLatestBlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[43] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecuteScriptAtLatestBlockRequest proto.InternalMessageInfo +// Deprecated: Use ExecuteScriptAtLatestBlockRequest.ProtoReflect.Descriptor instead. +func (*ExecuteScriptAtLatestBlockRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{43} +} -func (m *ExecuteScriptAtLatestBlockRequest) GetScript() []byte { - if m != nil { - return m.Script +func (x *ExecuteScriptAtLatestBlockRequest) GetScript() []byte { + if x != nil { + return x.Script } return nil } -func (m *ExecuteScriptAtLatestBlockRequest) GetArguments() [][]byte { - if m != nil { - return m.Arguments +func (x *ExecuteScriptAtLatestBlockRequest) GetArguments() [][]byte { + if x != nil { + return x.Arguments } return nil } -func (m *ExecuteScriptAtLatestBlockRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *ExecuteScriptAtLatestBlockRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type ExecuteScriptAtBlockIDRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` - Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` + Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecuteScriptAtBlockIDRequest) Reset() { *m = ExecuteScriptAtBlockIDRequest{} } -func (m *ExecuteScriptAtBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*ExecuteScriptAtBlockIDRequest) ProtoMessage() {} -func (*ExecuteScriptAtBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{44} +func (x *ExecuteScriptAtBlockIDRequest) Reset() { + *x = ExecuteScriptAtBlockIDRequest{} + mi := &file_flow_access_access_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecuteScriptAtBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Unmarshal(m, b) -} -func (m *ExecuteScriptAtBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Marshal(b, m, deterministic) -} -func (m *ExecuteScriptAtBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Merge(m, src) +func (x *ExecuteScriptAtBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecuteScriptAtBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Size(m) -} -func (m *ExecuteScriptAtBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteScriptAtBlockIDRequest.DiscardUnknown(m) + +func (*ExecuteScriptAtBlockIDRequest) ProtoMessage() {} + +func (x *ExecuteScriptAtBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[44] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecuteScriptAtBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use ExecuteScriptAtBlockIDRequest.ProtoReflect.Descriptor instead. +func (*ExecuteScriptAtBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{44} +} -func (m *ExecuteScriptAtBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *ExecuteScriptAtBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *ExecuteScriptAtBlockIDRequest) GetScript() []byte { - if m != nil { - return m.Script +func (x *ExecuteScriptAtBlockIDRequest) GetScript() []byte { + if x != nil { + return x.Script } return nil } -func (m *ExecuteScriptAtBlockIDRequest) GetArguments() [][]byte { - if m != nil { - return m.Arguments +func (x *ExecuteScriptAtBlockIDRequest) GetArguments() [][]byte { + if x != nil { + return x.Arguments } return nil } -func (m *ExecuteScriptAtBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *ExecuteScriptAtBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type ExecuteScriptAtBlockHeightRequest struct { - BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` - Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` + Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecuteScriptAtBlockHeightRequest) Reset() { *m = ExecuteScriptAtBlockHeightRequest{} } -func (m *ExecuteScriptAtBlockHeightRequest) String() string { return proto.CompactTextString(m) } -func (*ExecuteScriptAtBlockHeightRequest) ProtoMessage() {} -func (*ExecuteScriptAtBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{45} +func (x *ExecuteScriptAtBlockHeightRequest) Reset() { + *x = ExecuteScriptAtBlockHeightRequest{} + mi := &file_flow_access_access_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecuteScriptAtBlockHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteScriptAtBlockHeightRequest.Unmarshal(m, b) +func (x *ExecuteScriptAtBlockHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecuteScriptAtBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteScriptAtBlockHeightRequest.Marshal(b, m, deterministic) -} -func (m *ExecuteScriptAtBlockHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteScriptAtBlockHeightRequest.Merge(m, src) -} -func (m *ExecuteScriptAtBlockHeightRequest) XXX_Size() int { - return xxx_messageInfo_ExecuteScriptAtBlockHeightRequest.Size(m) -} -func (m *ExecuteScriptAtBlockHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteScriptAtBlockHeightRequest.DiscardUnknown(m) + +func (*ExecuteScriptAtBlockHeightRequest) ProtoMessage() {} + +func (x *ExecuteScriptAtBlockHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[45] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecuteScriptAtBlockHeightRequest proto.InternalMessageInfo +// Deprecated: Use ExecuteScriptAtBlockHeightRequest.ProtoReflect.Descriptor instead. +func (*ExecuteScriptAtBlockHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{45} +} -func (m *ExecuteScriptAtBlockHeightRequest) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *ExecuteScriptAtBlockHeightRequest) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *ExecuteScriptAtBlockHeightRequest) GetScript() []byte { - if m != nil { - return m.Script +func (x *ExecuteScriptAtBlockHeightRequest) GetScript() []byte { + if x != nil { + return x.Script } return nil } -func (m *ExecuteScriptAtBlockHeightRequest) GetArguments() [][]byte { - if m != nil { - return m.Arguments +func (x *ExecuteScriptAtBlockHeightRequest) GetArguments() [][]byte { + if x != nil { + return x.Arguments } return nil } -func (m *ExecuteScriptAtBlockHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *ExecuteScriptAtBlockHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type ExecuteScriptResponse struct { - Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - ComputationUsage uint64 `protobuf:"varint,3,opt,name=computation_usage,json=computationUsage,proto3" json:"computation_usage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + ComputationUsage uint64 `protobuf:"varint,3,opt,name=computation_usage,json=computationUsage,proto3" json:"computation_usage,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecuteScriptResponse) Reset() { *m = ExecuteScriptResponse{} } -func (m *ExecuteScriptResponse) String() string { return proto.CompactTextString(m) } -func (*ExecuteScriptResponse) ProtoMessage() {} -func (*ExecuteScriptResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{46} +func (x *ExecuteScriptResponse) Reset() { + *x = ExecuteScriptResponse{} + mi := &file_flow_access_access_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecuteScriptResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteScriptResponse.Unmarshal(m, b) -} -func (m *ExecuteScriptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteScriptResponse.Marshal(b, m, deterministic) -} -func (m *ExecuteScriptResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteScriptResponse.Merge(m, src) +func (x *ExecuteScriptResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecuteScriptResponse) XXX_Size() int { - return xxx_messageInfo_ExecuteScriptResponse.Size(m) -} -func (m *ExecuteScriptResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteScriptResponse.DiscardUnknown(m) + +func (*ExecuteScriptResponse) ProtoMessage() {} + +func (x *ExecuteScriptResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[46] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecuteScriptResponse proto.InternalMessageInfo +// Deprecated: Use ExecuteScriptResponse.ProtoReflect.Descriptor instead. +func (*ExecuteScriptResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{46} +} -func (m *ExecuteScriptResponse) GetValue() []byte { - if m != nil { - return m.Value +func (x *ExecuteScriptResponse) GetValue() []byte { + if x != nil { + return x.Value } return nil } -func (m *ExecuteScriptResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *ExecuteScriptResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *ExecuteScriptResponse) GetComputationUsage() uint64 { - if m != nil { - return m.ComputationUsage +func (x *ExecuteScriptResponse) GetComputationUsage() uint64 { + if x != nil { + return x.ComputationUsage } return 0 } type GetEventsForHeightRangeRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` StartHeight uint64 `protobuf:"varint,2,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` EndHeight uint64 `protobuf:"varint,3,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,4,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,5,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetEventsForHeightRangeRequest) Reset() { *m = GetEventsForHeightRangeRequest{} } -func (m *GetEventsForHeightRangeRequest) String() string { return proto.CompactTextString(m) } -func (*GetEventsForHeightRangeRequest) ProtoMessage() {} -func (*GetEventsForHeightRangeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{47} +func (x *GetEventsForHeightRangeRequest) Reset() { + *x = GetEventsForHeightRangeRequest{} + mi := &file_flow_access_access_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetEventsForHeightRangeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEventsForHeightRangeRequest.Unmarshal(m, b) -} -func (m *GetEventsForHeightRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEventsForHeightRangeRequest.Marshal(b, m, deterministic) +func (x *GetEventsForHeightRangeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEventsForHeightRangeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEventsForHeightRangeRequest.Merge(m, src) -} -func (m *GetEventsForHeightRangeRequest) XXX_Size() int { - return xxx_messageInfo_GetEventsForHeightRangeRequest.Size(m) -} -func (m *GetEventsForHeightRangeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEventsForHeightRangeRequest.DiscardUnknown(m) + +func (*GetEventsForHeightRangeRequest) ProtoMessage() {} + +func (x *GetEventsForHeightRangeRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[47] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetEventsForHeightRangeRequest proto.InternalMessageInfo +// Deprecated: Use GetEventsForHeightRangeRequest.ProtoReflect.Descriptor instead. +func (*GetEventsForHeightRangeRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{47} +} -func (m *GetEventsForHeightRangeRequest) GetType() string { - if m != nil { - return m.Type +func (x *GetEventsForHeightRangeRequest) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *GetEventsForHeightRangeRequest) GetStartHeight() uint64 { - if m != nil { - return m.StartHeight +func (x *GetEventsForHeightRangeRequest) GetStartHeight() uint64 { + if x != nil { + return x.StartHeight } return 0 } -func (m *GetEventsForHeightRangeRequest) GetEndHeight() uint64 { - if m != nil { - return m.EndHeight +func (x *GetEventsForHeightRangeRequest) GetEndHeight() uint64 { + if x != nil { + return x.EndHeight } return 0 } -func (m *GetEventsForHeightRangeRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *GetEventsForHeightRangeRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *GetEventsForHeightRangeRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetEventsForHeightRangeRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type GetEventsForBlockIDsRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` BlockIds [][]byte `protobuf:"bytes,2,rep,name=block_ids,json=blockIds,proto3" json:"block_ids,omitempty"` EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,3,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetEventsForBlockIDsRequest) Reset() { *m = GetEventsForBlockIDsRequest{} } -func (m *GetEventsForBlockIDsRequest) String() string { return proto.CompactTextString(m) } -func (*GetEventsForBlockIDsRequest) ProtoMessage() {} -func (*GetEventsForBlockIDsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{48} +func (x *GetEventsForBlockIDsRequest) Reset() { + *x = GetEventsForBlockIDsRequest{} + mi := &file_flow_access_access_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetEventsForBlockIDsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEventsForBlockIDsRequest.Unmarshal(m, b) +func (x *GetEventsForBlockIDsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEventsForBlockIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEventsForBlockIDsRequest.Marshal(b, m, deterministic) -} -func (m *GetEventsForBlockIDsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEventsForBlockIDsRequest.Merge(m, src) -} -func (m *GetEventsForBlockIDsRequest) XXX_Size() int { - return xxx_messageInfo_GetEventsForBlockIDsRequest.Size(m) -} -func (m *GetEventsForBlockIDsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEventsForBlockIDsRequest.DiscardUnknown(m) + +func (*GetEventsForBlockIDsRequest) ProtoMessage() {} + +func (x *GetEventsForBlockIDsRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[48] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetEventsForBlockIDsRequest proto.InternalMessageInfo +// Deprecated: Use GetEventsForBlockIDsRequest.ProtoReflect.Descriptor instead. +func (*GetEventsForBlockIDsRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{48} +} -func (m *GetEventsForBlockIDsRequest) GetType() string { - if m != nil { - return m.Type +func (x *GetEventsForBlockIDsRequest) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *GetEventsForBlockIDsRequest) GetBlockIds() [][]byte { - if m != nil { - return m.BlockIds +func (x *GetEventsForBlockIDsRequest) GetBlockIds() [][]byte { + if x != nil { + return x.BlockIds } return nil } -func (m *GetEventsForBlockIDsRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *GetEventsForBlockIDsRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *GetEventsForBlockIDsRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetEventsForBlockIDsRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type EventsResponse struct { - Results []*EventsResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Results []*EventsResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *EventsResponse) Reset() { *m = EventsResponse{} } -func (m *EventsResponse) String() string { return proto.CompactTextString(m) } -func (*EventsResponse) ProtoMessage() {} -func (*EventsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{49} +func (x *EventsResponse) Reset() { + *x = EventsResponse{} + mi := &file_flow_access_access_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *EventsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventsResponse.Unmarshal(m, b) -} -func (m *EventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventsResponse.Marshal(b, m, deterministic) -} -func (m *EventsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventsResponse.Merge(m, src) +func (x *EventsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventsResponse) XXX_Size() int { - return xxx_messageInfo_EventsResponse.Size(m) -} -func (m *EventsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_EventsResponse.DiscardUnknown(m) + +func (*EventsResponse) ProtoMessage() {} + +func (x *EventsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[49] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_EventsResponse proto.InternalMessageInfo +// Deprecated: Use EventsResponse.ProtoReflect.Descriptor instead. +func (*EventsResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{49} +} -func (m *EventsResponse) GetResults() []*EventsResponse_Result { - if m != nil { - return m.Results +func (x *EventsResponse) GetResults() []*EventsResponse_Result { + if x != nil { + return x.Results } return nil } -func (m *EventsResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *EventsResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } -type EventsResponse_Result struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - Events []*entities.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` - BlockTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EventsResponse_Result) Reset() { *m = EventsResponse_Result{} } -func (m *EventsResponse_Result) String() string { return proto.CompactTextString(m) } -func (*EventsResponse_Result) ProtoMessage() {} -func (*EventsResponse_Result) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{49, 0} +type GetNetworkParametersRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *EventsResponse_Result) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventsResponse_Result.Unmarshal(m, b) -} -func (m *EventsResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventsResponse_Result.Marshal(b, m, deterministic) -} -func (m *EventsResponse_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventsResponse_Result.Merge(m, src) -} -func (m *EventsResponse_Result) XXX_Size() int { - return xxx_messageInfo_EventsResponse_Result.Size(m) +func (x *GetNetworkParametersRequest) Reset() { + *x = GetNetworkParametersRequest{} + mi := &file_flow_access_access_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *EventsResponse_Result) XXX_DiscardUnknown() { - xxx_messageInfo_EventsResponse_Result.DiscardUnknown(m) -} - -var xxx_messageInfo_EventsResponse_Result proto.InternalMessageInfo -func (m *EventsResponse_Result) GetBlockId() []byte { - if m != nil { - return m.BlockId - } - return nil +func (x *GetNetworkParametersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventsResponse_Result) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight - } - return 0 -} +func (*GetNetworkParametersRequest) ProtoMessage() {} -func (m *EventsResponse_Result) GetEvents() []*entities.Event { - if m != nil { - return m.Events +func (x *GetNetworkParametersRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[50] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *EventsResponse_Result) GetBlockTimestamp() *timestamppb.Timestamp { - if m != nil { - return m.BlockTimestamp - } - return nil +// Deprecated: Use GetNetworkParametersRequest.ProtoReflect.Descriptor instead. +func (*GetNetworkParametersRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{50} } -type GetNetworkParametersRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetNetworkParametersResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetNetworkParametersRequest) Reset() { *m = GetNetworkParametersRequest{} } -func (m *GetNetworkParametersRequest) String() string { return proto.CompactTextString(m) } -func (*GetNetworkParametersRequest) ProtoMessage() {} -func (*GetNetworkParametersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{50} +func (x *GetNetworkParametersResponse) Reset() { + *x = GetNetworkParametersResponse{} + mi := &file_flow_access_access_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetNetworkParametersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetNetworkParametersRequest.Unmarshal(m, b) -} -func (m *GetNetworkParametersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetNetworkParametersRequest.Marshal(b, m, deterministic) -} -func (m *GetNetworkParametersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNetworkParametersRequest.Merge(m, src) -} -func (m *GetNetworkParametersRequest) XXX_Size() int { - return xxx_messageInfo_GetNetworkParametersRequest.Size(m) -} -func (m *GetNetworkParametersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNetworkParametersRequest.DiscardUnknown(m) +func (x *GetNetworkParametersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetNetworkParametersRequest proto.InternalMessageInfo +func (*GetNetworkParametersResponse) ProtoMessage() {} -type GetNetworkParametersResponse struct { - ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *GetNetworkParametersResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[51] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *GetNetworkParametersResponse) Reset() { *m = GetNetworkParametersResponse{} } -func (m *GetNetworkParametersResponse) String() string { return proto.CompactTextString(m) } -func (*GetNetworkParametersResponse) ProtoMessage() {} +// Deprecated: Use GetNetworkParametersResponse.ProtoReflect.Descriptor instead. func (*GetNetworkParametersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{51} -} - -func (m *GetNetworkParametersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetNetworkParametersResponse.Unmarshal(m, b) -} -func (m *GetNetworkParametersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetNetworkParametersResponse.Marshal(b, m, deterministic) -} -func (m *GetNetworkParametersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNetworkParametersResponse.Merge(m, src) -} -func (m *GetNetworkParametersResponse) XXX_Size() int { - return xxx_messageInfo_GetNetworkParametersResponse.Size(m) -} -func (m *GetNetworkParametersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNetworkParametersResponse.DiscardUnknown(m) + return file_flow_access_access_proto_rawDescGZIP(), []int{51} } -var xxx_messageInfo_GetNetworkParametersResponse proto.InternalMessageInfo - -func (m *GetNetworkParametersResponse) GetChainId() string { - if m != nil { - return m.ChainId +func (x *GetNetworkParametersResponse) GetChainId() string { + if x != nil { + return x.ChainId } return "" } type GetLatestProtocolStateSnapshotRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetLatestProtocolStateSnapshotRequest) Reset() { *m = GetLatestProtocolStateSnapshotRequest{} } -func (m *GetLatestProtocolStateSnapshotRequest) String() string { return proto.CompactTextString(m) } -func (*GetLatestProtocolStateSnapshotRequest) ProtoMessage() {} -func (*GetLatestProtocolStateSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{52} +func (x *GetLatestProtocolStateSnapshotRequest) Reset() { + *x = GetLatestProtocolStateSnapshotRequest{} + mi := &file_flow_access_access_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetLatestProtocolStateSnapshotRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLatestProtocolStateSnapshotRequest.Unmarshal(m, b) -} -func (m *GetLatestProtocolStateSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLatestProtocolStateSnapshotRequest.Marshal(b, m, deterministic) -} -func (m *GetLatestProtocolStateSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLatestProtocolStateSnapshotRequest.Merge(m, src) -} -func (m *GetLatestProtocolStateSnapshotRequest) XXX_Size() int { - return xxx_messageInfo_GetLatestProtocolStateSnapshotRequest.Size(m) -} -func (m *GetLatestProtocolStateSnapshotRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLatestProtocolStateSnapshotRequest.DiscardUnknown(m) +func (x *GetLatestProtocolStateSnapshotRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetLatestProtocolStateSnapshotRequest proto.InternalMessageInfo +func (*GetLatestProtocolStateSnapshotRequest) ProtoMessage() {} -type GetProtocolStateSnapshotByBlockIDRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *GetLatestProtocolStateSnapshotRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[52] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *GetProtocolStateSnapshotByBlockIDRequest) Reset() { - *m = GetProtocolStateSnapshotByBlockIDRequest{} -} -func (m *GetProtocolStateSnapshotByBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetProtocolStateSnapshotByBlockIDRequest) ProtoMessage() {} -func (*GetProtocolStateSnapshotByBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{53} +// Deprecated: Use GetLatestProtocolStateSnapshotRequest.ProtoReflect.Descriptor instead. +func (*GetLatestProtocolStateSnapshotRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{52} } -func (m *GetProtocolStateSnapshotByBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetProtocolStateSnapshotByBlockIDRequest.Unmarshal(m, b) -} -func (m *GetProtocolStateSnapshotByBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetProtocolStateSnapshotByBlockIDRequest.Marshal(b, m, deterministic) +type GetProtocolStateSnapshotByBlockIDRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetProtocolStateSnapshotByBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProtocolStateSnapshotByBlockIDRequest.Merge(m, src) + +func (x *GetProtocolStateSnapshotByBlockIDRequest) Reset() { + *x = GetProtocolStateSnapshotByBlockIDRequest{} + mi := &file_flow_access_access_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetProtocolStateSnapshotByBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_GetProtocolStateSnapshotByBlockIDRequest.Size(m) + +func (x *GetProtocolStateSnapshotByBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetProtocolStateSnapshotByBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetProtocolStateSnapshotByBlockIDRequest.DiscardUnknown(m) + +func (*GetProtocolStateSnapshotByBlockIDRequest) ProtoMessage() {} + +func (x *GetProtocolStateSnapshotByBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[53] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetProtocolStateSnapshotByBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use GetProtocolStateSnapshotByBlockIDRequest.ProtoReflect.Descriptor instead. +func (*GetProtocolStateSnapshotByBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{53} +} -func (m *GetProtocolStateSnapshotByBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetProtocolStateSnapshotByBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } type GetProtocolStateSnapshotByHeightRequest struct { - BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetProtocolStateSnapshotByHeightRequest) Reset() { - *m = GetProtocolStateSnapshotByHeightRequest{} -} -func (m *GetProtocolStateSnapshotByHeightRequest) String() string { return proto.CompactTextString(m) } -func (*GetProtocolStateSnapshotByHeightRequest) ProtoMessage() {} -func (*GetProtocolStateSnapshotByHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{54} +func (x *GetProtocolStateSnapshotByHeightRequest) Reset() { + *x = GetProtocolStateSnapshotByHeightRequest{} + mi := &file_flow_access_access_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetProtocolStateSnapshotByHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetProtocolStateSnapshotByHeightRequest.Unmarshal(m, b) -} -func (m *GetProtocolStateSnapshotByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetProtocolStateSnapshotByHeightRequest.Marshal(b, m, deterministic) +func (x *GetProtocolStateSnapshotByHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetProtocolStateSnapshotByHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProtocolStateSnapshotByHeightRequest.Merge(m, src) -} -func (m *GetProtocolStateSnapshotByHeightRequest) XXX_Size() int { - return xxx_messageInfo_GetProtocolStateSnapshotByHeightRequest.Size(m) -} -func (m *GetProtocolStateSnapshotByHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetProtocolStateSnapshotByHeightRequest.DiscardUnknown(m) + +func (*GetProtocolStateSnapshotByHeightRequest) ProtoMessage() {} + +func (x *GetProtocolStateSnapshotByHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[54] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetProtocolStateSnapshotByHeightRequest proto.InternalMessageInfo +// Deprecated: Use GetProtocolStateSnapshotByHeightRequest.ProtoReflect.Descriptor instead. +func (*GetProtocolStateSnapshotByHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{54} +} -func (m *GetProtocolStateSnapshotByHeightRequest) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *GetProtocolStateSnapshotByHeightRequest) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } type ProtocolStateSnapshotResponse struct { - SerializedSnapshot []byte `protobuf:"bytes,1,opt,name=serializedSnapshot,proto3" json:"serializedSnapshot,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + SerializedSnapshot []byte `protobuf:"bytes,1,opt,name=serializedSnapshot,proto3" json:"serializedSnapshot,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ProtocolStateSnapshotResponse) Reset() { *m = ProtocolStateSnapshotResponse{} } -func (m *ProtocolStateSnapshotResponse) String() string { return proto.CompactTextString(m) } -func (*ProtocolStateSnapshotResponse) ProtoMessage() {} -func (*ProtocolStateSnapshotResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{55} +func (x *ProtocolStateSnapshotResponse) Reset() { + *x = ProtocolStateSnapshotResponse{} + mi := &file_flow_access_access_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ProtocolStateSnapshotResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProtocolStateSnapshotResponse.Unmarshal(m, b) +func (x *ProtocolStateSnapshotResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProtocolStateSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProtocolStateSnapshotResponse.Marshal(b, m, deterministic) -} -func (m *ProtocolStateSnapshotResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProtocolStateSnapshotResponse.Merge(m, src) -} -func (m *ProtocolStateSnapshotResponse) XXX_Size() int { - return xxx_messageInfo_ProtocolStateSnapshotResponse.Size(m) -} -func (m *ProtocolStateSnapshotResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProtocolStateSnapshotResponse.DiscardUnknown(m) + +func (*ProtocolStateSnapshotResponse) ProtoMessage() {} + +func (x *ProtocolStateSnapshotResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[55] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProtocolStateSnapshotResponse proto.InternalMessageInfo +// Deprecated: Use ProtocolStateSnapshotResponse.ProtoReflect.Descriptor instead. +func (*ProtocolStateSnapshotResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{55} +} -func (m *ProtocolStateSnapshotResponse) GetSerializedSnapshot() []byte { - if m != nil { - return m.SerializedSnapshot +func (x *ProtocolStateSnapshotResponse) GetSerializedSnapshot() []byte { + if x != nil { + return x.SerializedSnapshot } return nil } -func (m *ProtocolStateSnapshotResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *ProtocolStateSnapshotResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type GetExecutionResultForBlockIDRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetExecutionResultForBlockIDRequest) Reset() { *m = GetExecutionResultForBlockIDRequest{} } -func (m *GetExecutionResultForBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetExecutionResultForBlockIDRequest) ProtoMessage() {} -func (*GetExecutionResultForBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{56} +func (x *GetExecutionResultForBlockIDRequest) Reset() { + *x = GetExecutionResultForBlockIDRequest{} + mi := &file_flow_access_access_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetExecutionResultForBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetExecutionResultForBlockIDRequest.Unmarshal(m, b) -} -func (m *GetExecutionResultForBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetExecutionResultForBlockIDRequest.Marshal(b, m, deterministic) -} -func (m *GetExecutionResultForBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExecutionResultForBlockIDRequest.Merge(m, src) +func (x *GetExecutionResultForBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetExecutionResultForBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_GetExecutionResultForBlockIDRequest.Size(m) -} -func (m *GetExecutionResultForBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetExecutionResultForBlockIDRequest.DiscardUnknown(m) + +func (*GetExecutionResultForBlockIDRequest) ProtoMessage() {} + +func (x *GetExecutionResultForBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[56] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetExecutionResultForBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use GetExecutionResultForBlockIDRequest.ProtoReflect.Descriptor instead. +func (*GetExecutionResultForBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{56} +} -func (m *GetExecutionResultForBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetExecutionResultForBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetExecutionResultForBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetExecutionResultForBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type ExecutionResultForBlockIDResponse struct { - ExecutionResult *entities.ExecutionResult `protobuf:"bytes,1,opt,name=execution_result,json=executionResult,proto3" json:"execution_result,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + ExecutionResult *entities.ExecutionResult `protobuf:"bytes,1,opt,name=execution_result,json=executionResult,proto3" json:"execution_result,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecutionResultForBlockIDResponse) Reset() { *m = ExecutionResultForBlockIDResponse{} } -func (m *ExecutionResultForBlockIDResponse) String() string { return proto.CompactTextString(m) } -func (*ExecutionResultForBlockIDResponse) ProtoMessage() {} -func (*ExecutionResultForBlockIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{57} +func (x *ExecutionResultForBlockIDResponse) Reset() { + *x = ExecutionResultForBlockIDResponse{} + mi := &file_flow_access_access_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecutionResultForBlockIDResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionResultForBlockIDResponse.Unmarshal(m, b) -} -func (m *ExecutionResultForBlockIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionResultForBlockIDResponse.Marshal(b, m, deterministic) +func (x *ExecutionResultForBlockIDResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionResultForBlockIDResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionResultForBlockIDResponse.Merge(m, src) -} -func (m *ExecutionResultForBlockIDResponse) XXX_Size() int { - return xxx_messageInfo_ExecutionResultForBlockIDResponse.Size(m) -} -func (m *ExecutionResultForBlockIDResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionResultForBlockIDResponse.DiscardUnknown(m) + +func (*ExecutionResultForBlockIDResponse) ProtoMessage() {} + +func (x *ExecutionResultForBlockIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[57] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionResultForBlockIDResponse proto.InternalMessageInfo +// Deprecated: Use ExecutionResultForBlockIDResponse.ProtoReflect.Descriptor instead. +func (*ExecutionResultForBlockIDResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{57} +} -func (m *ExecutionResultForBlockIDResponse) GetExecutionResult() *entities.ExecutionResult { - if m != nil { - return m.ExecutionResult +func (x *ExecutionResultForBlockIDResponse) GetExecutionResult() *entities.ExecutionResult { + if x != nil { + return x.ExecutionResult } return nil } -func (m *ExecutionResultForBlockIDResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *ExecutionResultForBlockIDResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } type GetExecutionResultByIDRequest struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetExecutionResultByIDRequest) Reset() { *m = GetExecutionResultByIDRequest{} } -func (m *GetExecutionResultByIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetExecutionResultByIDRequest) ProtoMessage() {} -func (*GetExecutionResultByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{58} +func (x *GetExecutionResultByIDRequest) Reset() { + *x = GetExecutionResultByIDRequest{} + mi := &file_flow_access_access_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetExecutionResultByIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetExecutionResultByIDRequest.Unmarshal(m, b) -} -func (m *GetExecutionResultByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetExecutionResultByIDRequest.Marshal(b, m, deterministic) -} -func (m *GetExecutionResultByIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExecutionResultByIDRequest.Merge(m, src) +func (x *GetExecutionResultByIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetExecutionResultByIDRequest) XXX_Size() int { - return xxx_messageInfo_GetExecutionResultByIDRequest.Size(m) -} -func (m *GetExecutionResultByIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetExecutionResultByIDRequest.DiscardUnknown(m) + +func (*GetExecutionResultByIDRequest) ProtoMessage() {} + +func (x *GetExecutionResultByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[58] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetExecutionResultByIDRequest proto.InternalMessageInfo +// Deprecated: Use GetExecutionResultByIDRequest.ProtoReflect.Descriptor instead. +func (*GetExecutionResultByIDRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{58} +} -func (m *GetExecutionResultByIDRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetExecutionResultByIDRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *GetExecutionResultByIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetExecutionResultByIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } type ExecutionResultByIDResponse struct { - ExecutionResult *entities.ExecutionResult `protobuf:"bytes,1,opt,name=execution_result,json=executionResult,proto3" json:"execution_result,omitempty"` - Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + ExecutionResult *entities.ExecutionResult `protobuf:"bytes,1,opt,name=execution_result,json=executionResult,proto3" json:"execution_result,omitempty"` + Metadata *entities.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecutionResultByIDResponse) Reset() { *m = ExecutionResultByIDResponse{} } -func (m *ExecutionResultByIDResponse) String() string { return proto.CompactTextString(m) } -func (*ExecutionResultByIDResponse) ProtoMessage() {} -func (*ExecutionResultByIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{59} +func (x *ExecutionResultByIDResponse) Reset() { + *x = ExecutionResultByIDResponse{} + mi := &file_flow_access_access_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecutionResultByIDResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionResultByIDResponse.Unmarshal(m, b) -} -func (m *ExecutionResultByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionResultByIDResponse.Marshal(b, m, deterministic) +func (x *ExecutionResultByIDResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionResultByIDResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionResultByIDResponse.Merge(m, src) -} -func (m *ExecutionResultByIDResponse) XXX_Size() int { - return xxx_messageInfo_ExecutionResultByIDResponse.Size(m) -} -func (m *ExecutionResultByIDResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionResultByIDResponse.DiscardUnknown(m) + +func (*ExecutionResultByIDResponse) ProtoMessage() {} + +func (x *ExecutionResultByIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[59] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionResultByIDResponse proto.InternalMessageInfo +// Deprecated: Use ExecutionResultByIDResponse.ProtoReflect.Descriptor instead. +func (*ExecutionResultByIDResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{59} +} -func (m *ExecutionResultByIDResponse) GetExecutionResult() *entities.ExecutionResult { - if m != nil { - return m.ExecutionResult +func (x *ExecutionResultByIDResponse) GetExecutionResult() *entities.ExecutionResult { + if x != nil { + return x.ExecutionResult } return nil } -func (m *ExecutionResultByIDResponse) GetMetadata() *entities.Metadata { - if m != nil { - return m.Metadata +func (x *ExecutionResultByIDResponse) GetMetadata() *entities.Metadata { + if x != nil { + return x.Metadata } return nil } // The request for SubscribeBlocksFromStartBlockID type SubscribeBlocksFromStartBlockIDRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the first block to subscribe. StartBlockId []byte `protobuf:"bytes,1,opt,name=start_block_id,json=startBlockId,proto3" json:"start_block_id,omitempty"` // Required block status of the block payload. @@ -3098,62 +3333,65 @@ type SubscribeBlocksFromStartBlockIDRequest struct { BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` // Boolean value determining the response: 'full' if `true`, 'light' // otherwise. - FullBlockResponse bool `protobuf:"varint,3,opt,name=full_block_response,json=fullBlockResponse,proto3" json:"full_block_response,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FullBlockResponse bool `protobuf:"varint,3,opt,name=full_block_response,json=fullBlockResponse,proto3" json:"full_block_response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeBlocksFromStartBlockIDRequest) Reset() { - *m = SubscribeBlocksFromStartBlockIDRequest{} -} -func (m *SubscribeBlocksFromStartBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeBlocksFromStartBlockIDRequest) ProtoMessage() {} -func (*SubscribeBlocksFromStartBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{60} +func (x *SubscribeBlocksFromStartBlockIDRequest) Reset() { + *x = SubscribeBlocksFromStartBlockIDRequest{} + mi := &file_flow_access_access_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeBlocksFromStartBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeBlocksFromStartBlockIDRequest.Unmarshal(m, b) -} -func (m *SubscribeBlocksFromStartBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeBlocksFromStartBlockIDRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeBlocksFromStartBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeBlocksFromStartBlockIDRequest.Merge(m, src) -} -func (m *SubscribeBlocksFromStartBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeBlocksFromStartBlockIDRequest.Size(m) +func (x *SubscribeBlocksFromStartBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeBlocksFromStartBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeBlocksFromStartBlockIDRequest.DiscardUnknown(m) + +func (*SubscribeBlocksFromStartBlockIDRequest) ProtoMessage() {} + +func (x *SubscribeBlocksFromStartBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[60] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeBlocksFromStartBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeBlocksFromStartBlockIDRequest.ProtoReflect.Descriptor instead. +func (*SubscribeBlocksFromStartBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{60} +} -func (m *SubscribeBlocksFromStartBlockIDRequest) GetStartBlockId() []byte { - if m != nil { - return m.StartBlockId +func (x *SubscribeBlocksFromStartBlockIDRequest) GetStartBlockId() []byte { + if x != nil { + return x.StartBlockId } return nil } -func (m *SubscribeBlocksFromStartBlockIDRequest) GetBlockStatus() entities.BlockStatus { - if m != nil { - return m.BlockStatus +func (x *SubscribeBlocksFromStartBlockIDRequest) GetBlockStatus() entities.BlockStatus { + if x != nil { + return x.BlockStatus } - return entities.BlockStatus_BLOCK_UNKNOWN + return entities.BlockStatus(0) } -func (m *SubscribeBlocksFromStartBlockIDRequest) GetFullBlockResponse() bool { - if m != nil { - return m.FullBlockResponse +func (x *SubscribeBlocksFromStartBlockIDRequest) GetFullBlockResponse() bool { + if x != nil { + return x.FullBlockResponse } return false } // The request for SubscribeBlocksFromStartHeight type SubscribeBlocksFromStartHeightRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block height of the first block to subscribe. StartBlockHeight uint64 `protobuf:"varint,1,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"` // Required block status of the block payload. @@ -3163,60 +3401,65 @@ type SubscribeBlocksFromStartHeightRequest struct { BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` // Boolean value determining the response: 'full' if `true`, 'light' // otherwise. - FullBlockResponse bool `protobuf:"varint,3,opt,name=full_block_response,json=fullBlockResponse,proto3" json:"full_block_response,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FullBlockResponse bool `protobuf:"varint,3,opt,name=full_block_response,json=fullBlockResponse,proto3" json:"full_block_response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeBlocksFromStartHeightRequest) Reset() { *m = SubscribeBlocksFromStartHeightRequest{} } -func (m *SubscribeBlocksFromStartHeightRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeBlocksFromStartHeightRequest) ProtoMessage() {} -func (*SubscribeBlocksFromStartHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{61} +func (x *SubscribeBlocksFromStartHeightRequest) Reset() { + *x = SubscribeBlocksFromStartHeightRequest{} + mi := &file_flow_access_access_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeBlocksFromStartHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeBlocksFromStartHeightRequest.Unmarshal(m, b) -} -func (m *SubscribeBlocksFromStartHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeBlocksFromStartHeightRequest.Marshal(b, m, deterministic) +func (x *SubscribeBlocksFromStartHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeBlocksFromStartHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeBlocksFromStartHeightRequest.Merge(m, src) -} -func (m *SubscribeBlocksFromStartHeightRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeBlocksFromStartHeightRequest.Size(m) -} -func (m *SubscribeBlocksFromStartHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeBlocksFromStartHeightRequest.DiscardUnknown(m) + +func (*SubscribeBlocksFromStartHeightRequest) ProtoMessage() {} + +func (x *SubscribeBlocksFromStartHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[61] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeBlocksFromStartHeightRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeBlocksFromStartHeightRequest.ProtoReflect.Descriptor instead. +func (*SubscribeBlocksFromStartHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{61} +} -func (m *SubscribeBlocksFromStartHeightRequest) GetStartBlockHeight() uint64 { - if m != nil { - return m.StartBlockHeight +func (x *SubscribeBlocksFromStartHeightRequest) GetStartBlockHeight() uint64 { + if x != nil { + return x.StartBlockHeight } return 0 } -func (m *SubscribeBlocksFromStartHeightRequest) GetBlockStatus() entities.BlockStatus { - if m != nil { - return m.BlockStatus +func (x *SubscribeBlocksFromStartHeightRequest) GetBlockStatus() entities.BlockStatus { + if x != nil { + return x.BlockStatus } - return entities.BlockStatus_BLOCK_UNKNOWN + return entities.BlockStatus(0) } -func (m *SubscribeBlocksFromStartHeightRequest) GetFullBlockResponse() bool { - if m != nil { - return m.FullBlockResponse +func (x *SubscribeBlocksFromStartHeightRequest) GetFullBlockResponse() bool { + if x != nil { + return x.FullBlockResponse } return false } // The request for SubscribeBlocksFromLatest type SubscribeBlocksFromLatestRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Required block status of the block payload. // Possible variants: // 1. BLOCK_FINALIZED @@ -3224,47 +3467,51 @@ type SubscribeBlocksFromLatestRequest struct { BlockStatus entities.BlockStatus `protobuf:"varint,1,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` // Boolean value determining the response: 'full' if `true`, 'light' // otherwise. - FullBlockResponse bool `protobuf:"varint,2,opt,name=full_block_response,json=fullBlockResponse,proto3" json:"full_block_response,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FullBlockResponse bool `protobuf:"varint,2,opt,name=full_block_response,json=fullBlockResponse,proto3" json:"full_block_response,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeBlocksFromLatestRequest) Reset() { *m = SubscribeBlocksFromLatestRequest{} } -func (m *SubscribeBlocksFromLatestRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeBlocksFromLatestRequest) ProtoMessage() {} -func (*SubscribeBlocksFromLatestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{62} +func (x *SubscribeBlocksFromLatestRequest) Reset() { + *x = SubscribeBlocksFromLatestRequest{} + mi := &file_flow_access_access_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeBlocksFromLatestRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeBlocksFromLatestRequest.Unmarshal(m, b) -} -func (m *SubscribeBlocksFromLatestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeBlocksFromLatestRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeBlocksFromLatestRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeBlocksFromLatestRequest.Merge(m, src) -} -func (m *SubscribeBlocksFromLatestRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeBlocksFromLatestRequest.Size(m) +func (x *SubscribeBlocksFromLatestRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeBlocksFromLatestRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeBlocksFromLatestRequest.DiscardUnknown(m) + +func (*SubscribeBlocksFromLatestRequest) ProtoMessage() {} + +func (x *SubscribeBlocksFromLatestRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[62] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeBlocksFromLatestRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeBlocksFromLatestRequest.ProtoReflect.Descriptor instead. +func (*SubscribeBlocksFromLatestRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{62} +} -func (m *SubscribeBlocksFromLatestRequest) GetBlockStatus() entities.BlockStatus { - if m != nil { - return m.BlockStatus +func (x *SubscribeBlocksFromLatestRequest) GetBlockStatus() entities.BlockStatus { + if x != nil { + return x.BlockStatus } - return entities.BlockStatus_BLOCK_UNKNOWN + return entities.BlockStatus(0) } -func (m *SubscribeBlocksFromLatestRequest) GetFullBlockResponse() bool { - if m != nil { - return m.FullBlockResponse +func (x *SubscribeBlocksFromLatestRequest) GetFullBlockResponse() bool { + if x != nil { + return x.FullBlockResponse } return false } @@ -3272,412 +3519,433 @@ func (m *SubscribeBlocksFromLatestRequest) GetFullBlockResponse() bool { // The response for SubscribeBlocksFromStartBlockID, // SubscribeBlocksFromStartHeight, SubscribeBlocksFromLatest type SubscribeBlocksResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` // The sealed or finalized blocks according to the block status // in the request. - Block *entities.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Block *entities.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeBlocksResponse) Reset() { *m = SubscribeBlocksResponse{} } -func (m *SubscribeBlocksResponse) String() string { return proto.CompactTextString(m) } -func (*SubscribeBlocksResponse) ProtoMessage() {} -func (*SubscribeBlocksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{63} +func (x *SubscribeBlocksResponse) Reset() { + *x = SubscribeBlocksResponse{} + mi := &file_flow_access_access_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeBlocksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeBlocksResponse.Unmarshal(m, b) -} -func (m *SubscribeBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeBlocksResponse.Marshal(b, m, deterministic) -} -func (m *SubscribeBlocksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeBlocksResponse.Merge(m, src) +func (x *SubscribeBlocksResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeBlocksResponse) XXX_Size() int { - return xxx_messageInfo_SubscribeBlocksResponse.Size(m) -} -func (m *SubscribeBlocksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeBlocksResponse.DiscardUnknown(m) + +func (*SubscribeBlocksResponse) ProtoMessage() {} + +func (x *SubscribeBlocksResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[63] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeBlocksResponse proto.InternalMessageInfo +// Deprecated: Use SubscribeBlocksResponse.ProtoReflect.Descriptor instead. +func (*SubscribeBlocksResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{63} +} -func (m *SubscribeBlocksResponse) GetBlock() *entities.Block { - if m != nil { - return m.Block +func (x *SubscribeBlocksResponse) GetBlock() *entities.Block { + if x != nil { + return x.Block } return nil } // The request for SubscribeBlockHeadersFromStartBlockID type SubscribeBlockHeadersFromStartBlockIDRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the first block header to subscribe. StartBlockId []byte `protobuf:"bytes,1,opt,name=start_block_id,json=startBlockId,proto3" json:"start_block_id,omitempty"` // Required block status of the block payload. // Possible variants: // 1. BLOCK_FINALIZED // 2. BLOCK_SEALED - BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeBlockHeadersFromStartBlockIDRequest) Reset() { - *m = SubscribeBlockHeadersFromStartBlockIDRequest{} +func (x *SubscribeBlockHeadersFromStartBlockIDRequest) Reset() { + *x = SubscribeBlockHeadersFromStartBlockIDRequest{} + mi := &file_flow_access_access_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeBlockHeadersFromStartBlockIDRequest) String() string { - return proto.CompactTextString(m) + +func (x *SubscribeBlockHeadersFromStartBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*SubscribeBlockHeadersFromStartBlockIDRequest) ProtoMessage() {} -func (*SubscribeBlockHeadersFromStartBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{64} -} -func (m *SubscribeBlockHeadersFromStartBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeBlockHeadersFromStartBlockIDRequest.Unmarshal(m, b) -} -func (m *SubscribeBlockHeadersFromStartBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeBlockHeadersFromStartBlockIDRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeBlockHeadersFromStartBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeBlockHeadersFromStartBlockIDRequest.Merge(m, src) -} -func (m *SubscribeBlockHeadersFromStartBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeBlockHeadersFromStartBlockIDRequest.Size(m) -} -func (m *SubscribeBlockHeadersFromStartBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeBlockHeadersFromStartBlockIDRequest.DiscardUnknown(m) +func (x *SubscribeBlockHeadersFromStartBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[64] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeBlockHeadersFromStartBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeBlockHeadersFromStartBlockIDRequest.ProtoReflect.Descriptor instead. +func (*SubscribeBlockHeadersFromStartBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{64} +} -func (m *SubscribeBlockHeadersFromStartBlockIDRequest) GetStartBlockId() []byte { - if m != nil { - return m.StartBlockId +func (x *SubscribeBlockHeadersFromStartBlockIDRequest) GetStartBlockId() []byte { + if x != nil { + return x.StartBlockId } return nil } -func (m *SubscribeBlockHeadersFromStartBlockIDRequest) GetBlockStatus() entities.BlockStatus { - if m != nil { - return m.BlockStatus +func (x *SubscribeBlockHeadersFromStartBlockIDRequest) GetBlockStatus() entities.BlockStatus { + if x != nil { + return x.BlockStatus } - return entities.BlockStatus_BLOCK_UNKNOWN + return entities.BlockStatus(0) } // The request for SubscribeBlockHeadersFromStartHeight type SubscribeBlockHeadersFromStartHeightRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block height of the first block header to subscribe. StartBlockHeight uint64 `protobuf:"varint,1,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"` // Required block status of the block payload. // Possible variants: // 1. BLOCK_FINALIZED // 2. BLOCK_SEALED - BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeBlockHeadersFromStartHeightRequest) Reset() { - *m = SubscribeBlockHeadersFromStartHeightRequest{} +func (x *SubscribeBlockHeadersFromStartHeightRequest) Reset() { + *x = SubscribeBlockHeadersFromStartHeightRequest{} + mi := &file_flow_access_access_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeBlockHeadersFromStartHeightRequest) String() string { - return proto.CompactTextString(m) + +func (x *SubscribeBlockHeadersFromStartHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*SubscribeBlockHeadersFromStartHeightRequest) ProtoMessage() {} -func (*SubscribeBlockHeadersFromStartHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{65} -} -func (m *SubscribeBlockHeadersFromStartHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeBlockHeadersFromStartHeightRequest.Unmarshal(m, b) -} -func (m *SubscribeBlockHeadersFromStartHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeBlockHeadersFromStartHeightRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeBlockHeadersFromStartHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeBlockHeadersFromStartHeightRequest.Merge(m, src) -} -func (m *SubscribeBlockHeadersFromStartHeightRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeBlockHeadersFromStartHeightRequest.Size(m) -} -func (m *SubscribeBlockHeadersFromStartHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeBlockHeadersFromStartHeightRequest.DiscardUnknown(m) +func (x *SubscribeBlockHeadersFromStartHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[65] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeBlockHeadersFromStartHeightRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeBlockHeadersFromStartHeightRequest.ProtoReflect.Descriptor instead. +func (*SubscribeBlockHeadersFromStartHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{65} +} -func (m *SubscribeBlockHeadersFromStartHeightRequest) GetStartBlockHeight() uint64 { - if m != nil { - return m.StartBlockHeight +func (x *SubscribeBlockHeadersFromStartHeightRequest) GetStartBlockHeight() uint64 { + if x != nil { + return x.StartBlockHeight } return 0 } -func (m *SubscribeBlockHeadersFromStartHeightRequest) GetBlockStatus() entities.BlockStatus { - if m != nil { - return m.BlockStatus +func (x *SubscribeBlockHeadersFromStartHeightRequest) GetBlockStatus() entities.BlockStatus { + if x != nil { + return x.BlockStatus } - return entities.BlockStatus_BLOCK_UNKNOWN + return entities.BlockStatus(0) } // The request for SubscribeBlockHeadersFromLatest type SubscribeBlockHeadersFromLatestRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Required block status of the block payload. // Possible variants: // 1. BLOCK_FINALIZED // 2. BLOCK_SEALED - BlockStatus entities.BlockStatus `protobuf:"varint,1,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BlockStatus entities.BlockStatus `protobuf:"varint,1,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeBlockHeadersFromLatestRequest) Reset() { - *m = SubscribeBlockHeadersFromLatestRequest{} -} -func (m *SubscribeBlockHeadersFromLatestRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeBlockHeadersFromLatestRequest) ProtoMessage() {} -func (*SubscribeBlockHeadersFromLatestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{66} +func (x *SubscribeBlockHeadersFromLatestRequest) Reset() { + *x = SubscribeBlockHeadersFromLatestRequest{} + mi := &file_flow_access_access_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeBlockHeadersFromLatestRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeBlockHeadersFromLatestRequest.Unmarshal(m, b) -} -func (m *SubscribeBlockHeadersFromLatestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeBlockHeadersFromLatestRequest.Marshal(b, m, deterministic) +func (x *SubscribeBlockHeadersFromLatestRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeBlockHeadersFromLatestRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeBlockHeadersFromLatestRequest.Merge(m, src) -} -func (m *SubscribeBlockHeadersFromLatestRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeBlockHeadersFromLatestRequest.Size(m) -} -func (m *SubscribeBlockHeadersFromLatestRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeBlockHeadersFromLatestRequest.DiscardUnknown(m) + +func (*SubscribeBlockHeadersFromLatestRequest) ProtoMessage() {} + +func (x *SubscribeBlockHeadersFromLatestRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[66] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeBlockHeadersFromLatestRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeBlockHeadersFromLatestRequest.ProtoReflect.Descriptor instead. +func (*SubscribeBlockHeadersFromLatestRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{66} +} -func (m *SubscribeBlockHeadersFromLatestRequest) GetBlockStatus() entities.BlockStatus { - if m != nil { - return m.BlockStatus +func (x *SubscribeBlockHeadersFromLatestRequest) GetBlockStatus() entities.BlockStatus { + if x != nil { + return x.BlockStatus } - return entities.BlockStatus_BLOCK_UNKNOWN + return entities.BlockStatus(0) } // The response for SubscribeBlockHeadersFromStartBlockID, // SubscribeBlockHeadersFromStartHeight, SubscribeBlockHeadersFromLatest type SubscribeBlockHeadersResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` // The sealed or finalized block headers according to the block status // in the request. - Header *entities.BlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Header *entities.BlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeBlockHeadersResponse) Reset() { *m = SubscribeBlockHeadersResponse{} } -func (m *SubscribeBlockHeadersResponse) String() string { return proto.CompactTextString(m) } -func (*SubscribeBlockHeadersResponse) ProtoMessage() {} -func (*SubscribeBlockHeadersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{67} +func (x *SubscribeBlockHeadersResponse) Reset() { + *x = SubscribeBlockHeadersResponse{} + mi := &file_flow_access_access_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeBlockHeadersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeBlockHeadersResponse.Unmarshal(m, b) -} -func (m *SubscribeBlockHeadersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeBlockHeadersResponse.Marshal(b, m, deterministic) -} -func (m *SubscribeBlockHeadersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeBlockHeadersResponse.Merge(m, src) -} -func (m *SubscribeBlockHeadersResponse) XXX_Size() int { - return xxx_messageInfo_SubscribeBlockHeadersResponse.Size(m) +func (x *SubscribeBlockHeadersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeBlockHeadersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeBlockHeadersResponse.DiscardUnknown(m) + +func (*SubscribeBlockHeadersResponse) ProtoMessage() {} + +func (x *SubscribeBlockHeadersResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[67] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeBlockHeadersResponse proto.InternalMessageInfo +// Deprecated: Use SubscribeBlockHeadersResponse.ProtoReflect.Descriptor instead. +func (*SubscribeBlockHeadersResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{67} +} -func (m *SubscribeBlockHeadersResponse) GetHeader() *entities.BlockHeader { - if m != nil { - return m.Header +func (x *SubscribeBlockHeadersResponse) GetHeader() *entities.BlockHeader { + if x != nil { + return x.Header } return nil } // The request for SubscribeBlockDigestsFromStartBlockID type SubscribeBlockDigestsFromStartBlockIDRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the first block to subscribe. StartBlockId []byte `protobuf:"bytes,1,opt,name=start_block_id,json=startBlockId,proto3" json:"start_block_id,omitempty"` // Required block status of the block payload. // Possible variants: // 1. BLOCK_FINALIZED // 2. BLOCK_SEALED - BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeBlockDigestsFromStartBlockIDRequest) Reset() { - *m = SubscribeBlockDigestsFromStartBlockIDRequest{} +func (x *SubscribeBlockDigestsFromStartBlockIDRequest) Reset() { + *x = SubscribeBlockDigestsFromStartBlockIDRequest{} + mi := &file_flow_access_access_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeBlockDigestsFromStartBlockIDRequest) String() string { - return proto.CompactTextString(m) + +func (x *SubscribeBlockDigestsFromStartBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*SubscribeBlockDigestsFromStartBlockIDRequest) ProtoMessage() {} -func (*SubscribeBlockDigestsFromStartBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{68} -} -func (m *SubscribeBlockDigestsFromStartBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeBlockDigestsFromStartBlockIDRequest.Unmarshal(m, b) -} -func (m *SubscribeBlockDigestsFromStartBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeBlockDigestsFromStartBlockIDRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeBlockDigestsFromStartBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeBlockDigestsFromStartBlockIDRequest.Merge(m, src) -} -func (m *SubscribeBlockDigestsFromStartBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeBlockDigestsFromStartBlockIDRequest.Size(m) -} -func (m *SubscribeBlockDigestsFromStartBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeBlockDigestsFromStartBlockIDRequest.DiscardUnknown(m) +func (x *SubscribeBlockDigestsFromStartBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[68] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeBlockDigestsFromStartBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeBlockDigestsFromStartBlockIDRequest.ProtoReflect.Descriptor instead. +func (*SubscribeBlockDigestsFromStartBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{68} +} -func (m *SubscribeBlockDigestsFromStartBlockIDRequest) GetStartBlockId() []byte { - if m != nil { - return m.StartBlockId +func (x *SubscribeBlockDigestsFromStartBlockIDRequest) GetStartBlockId() []byte { + if x != nil { + return x.StartBlockId } return nil } -func (m *SubscribeBlockDigestsFromStartBlockIDRequest) GetBlockStatus() entities.BlockStatus { - if m != nil { - return m.BlockStatus +func (x *SubscribeBlockDigestsFromStartBlockIDRequest) GetBlockStatus() entities.BlockStatus { + if x != nil { + return x.BlockStatus } - return entities.BlockStatus_BLOCK_UNKNOWN + return entities.BlockStatus(0) } // The request for SubscribeBlockDigestsFromStartHeight type SubscribeBlockDigestsFromStartHeightRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block height of the first block to subscribe. StartBlockHeight uint64 `protobuf:"varint,1,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"` // Required block status of the block payload. // Possible variants: // 1. BLOCK_FINALIZED // 2. BLOCK_SEALED - BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BlockStatus entities.BlockStatus `protobuf:"varint,2,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeBlockDigestsFromStartHeightRequest) Reset() { - *m = SubscribeBlockDigestsFromStartHeightRequest{} +func (x *SubscribeBlockDigestsFromStartHeightRequest) Reset() { + *x = SubscribeBlockDigestsFromStartHeightRequest{} + mi := &file_flow_access_access_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeBlockDigestsFromStartHeightRequest) String() string { - return proto.CompactTextString(m) + +func (x *SubscribeBlockDigestsFromStartHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*SubscribeBlockDigestsFromStartHeightRequest) ProtoMessage() {} -func (*SubscribeBlockDigestsFromStartHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{69} -} -func (m *SubscribeBlockDigestsFromStartHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeBlockDigestsFromStartHeightRequest.Unmarshal(m, b) -} -func (m *SubscribeBlockDigestsFromStartHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeBlockDigestsFromStartHeightRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeBlockDigestsFromStartHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeBlockDigestsFromStartHeightRequest.Merge(m, src) -} -func (m *SubscribeBlockDigestsFromStartHeightRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeBlockDigestsFromStartHeightRequest.Size(m) -} -func (m *SubscribeBlockDigestsFromStartHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeBlockDigestsFromStartHeightRequest.DiscardUnknown(m) +func (x *SubscribeBlockDigestsFromStartHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[69] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeBlockDigestsFromStartHeightRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeBlockDigestsFromStartHeightRequest.ProtoReflect.Descriptor instead. +func (*SubscribeBlockDigestsFromStartHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{69} +} -func (m *SubscribeBlockDigestsFromStartHeightRequest) GetStartBlockHeight() uint64 { - if m != nil { - return m.StartBlockHeight +func (x *SubscribeBlockDigestsFromStartHeightRequest) GetStartBlockHeight() uint64 { + if x != nil { + return x.StartBlockHeight } return 0 } -func (m *SubscribeBlockDigestsFromStartHeightRequest) GetBlockStatus() entities.BlockStatus { - if m != nil { - return m.BlockStatus +func (x *SubscribeBlockDigestsFromStartHeightRequest) GetBlockStatus() entities.BlockStatus { + if x != nil { + return x.BlockStatus } - return entities.BlockStatus_BLOCK_UNKNOWN + return entities.BlockStatus(0) } // The request for SubscribeBlockDigestsFromLatest type SubscribeBlockDigestsFromLatestRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Required block status of the block payload. // Possible variants: // 1. BLOCK_FINALIZED // 2. BLOCK_SEALED - BlockStatus entities.BlockStatus `protobuf:"varint,1,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BlockStatus entities.BlockStatus `protobuf:"varint,1,opt,name=block_status,json=blockStatus,proto3,enum=flow.entities.BlockStatus" json:"block_status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeBlockDigestsFromLatestRequest) Reset() { - *m = SubscribeBlockDigestsFromLatestRequest{} -} -func (m *SubscribeBlockDigestsFromLatestRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeBlockDigestsFromLatestRequest) ProtoMessage() {} -func (*SubscribeBlockDigestsFromLatestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{70} +func (x *SubscribeBlockDigestsFromLatestRequest) Reset() { + *x = SubscribeBlockDigestsFromLatestRequest{} + mi := &file_flow_access_access_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeBlockDigestsFromLatestRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeBlockDigestsFromLatestRequest.Unmarshal(m, b) -} -func (m *SubscribeBlockDigestsFromLatestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeBlockDigestsFromLatestRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeBlockDigestsFromLatestRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeBlockDigestsFromLatestRequest.Merge(m, src) +func (x *SubscribeBlockDigestsFromLatestRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeBlockDigestsFromLatestRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeBlockDigestsFromLatestRequest.Size(m) -} -func (m *SubscribeBlockDigestsFromLatestRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeBlockDigestsFromLatestRequest.DiscardUnknown(m) + +func (*SubscribeBlockDigestsFromLatestRequest) ProtoMessage() {} + +func (x *SubscribeBlockDigestsFromLatestRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[70] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeBlockDigestsFromLatestRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeBlockDigestsFromLatestRequest.ProtoReflect.Descriptor instead. +func (*SubscribeBlockDigestsFromLatestRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{70} +} -func (m *SubscribeBlockDigestsFromLatestRequest) GetBlockStatus() entities.BlockStatus { - if m != nil { - return m.BlockStatus +func (x *SubscribeBlockDigestsFromLatestRequest) GetBlockStatus() entities.BlockStatus { + if x != nil { + return x.BlockStatus } - return entities.BlockStatus_BLOCK_UNKNOWN + return entities.BlockStatus(0) } // The response for SubscribeBlockDigestsFromStartBlockID, // SubscribeBlockDigestsFromStartHeight, SubscribeBlockDigestsFromLatest type SubscribeBlockDigestsResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` // The block ID of the new sealed or finalized block according to the block // status in the request. BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` @@ -3686,54 +3954,58 @@ type SubscribeBlockDigestsResponse struct { BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // The timestamp of the new sealed or finalized block according to the block // status in the request. - BlockTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BlockTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeBlockDigestsResponse) Reset() { *m = SubscribeBlockDigestsResponse{} } -func (m *SubscribeBlockDigestsResponse) String() string { return proto.CompactTextString(m) } -func (*SubscribeBlockDigestsResponse) ProtoMessage() {} -func (*SubscribeBlockDigestsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{71} +func (x *SubscribeBlockDigestsResponse) Reset() { + *x = SubscribeBlockDigestsResponse{} + mi := &file_flow_access_access_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeBlockDigestsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeBlockDigestsResponse.Unmarshal(m, b) -} -func (m *SubscribeBlockDigestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeBlockDigestsResponse.Marshal(b, m, deterministic) +func (x *SubscribeBlockDigestsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeBlockDigestsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeBlockDigestsResponse.Merge(m, src) -} -func (m *SubscribeBlockDigestsResponse) XXX_Size() int { - return xxx_messageInfo_SubscribeBlockDigestsResponse.Size(m) -} -func (m *SubscribeBlockDigestsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeBlockDigestsResponse.DiscardUnknown(m) + +func (*SubscribeBlockDigestsResponse) ProtoMessage() {} + +func (x *SubscribeBlockDigestsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[71] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeBlockDigestsResponse proto.InternalMessageInfo +// Deprecated: Use SubscribeBlockDigestsResponse.ProtoReflect.Descriptor instead. +func (*SubscribeBlockDigestsResponse) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{71} +} -func (m *SubscribeBlockDigestsResponse) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *SubscribeBlockDigestsResponse) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *SubscribeBlockDigestsResponse) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *SubscribeBlockDigestsResponse) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *SubscribeBlockDigestsResponse) GetBlockTimestamp() *timestamppb.Timestamp { - if m != nil { - return m.BlockTimestamp +func (x *SubscribeBlockDigestsResponse) GetBlockTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.BlockTimestamp } return nil } @@ -3741,379 +4013,826 @@ func (m *SubscribeBlockDigestsResponse) GetBlockTimestamp() *timestamppb.Timesta // Request message for sending a transaction and subscribing to its status // changes. type SendAndSubscribeTransactionStatusesRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // The transaction to be sent and tracked for status changes. Transaction *entities.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // The encoding for events in transaction result EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,2,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SendAndSubscribeTransactionStatusesRequest) Reset() { - *m = SendAndSubscribeTransactionStatusesRequest{} +func (x *SendAndSubscribeTransactionStatusesRequest) Reset() { + *x = SendAndSubscribeTransactionStatusesRequest{} + mi := &file_flow_access_access_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SendAndSubscribeTransactionStatusesRequest) String() string { - return proto.CompactTextString(m) + +func (x *SendAndSubscribeTransactionStatusesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*SendAndSubscribeTransactionStatusesRequest) ProtoMessage() {} -func (*SendAndSubscribeTransactionStatusesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{72} -} -func (m *SendAndSubscribeTransactionStatusesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendAndSubscribeTransactionStatusesRequest.Unmarshal(m, b) -} -func (m *SendAndSubscribeTransactionStatusesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendAndSubscribeTransactionStatusesRequest.Marshal(b, m, deterministic) -} -func (m *SendAndSubscribeTransactionStatusesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendAndSubscribeTransactionStatusesRequest.Merge(m, src) -} -func (m *SendAndSubscribeTransactionStatusesRequest) XXX_Size() int { - return xxx_messageInfo_SendAndSubscribeTransactionStatusesRequest.Size(m) -} -func (m *SendAndSubscribeTransactionStatusesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SendAndSubscribeTransactionStatusesRequest.DiscardUnknown(m) +func (x *SendAndSubscribeTransactionStatusesRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[72] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SendAndSubscribeTransactionStatusesRequest proto.InternalMessageInfo +// Deprecated: Use SendAndSubscribeTransactionStatusesRequest.ProtoReflect.Descriptor instead. +func (*SendAndSubscribeTransactionStatusesRequest) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{72} +} -func (m *SendAndSubscribeTransactionStatusesRequest) GetTransaction() *entities.Transaction { - if m != nil { - return m.Transaction +func (x *SendAndSubscribeTransactionStatusesRequest) GetTransaction() *entities.Transaction { + if x != nil { + return x.Transaction } return nil } -func (m *SendAndSubscribeTransactionStatusesRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *SendAndSubscribeTransactionStatusesRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *SendAndSubscribeTransactionStatusesRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SendAndSubscribeTransactionStatusesRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // Response message for transaction status changes. type SendAndSubscribeTransactionStatusesResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` // Transaction result of the tracked transaction TransactionResults *TransactionResultResponse `protobuf:"bytes,1,opt,name=transaction_results,json=transactionResults,proto3" json:"transaction_results,omitempty"` // The message index of the response message. Used by the client to ensure // they received all messages. Starts from "0". - MessageIndex uint64 `protobuf:"varint,2,opt,name=message_index,json=messageIndex,proto3" json:"message_index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MessageIndex uint64 `protobuf:"varint,2,opt,name=message_index,json=messageIndex,proto3" json:"message_index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SendAndSubscribeTransactionStatusesResponse) Reset() { - *m = SendAndSubscribeTransactionStatusesResponse{} +func (x *SendAndSubscribeTransactionStatusesResponse) Reset() { + *x = SendAndSubscribeTransactionStatusesResponse{} + mi := &file_flow_access_access_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SendAndSubscribeTransactionStatusesResponse) String() string { - return proto.CompactTextString(m) + +func (x *SendAndSubscribeTransactionStatusesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*SendAndSubscribeTransactionStatusesResponse) ProtoMessage() {} + +func (x *SendAndSubscribeTransactionStatusesResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[73] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SendAndSubscribeTransactionStatusesResponse.ProtoReflect.Descriptor instead. func (*SendAndSubscribeTransactionStatusesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{73} + return file_flow_access_access_proto_rawDescGZIP(), []int{73} } -func (m *SendAndSubscribeTransactionStatusesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendAndSubscribeTransactionStatusesResponse.Unmarshal(m, b) +func (x *SendAndSubscribeTransactionStatusesResponse) GetTransactionResults() *TransactionResultResponse { + if x != nil { + return x.TransactionResults + } + return nil } -func (m *SendAndSubscribeTransactionStatusesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendAndSubscribeTransactionStatusesResponse.Marshal(b, m, deterministic) + +func (x *SendAndSubscribeTransactionStatusesResponse) GetMessageIndex() uint64 { + if x != nil { + return x.MessageIndex + } + return 0 } -func (m *SendAndSubscribeTransactionStatusesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendAndSubscribeTransactionStatusesResponse.Merge(m, src) + +type EventsResponse_Result struct { + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Events []*entities.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` + BlockTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SendAndSubscribeTransactionStatusesResponse) XXX_Size() int { - return xxx_messageInfo_SendAndSubscribeTransactionStatusesResponse.Size(m) + +func (x *EventsResponse_Result) Reset() { + *x = EventsResponse_Result{} + mi := &file_flow_access_access_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *EventsResponse_Result) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SendAndSubscribeTransactionStatusesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SendAndSubscribeTransactionStatusesResponse.DiscardUnknown(m) + +func (*EventsResponse_Result) ProtoMessage() {} + +func (x *EventsResponse_Result) ProtoReflect() protoreflect.Message { + mi := &file_flow_access_access_proto_msgTypes[74] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SendAndSubscribeTransactionStatusesResponse proto.InternalMessageInfo +// Deprecated: Use EventsResponse_Result.ProtoReflect.Descriptor instead. +func (*EventsResponse_Result) Descriptor() ([]byte, []int) { + return file_flow_access_access_proto_rawDescGZIP(), []int{49, 0} +} -func (m *SendAndSubscribeTransactionStatusesResponse) GetTransactionResults() *TransactionResultResponse { - if m != nil { - return m.TransactionResults +func (x *EventsResponse_Result) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *SendAndSubscribeTransactionStatusesResponse) GetMessageIndex() uint64 { - if m != nil { - return m.MessageIndex +func (x *EventsResponse_Result) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func init() { - proto.RegisterType((*PingRequest)(nil), "flow.access.PingRequest") - proto.RegisterType((*PingResponse)(nil), "flow.access.PingResponse") - proto.RegisterType((*GetNodeVersionInfoRequest)(nil), "flow.access.GetNodeVersionInfoRequest") - proto.RegisterType((*GetNodeVersionInfoResponse)(nil), "flow.access.GetNodeVersionInfoResponse") - proto.RegisterType((*GetLatestBlockHeaderRequest)(nil), "flow.access.GetLatestBlockHeaderRequest") - proto.RegisterType((*GetBlockHeaderByIDRequest)(nil), "flow.access.GetBlockHeaderByIDRequest") - proto.RegisterType((*GetBlockHeaderByHeightRequest)(nil), "flow.access.GetBlockHeaderByHeightRequest") - proto.RegisterType((*BlockHeaderResponse)(nil), "flow.access.BlockHeaderResponse") - proto.RegisterType((*GetLatestBlockRequest)(nil), "flow.access.GetLatestBlockRequest") - proto.RegisterType((*GetBlockByIDRequest)(nil), "flow.access.GetBlockByIDRequest") - proto.RegisterType((*GetBlockByHeightRequest)(nil), "flow.access.GetBlockByHeightRequest") - proto.RegisterType((*BlockResponse)(nil), "flow.access.BlockResponse") - proto.RegisterType((*GetCollectionByIDRequest)(nil), "flow.access.GetCollectionByIDRequest") - proto.RegisterType((*GetFullCollectionByIDRequest)(nil), "flow.access.GetFullCollectionByIDRequest") - proto.RegisterType((*CollectionResponse)(nil), "flow.access.CollectionResponse") - proto.RegisterType((*FullCollectionResponse)(nil), "flow.access.FullCollectionResponse") - proto.RegisterType((*SendTransactionRequest)(nil), "flow.access.SendTransactionRequest") - proto.RegisterType((*SendTransactionResponse)(nil), "flow.access.SendTransactionResponse") - proto.RegisterType((*GetTransactionRequest)(nil), "flow.access.GetTransactionRequest") - proto.RegisterType((*GetSystemTransactionRequest)(nil), "flow.access.GetSystemTransactionRequest") - proto.RegisterType((*GetSystemTransactionResultRequest)(nil), "flow.access.GetSystemTransactionResultRequest") - proto.RegisterType((*GetScheduledTransactionRequest)(nil), "flow.access.GetScheduledTransactionRequest") - proto.RegisterType((*GetScheduledTransactionResultRequest)(nil), "flow.access.GetScheduledTransactionResultRequest") - proto.RegisterType((*GetTransactionByIndexRequest)(nil), "flow.access.GetTransactionByIndexRequest") - proto.RegisterType((*GetTransactionsByBlockIDRequest)(nil), "flow.access.GetTransactionsByBlockIDRequest") - proto.RegisterType((*TransactionResultsResponse)(nil), "flow.access.TransactionResultsResponse") - proto.RegisterType((*TransactionsResponse)(nil), "flow.access.TransactionsResponse") - proto.RegisterType((*TransactionResponse)(nil), "flow.access.TransactionResponse") - proto.RegisterType((*TransactionResultResponse)(nil), "flow.access.TransactionResultResponse") - proto.RegisterType((*GetAccountRequest)(nil), "flow.access.GetAccountRequest") - proto.RegisterType((*GetAccountResponse)(nil), "flow.access.GetAccountResponse") - proto.RegisterType((*GetAccountAtLatestBlockRequest)(nil), "flow.access.GetAccountAtLatestBlockRequest") - proto.RegisterType((*AccountResponse)(nil), "flow.access.AccountResponse") - proto.RegisterType((*GetAccountAtBlockHeightRequest)(nil), "flow.access.GetAccountAtBlockHeightRequest") - proto.RegisterType((*GetAccountBalanceAtLatestBlockRequest)(nil), "flow.access.GetAccountBalanceAtLatestBlockRequest") - proto.RegisterType((*GetAccountBalanceAtBlockHeightRequest)(nil), "flow.access.GetAccountBalanceAtBlockHeightRequest") - proto.RegisterType((*AccountBalanceResponse)(nil), "flow.access.AccountBalanceResponse") - proto.RegisterType((*GetAccountKeysAtLatestBlockRequest)(nil), "flow.access.GetAccountKeysAtLatestBlockRequest") - proto.RegisterType((*GetAccountKeyAtLatestBlockRequest)(nil), "flow.access.GetAccountKeyAtLatestBlockRequest") - proto.RegisterType((*GetAccountKeysAtBlockHeightRequest)(nil), "flow.access.GetAccountKeysAtBlockHeightRequest") - proto.RegisterType((*GetAccountKeyAtBlockHeightRequest)(nil), "flow.access.GetAccountKeyAtBlockHeightRequest") - proto.RegisterType((*AccountKeysResponse)(nil), "flow.access.AccountKeysResponse") - proto.RegisterType((*AccountKeyResponse)(nil), "flow.access.AccountKeyResponse") - proto.RegisterType((*ExecuteScriptAtLatestBlockRequest)(nil), "flow.access.ExecuteScriptAtLatestBlockRequest") - proto.RegisterType((*ExecuteScriptAtBlockIDRequest)(nil), "flow.access.ExecuteScriptAtBlockIDRequest") - proto.RegisterType((*ExecuteScriptAtBlockHeightRequest)(nil), "flow.access.ExecuteScriptAtBlockHeightRequest") - proto.RegisterType((*ExecuteScriptResponse)(nil), "flow.access.ExecuteScriptResponse") - proto.RegisterType((*GetEventsForHeightRangeRequest)(nil), "flow.access.GetEventsForHeightRangeRequest") - proto.RegisterType((*GetEventsForBlockIDsRequest)(nil), "flow.access.GetEventsForBlockIDsRequest") - proto.RegisterType((*EventsResponse)(nil), "flow.access.EventsResponse") - proto.RegisterType((*EventsResponse_Result)(nil), "flow.access.EventsResponse.Result") - proto.RegisterType((*GetNetworkParametersRequest)(nil), "flow.access.GetNetworkParametersRequest") - proto.RegisterType((*GetNetworkParametersResponse)(nil), "flow.access.GetNetworkParametersResponse") - proto.RegisterType((*GetLatestProtocolStateSnapshotRequest)(nil), "flow.access.GetLatestProtocolStateSnapshotRequest") - proto.RegisterType((*GetProtocolStateSnapshotByBlockIDRequest)(nil), "flow.access.GetProtocolStateSnapshotByBlockIDRequest") - proto.RegisterType((*GetProtocolStateSnapshotByHeightRequest)(nil), "flow.access.GetProtocolStateSnapshotByHeightRequest") - proto.RegisterType((*ProtocolStateSnapshotResponse)(nil), "flow.access.ProtocolStateSnapshotResponse") - proto.RegisterType((*GetExecutionResultForBlockIDRequest)(nil), "flow.access.GetExecutionResultForBlockIDRequest") - proto.RegisterType((*ExecutionResultForBlockIDResponse)(nil), "flow.access.ExecutionResultForBlockIDResponse") - proto.RegisterType((*GetExecutionResultByIDRequest)(nil), "flow.access.GetExecutionResultByIDRequest") - proto.RegisterType((*ExecutionResultByIDResponse)(nil), "flow.access.ExecutionResultByIDResponse") - proto.RegisterType((*SubscribeBlocksFromStartBlockIDRequest)(nil), "flow.access.SubscribeBlocksFromStartBlockIDRequest") - proto.RegisterType((*SubscribeBlocksFromStartHeightRequest)(nil), "flow.access.SubscribeBlocksFromStartHeightRequest") - proto.RegisterType((*SubscribeBlocksFromLatestRequest)(nil), "flow.access.SubscribeBlocksFromLatestRequest") - proto.RegisterType((*SubscribeBlocksResponse)(nil), "flow.access.SubscribeBlocksResponse") - proto.RegisterType((*SubscribeBlockHeadersFromStartBlockIDRequest)(nil), "flow.access.SubscribeBlockHeadersFromStartBlockIDRequest") - proto.RegisterType((*SubscribeBlockHeadersFromStartHeightRequest)(nil), "flow.access.SubscribeBlockHeadersFromStartHeightRequest") - proto.RegisterType((*SubscribeBlockHeadersFromLatestRequest)(nil), "flow.access.SubscribeBlockHeadersFromLatestRequest") - proto.RegisterType((*SubscribeBlockHeadersResponse)(nil), "flow.access.SubscribeBlockHeadersResponse") - proto.RegisterType((*SubscribeBlockDigestsFromStartBlockIDRequest)(nil), "flow.access.SubscribeBlockDigestsFromStartBlockIDRequest") - proto.RegisterType((*SubscribeBlockDigestsFromStartHeightRequest)(nil), "flow.access.SubscribeBlockDigestsFromStartHeightRequest") - proto.RegisterType((*SubscribeBlockDigestsFromLatestRequest)(nil), "flow.access.SubscribeBlockDigestsFromLatestRequest") - proto.RegisterType((*SubscribeBlockDigestsResponse)(nil), "flow.access.SubscribeBlockDigestsResponse") - proto.RegisterType((*SendAndSubscribeTransactionStatusesRequest)(nil), "flow.access.SendAndSubscribeTransactionStatusesRequest") - proto.RegisterType((*SendAndSubscribeTransactionStatusesResponse)(nil), "flow.access.SendAndSubscribeTransactionStatusesResponse") -} - -func init() { proto.RegisterFile("flow/access/access.proto", fileDescriptor_4382e32bb8e3e8e5) } - -var fileDescriptor_4382e32bb8e3e8e5 = []byte{ - // 2839 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x1c, 0x4d, 0x6f, 0xdc, 0xc6, - 0x15, 0xb3, 0x2b, 0xeb, 0xe3, 0xe9, 0xc3, 0xce, 0x48, 0x96, 0x57, 0x94, 0x65, 0xad, 0x29, 0x39, - 0x56, 0x6c, 0x77, 0xe5, 0xda, 0x2d, 0x62, 0xa7, 0x1f, 0x80, 0xe5, 0xd8, 0x8a, 0x10, 0x3b, 0x50, - 0x29, 0xc7, 0x45, 0xbf, 0xb2, 0xa0, 0x96, 0xa3, 0x15, 0xe1, 0x5d, 0x52, 0x21, 0xb9, 0xb6, 0x95, - 0x16, 0x45, 0x12, 0x38, 0x6e, 0x80, 0xa2, 0xdf, 0x40, 0xd1, 0x1a, 0x08, 0x50, 0xb4, 0xa7, 0x36, - 0x40, 0x8b, 0x1e, 0x72, 0x08, 0xda, 0xa2, 0x97, 0x1e, 0x7a, 0xea, 0xa9, 0x7f, 0xa2, 0xa7, 0xfe, - 0x85, 0x82, 0xc3, 0xe1, 0xee, 0x70, 0x38, 0xc3, 0xe5, 0xae, 0xac, 0x48, 0xea, 0xc5, 0x16, 0x67, - 0xde, 0xbc, 0xef, 0x79, 0xf3, 0x66, 0xde, 0x93, 0xa0, 0xb4, 0xd5, 0x70, 0x1f, 0x2d, 0x9b, 0xb5, - 0x1a, 0xf1, 0x7d, 0xf6, 0x5f, 0x65, 0xc7, 0x73, 0x03, 0x17, 0x8f, 0x86, 0x33, 0x95, 0x68, 0x48, - 0x9b, 0xa5, 0x60, 0xc4, 0x09, 0xec, 0xc0, 0x26, 0x14, 0xd0, 0x6d, 0x39, 0x41, 0x04, 0xa9, 0x95, - 0x93, 0x93, 0x9b, 0x0d, 0xb7, 0xf6, 0xa0, 0xba, 0x4d, 0x4c, 0x8b, 0x78, 0x0c, 0x62, 0x46, 0x02, - 0xc1, 0xa6, 0xce, 0x24, 0xa7, 0x6a, 0x6e, 0xa3, 0x41, 0x6a, 0x81, 0xed, 0x3a, 0xf2, 0xa5, 0xe4, - 0x21, 0x69, 0xd3, 0x5d, 0x14, 0xa6, 0x1e, 0x93, 0x5a, 0x2b, 0x5c, 0x59, 0xf5, 0x88, 0xdf, 0x6a, - 0xc4, 0x50, 0x0b, 0x2a, 0x28, 0x3f, 0x30, 0x03, 0xc2, 0x80, 0x4e, 0x27, 0x81, 0x9a, 0x24, 0x30, - 0x2d, 0x33, 0x30, 0xd9, 0xec, 0xb9, 0xe4, 0xac, 0xe3, 0x5a, 0xa4, 0xfa, 0x90, 0x78, 0x7e, 0x88, - 0xc5, 0x76, 0xb6, 0x5c, 0x06, 0x36, 0x9f, 0x04, 0x0b, 0x3c, 0xd3, 0xf1, 0x4d, 0x5e, 0x96, 0xf9, - 0xba, 0xeb, 0xd6, 0x1b, 0x64, 0x99, 0x7e, 0x6d, 0xb6, 0xb6, 0x96, 0x03, 0xbb, 0x49, 0xfc, 0xc0, - 0x6c, 0xee, 0x44, 0x00, 0xfa, 0x38, 0x8c, 0xae, 0xdb, 0x4e, 0xdd, 0x20, 0x6f, 0xb7, 0x88, 0x1f, - 0xe8, 0x13, 0x30, 0x16, 0x7d, 0xfa, 0x3b, 0xae, 0xe3, 0x13, 0x7d, 0x16, 0x66, 0x56, 0x49, 0xf0, - 0x86, 0x6b, 0x91, 0xfb, 0x11, 0xf5, 0x35, 0x67, 0xcb, 0x8d, 0x81, 0xd7, 0x41, 0x93, 0x4d, 0x46, - 0x4b, 0xf1, 0x15, 0x18, 0x08, 0x39, 0x2d, 0xa1, 0x32, 0x5a, 0x1a, 0xbd, 0x72, 0xa6, 0x42, 0x8d, - 0x1b, 0xb3, 0x5a, 0x11, 0x57, 0x51, 0x58, 0xfd, 0x15, 0x98, 0x5d, 0x25, 0xc1, 0x1d, 0x33, 0x20, - 0x7e, 0xb0, 0x12, 0x9a, 0xec, 0x35, 0x6a, 0x53, 0x46, 0x10, 0xcf, 0xc2, 0x88, 0xed, 0x57, 0x7d, - 0x62, 0x36, 0x88, 0x45, 0xf1, 0x0e, 0x1b, 0xc3, 0xb6, 0xbf, 0x41, 0xbf, 0xf5, 0x8b, 0x94, 0x55, - 0x6e, 0xd5, 0xca, 0xee, 0xda, 0xab, 0xf1, 0xca, 0x09, 0x28, 0xd8, 0xd1, 0x92, 0x31, 0xa3, 0x60, - 0x5b, 0xfa, 0xcb, 0x30, 0x27, 0x02, 0xbf, 0x46, 0xec, 0xfa, 0x76, 0x10, 0x2f, 0x98, 0x86, 0xc1, - 0x6d, 0x3a, 0x40, 0x17, 0x0d, 0x18, 0xec, 0x4b, 0xff, 0x0b, 0x82, 0xc9, 0x04, 0x67, 0x4c, 0xda, - 0xcb, 0x70, 0x8c, 0xfa, 0x18, 0x13, 0x57, 0x13, 0xc4, 0xe5, 0x97, 0x44, 0x80, 0xf8, 0x2b, 0x30, - 0x16, 0xf9, 0x6d, 0xe8, 0x15, 0x2d, 0xbf, 0x54, 0x28, 0xa3, 0xa5, 0x09, 0xf9, 0xc2, 0x0d, 0x0a, - 0x61, 0x8c, 0x6e, 0x76, 0x3e, 0xf0, 0x55, 0x18, 0x8e, 0x7d, 0xa6, 0x54, 0xa4, 0x34, 0x4f, 0x09, - 0x4b, 0xef, 0xb2, 0x69, 0xa3, 0x0d, 0xa8, 0x5b, 0x70, 0x32, 0xa9, 0xdf, 0x3c, 0x9a, 0xc5, 0x15, - 0x98, 0xdc, 0x6a, 0x35, 0x1a, 0xd5, 0x88, 0x5d, 0x8f, 0x89, 0x4c, 0x19, 0x1e, 0x36, 0x5e, 0x08, - 0xa7, 0x18, 0x2e, 0xe6, 0x34, 0x6f, 0xc2, 0x64, 0xac, 0xdc, 0x0c, 0x1b, 0xf4, 0x8c, 0xd6, 0x84, - 0x53, 0x1d, 0xb4, 0xb9, 0xac, 0xd5, 0x33, 0x89, 0x3f, 0x21, 0x18, 0x4f, 0x8c, 0xe0, 0x0b, 0x49, - 0xbb, 0x4e, 0xc9, 0xcc, 0x73, 0x90, 0x16, 0x7d, 0x1f, 0x41, 0x69, 0x95, 0x04, 0x37, 0xdb, 0x41, - 0x2c, 0x4b, 0xe3, 0xf7, 0xe1, 0xa4, 0x10, 0x8c, 0xaa, 0x6f, 0xb7, 0x88, 0xb7, 0x4b, 0x39, 0x1d, - 0xbd, 0xa2, 0x0b, 0xe4, 0x6e, 0xc5, 0xb0, 0x21, 0x83, 0xe4, 0x6b, 0x21, 0xa4, 0x31, 0x49, 0xd2, - 0x83, 0xfa, 0x53, 0x04, 0xa7, 0x57, 0x49, 0x70, 0xbb, 0xd5, 0x68, 0x1c, 0x2c, 0x23, 0x4f, 0x10, - 0xe0, 0x0e, 0x07, 0x6d, 0x23, 0x5e, 0x07, 0xe8, 0x44, 0x79, 0x66, 0xc9, 0x19, 0x81, 0x06, 0xb7, - 0x8c, 0x03, 0x4e, 0x18, 0xa5, 0x90, 0xd7, 0x28, 0x3f, 0x42, 0x30, 0x9d, 0x54, 0x46, 0x9b, 0x95, - 0xaf, 0xc2, 0x18, 0x17, 0xa5, 0xfd, 0x12, 0x2a, 0x17, 0x25, 0xe1, 0xe2, 0x5e, 0x07, 0xc4, 0x48, - 0xc0, 0xf7, 0xc7, 0xcf, 0x1f, 0x11, 0x4c, 0x6f, 0x10, 0xc7, 0xe2, 0xd1, 0x32, 0xcb, 0x7c, 0x19, - 0x46, 0x39, 0xfc, 0x8a, 0xe8, 0xc5, 0xaf, 0xe3, 0xc1, 0xf7, 0xcd, 0x8e, 0x6f, 0xc1, 0xa9, 0x14, - 0xbf, 0x4c, 0x81, 0xa2, 0x2b, 0xf5, 0xa5, 0x90, 0x67, 0x05, 0x1a, 0x08, 0x25, 0xfa, 0x10, 0xd1, - 0xcf, 0xc0, 0x70, 0xb4, 0xa7, 0x6d, 0x8b, 0xa2, 0x1f, 0x33, 0x86, 0xe8, 0xf7, 0x9a, 0x85, 0x17, - 0x60, 0xbc, 0xe3, 0x28, 0xe1, 0x7c, 0x91, 0xce, 0x8f, 0x75, 0x06, 0xd7, 0x2c, 0xfc, 0x0d, 0x98, - 0xa6, 0x09, 0x44, 0x95, 0x38, 0x35, 0xd7, 0xb2, 0x9d, 0x7a, 0x7c, 0x8c, 0x97, 0x06, 0x68, 0x74, - 0x58, 0x10, 0x55, 0x14, 0x02, 0xdf, 0x62, 0xb0, 0xec, 0x80, 0x34, 0xa6, 0x88, 0x64, 0x54, 0xad, - 0xfc, 0x63, 0x7b, 0x53, 0xfe, 0x6f, 0x10, 0x3d, 0x85, 0x37, 0x76, 0xfd, 0x80, 0x34, 0x25, 0x2a, - 0xe2, 0x55, 0x82, 0x92, 0x2a, 0x89, 0xb4, 0x57, 0xe8, 0xbe, 0xcf, 0x8b, 0x7b, 0x63, 0xf1, 0xbd, - 0x02, 0x9c, 0x95, 0xb3, 0x18, 0xa6, 0x61, 0x39, 0x18, 0x55, 0x9b, 0xa5, 0xb0, 0x6f, 0x66, 0xd9, - 0x9b, 0xcc, 0x4c, 0xb7, 0x03, 0xed, 0x14, 0xe6, 0x43, 0x04, 0x67, 0x42, 0x1d, 0xd4, 0xb6, 0x89, - 0xd5, 0x6a, 0x10, 0x2b, 0xd3, 0x99, 0x07, 0xf6, 0x35, 0xec, 0xfe, 0x07, 0xc1, 0xa2, 0x92, 0x15, - 0xde, 0x22, 0x22, 0x43, 0x47, 0xcf, 0x0c, 0xfa, 0xfb, 0x05, 0x7a, 0xd6, 0x71, 0x22, 0xae, 0xec, - 0xae, 0x39, 0x16, 0x79, 0x9c, 0xc3, 0xeb, 0xa6, 0xe0, 0x98, 0x1d, 0x82, 0x52, 0xe9, 0xc6, 0x8d, - 0xe8, 0x23, 0x43, 0x09, 0xc5, 0x7d, 0x53, 0xc2, 0xc0, 0xde, 0x94, 0xf0, 0x5f, 0x04, 0xf3, 0x49, - 0x25, 0xf8, 0x2b, 0xbb, 0x34, 0xb1, 0xe9, 0x9c, 0xf9, 0xff, 0x57, 0xbb, 0x4f, 0xff, 0x03, 0x02, - 0x2d, 0xe5, 0xd6, 0x7e, 0xfb, 0x54, 0xfa, 0x3a, 0x4c, 0x72, 0xe7, 0x22, 0xbb, 0x0e, 0xc6, 0xa7, - 0xfb, 0x8b, 0x15, 0xee, 0x62, 0x5b, 0x91, 0x6c, 0x8e, 0x08, 0x89, 0x81, 0x83, 0x14, 0x81, 0xfe, - 0x8e, 0xb7, 0x1f, 0x22, 0x98, 0xe2, 0x6d, 0x73, 0xb0, 0xd9, 0xc7, 0x87, 0x08, 0x26, 0x65, 0x27, - 0xf9, 0xde, 0x52, 0x8f, 0xbe, 0x58, 0xf9, 0xa4, 0x08, 0x33, 0x4a, 0xfd, 0xe3, 0x6b, 0x30, 0xc8, - 0x32, 0x77, 0x44, 0xdd, 0xb0, 0xac, 0xe6, 0x85, 0xe5, 0xef, 0x0c, 0x1e, 0xcf, 0xc3, 0x68, 0xf4, - 0x53, 0xb5, 0xe6, 0x5a, 0x84, 0x6d, 0x6f, 0x88, 0x86, 0x6e, 0xba, 0x16, 0x09, 0x73, 0x05, 0xe2, - 0x79, 0xae, 0x57, 0x6d, 0x12, 0xdf, 0x37, 0xeb, 0x84, 0xba, 0xe3, 0x88, 0x31, 0x46, 0x07, 0xef, - 0x46, 0x63, 0xf8, 0x12, 0x0c, 0x52, 0x9f, 0xf6, 0x4b, 0x03, 0xd4, 0x2e, 0x53, 0xb2, 0x6d, 0x60, - 0x30, 0x98, 0xc4, 0xfe, 0x3a, 0x96, 0xdc, 0x5f, 0xe7, 0x60, 0x82, 0xf7, 0x46, 0xdb, 0x2a, 0x0d, - 0x52, 0x80, 0x71, 0x6e, 0x54, 0x96, 0xc0, 0x0c, 0x49, 0x12, 0x98, 0xb3, 0xf1, 0xa5, 0x86, 0x5d, - 0xb0, 0x86, 0x69, 0xf0, 0x8e, 0x2e, 0x2e, 0xd1, 0x25, 0x2c, 0x61, 0x8a, 0x91, 0x9c, 0xa6, 0xc0, - 0x17, 0xe1, 0x85, 0x9a, 0xdb, 0xdc, 0x69, 0x05, 0x26, 0xa5, 0xde, 0xa2, 0x5a, 0x01, 0x8a, 0xfc, - 0x04, 0x37, 0xf1, 0x66, 0x38, 0xae, 0x7f, 0x80, 0xe0, 0x85, 0x55, 0x12, 0xdc, 0x88, 0x1e, 0x81, - 0xe2, 0x08, 0x53, 0x82, 0x21, 0xd3, 0xb2, 0x3c, 0xe2, 0xfb, 0x71, 0x80, 0x61, 0x9f, 0xfb, 0x76, - 0xd0, 0x7d, 0x17, 0x30, 0xcf, 0x46, 0xfb, 0xee, 0x3f, 0xc4, 0x9e, 0xa7, 0x98, 0x13, 0x4f, 0x0b, - 0xf8, 0xe3, 0x05, 0x31, 0x58, 0x7f, 0xce, 0xfb, 0xf3, 0xe8, 0xc0, 0x67, 0xc8, 0x6e, 0xc8, 0xae, - 0xf1, 0x9f, 0xbd, 0x46, 0x1e, 0xc3, 0xf1, 0x03, 0x52, 0xc7, 0x27, 0x82, 0x3a, 0x56, 0x3a, 0x1e, - 0xd9, 0x5d, 0x1d, 0xa2, 0x57, 0x17, 0xd2, 0x5e, 0xbd, 0x5f, 0x27, 0xc9, 0xaf, 0x11, 0x9c, 0xeb, - 0xf0, 0xbd, 0x62, 0x36, 0x4c, 0xa7, 0x46, 0x0e, 0x89, 0x35, 0xff, 0x2a, 0xe7, 0xed, 0xa8, 0xa8, - 0xb6, 0x0e, 0xd3, 0x49, 0xd6, 0xdb, 0x3e, 0x59, 0x82, 0xa1, 0xcd, 0x68, 0x88, 0x65, 0x9f, 0xf1, - 0x67, 0x7f, 0xbe, 0xf7, 0x4b, 0x04, 0x7a, 0x47, 0x4f, 0xaf, 0x93, 0x5d, 0xff, 0x90, 0x18, 0xf0, - 0x63, 0x44, 0x2f, 0x46, 0x1d, 0xc6, 0x7a, 0xe4, 0x4b, 0x9e, 0xa1, 0xee, 0x97, 0xbd, 0x3e, 0x95, - 0xa8, 0xf1, 0xa8, 0xf8, 0xda, 0xbf, 0xd2, 0x9a, 0x7e, 0xde, 0xac, 0xb7, 0x8d, 0x51, 0xcc, 0x65, - 0x8c, 0x3d, 0xe6, 0xf4, 0x61, 0x9a, 0xc6, 0x59, 0x82, 0x4b, 0xd3, 0xc6, 0x58, 0x9c, 0xae, 0x3e, - 0x20, 0xbb, 0x71, 0xce, 0x38, 0x23, 0x8f, 0xe9, 0xaf, 0x93, 0x5d, 0x63, 0xd4, 0xec, 0x60, 0xe9, - 0x6f, 0x7b, 0x7d, 0x80, 0x00, 0x73, 0x08, 0x63, 0x4e, 0x5e, 0x81, 0x51, 0x8e, 0x13, 0xc5, 0x3b, - 0x1e, 0xb7, 0x0e, 0x3a, 0x8c, 0xf4, 0xc7, 0xc7, 0x9f, 0x11, 0x9c, 0x8d, 0xf4, 0x47, 0x36, 0x6a, - 0x9e, 0xbd, 0x23, 0x3f, 0x74, 0xa7, 0x61, 0xd0, 0xa7, 0xb3, 0xcc, 0xc4, 0xec, 0x0b, 0x9f, 0x86, - 0x11, 0xd3, 0xab, 0xb7, 0x9a, 0x34, 0xa3, 0x2b, 0x94, 0x8b, 0x4b, 0x63, 0x46, 0x67, 0x60, 0xdf, - 0xfc, 0xf2, 0x9f, 0x08, 0xe6, 0x04, 0x9e, 0xf3, 0x5f, 0xcc, 0x3a, 0xa2, 0x14, 0xd4, 0xa2, 0x14, - 0x73, 0x8b, 0xb2, 0x47, 0x8f, 0xfc, 0x77, 0x5a, 0xfd, 0x92, 0x2d, 0x26, 0x6e, 0x24, 0x94, 0xde, - 0x48, 0x87, 0x4b, 0xac, 0x9f, 0x20, 0x38, 0x99, 0x10, 0xab, 0xed, 0xe0, 0x53, 0x70, 0xec, 0xa1, - 0xd9, 0x68, 0x11, 0x66, 0x96, 0xe8, 0xa3, 0x2f, 0xd7, 0x95, 0xa7, 0xd7, 0x45, 0x45, 0x7a, 0xfd, - 0xfb, 0x02, 0x4d, 0xa5, 0xe8, 0xfd, 0xc2, 0xbf, 0xed, 0x7a, 0x4c, 0xc1, 0xa6, 0x53, 0x27, 0xb1, - 0x96, 0x31, 0x0c, 0x04, 0xbb, 0x3b, 0x11, 0x67, 0x23, 0x06, 0xfd, 0x39, 0xd4, 0xbc, 0x1f, 0x98, - 0x5e, 0x20, 0x84, 0x30, 0x3a, 0xc6, 0x34, 0x3f, 0x07, 0x40, 0x1c, 0x2b, 0x06, 0x88, 0xe8, 0x8f, - 0x10, 0xc7, 0x62, 0xd3, 0x47, 0xf0, 0x75, 0xf4, 0xbd, 0x02, 0x7d, 0x1d, 0x6d, 0xeb, 0x8a, 0x6d, - 0x2e, 0x3f, 0x4b, 0x51, 0xb3, 0x30, 0x12, 0xef, 0xb8, 0x38, 0x12, 0x0c, 0xb3, 0x2d, 0xe7, 0x1f, - 0xc5, 0xe7, 0x9f, 0xbf, 0x17, 0x60, 0x22, 0x52, 0x00, 0x77, 0x4a, 0x0c, 0x25, 0x1f, 0x3d, 0xf4, - 0xc4, 0xa3, 0x47, 0x12, 0xba, 0xc2, 0x2e, 0xde, 0xf1, 0x92, 0xbe, 0x5c, 0x5c, 0xfb, 0x14, 0xc1, - 0x60, 0x84, 0x28, 0x2b, 0xa4, 0xe5, 0x38, 0x67, 0x3b, 0xf7, 0xee, 0x62, 0x8e, 0x7b, 0xf7, 0x4d, - 0x38, 0x1e, 0x21, 0x6c, 0x97, 0xd2, 0x99, 0x3a, 0xb5, 0x4a, 0x54, 0x6c, 0xaf, 0xc4, 0xc5, 0xf6, - 0xca, 0xbd, 0x18, 0xc2, 0x98, 0xa0, 0x4b, 0xda, 0xdf, 0xfa, 0x1c, 0x75, 0xa2, 0x37, 0x48, 0xf0, - 0xc8, 0xf5, 0x1e, 0xac, 0x9b, 0x9e, 0xd9, 0x24, 0x01, 0xf1, 0x62, 0x27, 0xd2, 0xaf, 0xd3, 0x37, - 0x46, 0xc9, 0x34, 0xd3, 0xf6, 0x0c, 0x0c, 0xd7, 0xb6, 0x4d, 0xdb, 0x89, 0xe5, 0x1d, 0x31, 0x86, - 0xe8, 0xf7, 0x9a, 0xa5, 0x9f, 0xa7, 0x19, 0x7c, 0x74, 0x4c, 0xad, 0x87, 0x8c, 0xd4, 0xdc, 0x06, - 0x35, 0xdd, 0x86, 0x63, 0xee, 0xf8, 0xdb, 0x6e, 0x1c, 0x37, 0xf5, 0x5b, 0xb0, 0xb4, 0x4a, 0xe4, - 0x20, 0x3d, 0xbc, 0xe5, 0xe9, 0x77, 0xe0, 0xbc, 0x1a, 0x4d, 0xaf, 0x91, 0x5a, 0x7f, 0x82, 0x60, - 0x4e, 0xc1, 0x35, 0x13, 0xbd, 0x02, 0xd8, 0x27, 0x9e, 0x6d, 0x36, 0xec, 0x77, 0x88, 0x15, 0xcf, - 0x32, 0xa6, 0x24, 0x33, 0xfd, 0x1d, 0xfc, 0xbf, 0x42, 0xb0, 0x10, 0x6e, 0xf2, 0xd8, 0xf7, 0x23, - 0x37, 0xeb, 0xec, 0xf6, 0x1c, 0x47, 0xe9, 0x7e, 0x65, 0xf8, 0xbf, 0x6b, 0x1f, 0x8a, 0x52, 0xbe, - 0x98, 0x96, 0xd6, 0xe0, 0x84, 0xd8, 0x9c, 0xa2, 0x68, 0xc4, 0x10, 0x70, 0x19, 0xc7, 0x49, 0x72, - 0xa0, 0x3f, 0x05, 0xfe, 0x00, 0xd1, 0x06, 0x0b, 0x01, 0xf9, 0x41, 0x94, 0x84, 0x3f, 0x42, 0x30, - 0x2b, 0x65, 0xe3, 0x90, 0x68, 0xea, 0x6f, 0x08, 0x5e, 0xdc, 0x68, 0x6d, 0x86, 0x19, 0xc9, 0x26, - 0xa1, 0x66, 0xf4, 0x6f, 0x7b, 0x6e, 0x73, 0x23, 0x3c, 0x44, 0x05, 0x6f, 0x5b, 0x84, 0x89, 0xe8, - 0xbc, 0x15, 0x7c, 0x2e, 0x3a, 0x85, 0x57, 0x98, 0xe3, 0xed, 0xb1, 0x0b, 0x41, 0xd1, 0x32, 0x51, - 0x54, 0xb5, 0x4c, 0xfc, 0x03, 0xc1, 0x39, 0x15, 0xff, 0xc9, 0xed, 0x7f, 0x09, 0x30, 0xcf, 0x7e, - 0x22, 0x08, 0x9c, 0xe8, 0x88, 0xc0, 0x82, 0xf2, 0x67, 0x2c, 0xc6, 0xcf, 0x10, 0x94, 0x25, 0x62, - 0x44, 0x71, 0x34, 0x96, 0x40, 0xe4, 0x09, 0x3d, 0x17, 0x9e, 0x94, 0xdd, 0x28, 0xb7, 0xe0, 0x94, - 0xc0, 0x52, 0x3f, 0x6d, 0x29, 0xfa, 0x2f, 0x10, 0x5c, 0x4a, 0xe2, 0x89, 0x1a, 0x91, 0x0e, 0xd4, - 0xcf, 0xf4, 0x67, 0x08, 0x2e, 0x66, 0x73, 0x75, 0x70, 0xde, 0xa3, 0xd7, 0xc5, 0x3d, 0xc9, 0xf1, - 0xf6, 0x3c, 0x5d, 0x42, 0xdf, 0x80, 0x39, 0x29, 0x21, 0xae, 0x8b, 0x6e, 0x30, 0xea, 0x6b, 0xcc, - 0xd1, 0x58, 0xc6, 0x20, 0x25, 0x06, 0x7f, 0xd5, 0xae, 0x13, 0x3f, 0x38, 0x6c, 0x06, 0x17, 0xb9, - 0x3a, 0x4c, 0x06, 0xe7, 0x78, 0x7b, 0xae, 0x06, 0xff, 0x2d, 0x12, 0x2d, 0xce, 0x28, 0xf1, 0xb9, - 0xdd, 0x1e, 0x72, 0x59, 0x49, 0x76, 0x5a, 0xec, 0x39, 0x3b, 0xfd, 0xa8, 0x00, 0x17, 0x36, 0x88, - 0x63, 0xdd, 0x70, 0xac, 0x36, 0xaf, 0xa9, 0xe2, 0x17, 0xf1, 0x9f, 0x4f, 0x0f, 0xd1, 0x11, 0x2c, - 0x06, 0x7f, 0x1c, 0xba, 0x72, 0x1e, 0xfd, 0x74, 0xab, 0x0e, 0xa3, 0x3d, 0x56, 0x87, 0x17, 0x60, - 0x9c, 0x15, 0x14, 0xab, 0x9d, 0x67, 0xdb, 0x01, 0x63, 0x8c, 0x0d, 0xd2, 0xbe, 0x84, 0x2b, 0x4f, - 0x2f, 0xc1, 0xc8, 0x0d, 0x8a, 0xfd, 0xc6, 0xfa, 0x1a, 0xfe, 0x12, 0x0c, 0xac, 0xdb, 0x4e, 0x1d, - 0x97, 0x12, 0x64, 0xb9, 0x1e, 0x60, 0x6d, 0x46, 0x32, 0xc3, 0x04, 0x21, 0xb4, 0xfe, 0x25, 0xf4, - 0xee, 0xe2, 0xa4, 0x04, 0xca, 0x7e, 0x61, 0xed, 0x7c, 0x57, 0x38, 0x46, 0x66, 0x13, 0xa6, 0x64, - 0x6d, 0xc0, 0x78, 0x49, 0x44, 0xa0, 0xea, 0x14, 0xd6, 0xca, 0x09, 0x48, 0x59, 0xc3, 0xee, 0x5b, - 0x54, 0x14, 0xa1, 0x5d, 0x38, 0x2d, 0x8a, 0xbc, 0x9f, 0x38, 0x07, 0xfe, 0x2d, 0x98, 0x96, 0x77, - 0x18, 0xe3, 0x0b, 0x99, 0x34, 0x12, 0x41, 0x30, 0x07, 0x9d, 0x75, 0x98, 0x48, 0x2a, 0x02, 0xeb, - 0x19, 0x5a, 0x8a, 0xf1, 0x6a, 0x69, 0xbc, 0x6d, 0x8c, 0x77, 0x60, 0x8c, 0x6f, 0xdf, 0xc5, 0x65, - 0x29, 0xbf, 0xbc, 0x36, 0xb2, 0xb0, 0xdd, 0x83, 0x13, 0x62, 0xd7, 0x2e, 0x5e, 0x54, 0x60, 0x4c, - 0xca, 0x9e, 0x85, 0xf5, 0x5b, 0xb4, 0x1e, 0x9c, 0x6c, 0x36, 0xc5, 0xe7, 0x44, 0xb4, 0xd2, 0x66, - 0x54, 0x6d, 0x3e, 0x01, 0x26, 0xe9, 0xd1, 0xac, 0xd3, 0xe6, 0xc0, 0x74, 0x37, 0x2b, 0x7e, 0x49, - 0x24, 0xa0, 0xec, 0x78, 0xd5, 0x16, 0x12, 0xa0, 0x8a, 0x66, 0xd0, 0x6f, 0xc3, 0x71, 0xa1, 0xcd, - 0x11, 0x27, 0xd7, 0xc9, 0x9b, 0x36, 0xb5, 0xc5, 0x6c, 0x20, 0x86, 0xfd, 0x3e, 0xf5, 0x0c, 0x1e, - 0x79, 0xca, 0x33, 0x24, 0xb8, 0xcb, 0x19, 0xe1, 0x88, 0xdf, 0x9d, 0xa9, 0x40, 0x95, 0x0b, 0x7b, - 0xce, 0x60, 0x87, 0x77, 0xe8, 0xfb, 0x48, 0x6a, 0x9e, 0xb5, 0x5a, 0xa5, 0x0d, 0xa1, 0x6c, 0xc7, - 0xca, 0x4d, 0xf1, 0x11, 0x7d, 0x02, 0x4d, 0xb7, 0xf8, 0xb4, 0xdf, 0x42, 0xf0, 0xa5, 0x0c, 0xa2, - 0xa9, 0xf6, 0x27, 0x21, 0xd8, 0x65, 0xb4, 0x0e, 0x3d, 0xa0, 0x0d, 0xdc, 0x52, 0x5c, 0x3d, 0x92, - 0x3c, 0xab, 0x22, 0xe9, 0x0b, 0xb6, 0x4b, 0xf5, 0x4d, 0xa6, 0x23, 0xab, 0xaa, 0xfb, 0x33, 0x87, - 0x7f, 0x04, 0xf4, 0xd7, 0x42, 0x14, 0xbd, 0x99, 0xb8, 0x92, 0x83, 0x12, 0xd7, 0x32, 0x98, 0xdb, - 0x7e, 0xdb, 0xf4, 0xb7, 0x03, 0x64, 0x2d, 0x88, 0xf8, 0x62, 0x8a, 0xa4, 0xba, 0x67, 0x32, 0x87, - 0x7c, 0xef, 0xd0, 0xa7, 0x0d, 0x75, 0xb3, 0x23, 0xfe, 0x7c, 0x3e, 0x7a, 0xfd, 0x48, 0x79, 0x17, - 0xa0, 0x53, 0x74, 0xc4, 0x67, 0x44, 0x42, 0xc9, 0x06, 0x19, 0x21, 0xd2, 0x49, 0x3a, 0x57, 0x2c, - 0xaa, 0x34, 0x59, 0x47, 0x49, 0x5a, 0x69, 0x19, 0x7d, 0x27, 0xda, 0xe9, 0x04, 0x70, 0x17, 0x2a, - 0x7c, 0xda, 0xae, 0xa6, 0x92, 0xae, 0xf4, 0x74, 0xa1, 0xb2, 0xcb, 0xb7, 0x83, 0xc8, 0xda, 0x2a, - 0xf0, 0x15, 0x05, 0xb1, 0x8c, 0x1e, 0x0c, 0x21, 0x8e, 0x2b, 0xba, 0x0b, 0xe4, 0xa4, 0x79, 0x39, - 0xbb, 0x92, 0x96, 0x88, 0x9b, 0x8b, 0x74, 0x14, 0x28, 0x55, 0x8d, 0x08, 0x78, 0x59, 0x41, 0x57, - 0xd5, 0xb2, 0x20, 0xb8, 0xbf, 0xac, 0x1e, 0x2c, 0xa1, 0xc8, 0x4b, 0x9a, 0x4d, 0x51, 0x22, 0x66, - 0x77, 0x8a, 0x4d, 0x1a, 0x50, 0x14, 0x3d, 0x0d, 0xe9, 0x80, 0x92, 0xdd, 0xfc, 0x20, 0x6c, 0x0a, - 0x49, 0x99, 0x39, 0x4d, 0x8e, 0x97, 0x2f, 0x93, 0x9c, 0x44, 0xbc, 0xae, 0xe4, 0x76, 0x40, 0x53, - 0xd7, 0x98, 0x05, 0x72, 0x5d, 0x8b, 0xd1, 0x9a, 0xae, 0x86, 0xe7, 0x42, 0xe5, 0xb4, 0xbc, 0x42, - 0x2c, 0xa4, 0xa6, 0x99, 0x65, 0xe4, 0x5c, 0x94, 0xd2, 0xb2, 0xa9, 0x55, 0xd9, 0xb5, 0xd2, 0x9b, - 0x8b, 0x62, 0x8d, 0xc6, 0x1a, 0x59, 0x25, 0x33, 0x1d, 0x6b, 0x32, 0xea, 0x9d, 0xda, 0x6c, 0x46, - 0xf9, 0x0a, 0x7f, 0x87, 0x9e, 0xa2, 0xa9, 0x12, 0x60, 0xfa, 0x14, 0x55, 0x55, 0x09, 0xb3, 0xd1, - 0x3f, 0xa0, 0xe8, 0x53, 0xd5, 0x9f, 0x34, 0x7a, 0x55, 0xfd, 0x48, 0x7b, 0x29, 0x07, 0x24, 0x23, - 0xf6, 0x6e, 0xd4, 0x46, 0x97, 0x51, 0x30, 0x4a, 0x07, 0xaf, 0xee, 0xd5, 0x25, 0x2d, 0xe9, 0x49, - 0xd9, 0x25, 0x9d, 0xa7, 0x51, 0x2b, 0x4d, 0x76, 0x29, 0x0a, 0x7f, 0x51, 0xe4, 0x22, 0x57, 0xe9, - 0xaa, 0x27, 0x46, 0x9e, 0x20, 0x28, 0x77, 0x2b, 0x66, 0xe1, 0x2f, 0xe4, 0xe4, 0x23, 0xe9, 0xbb, - 0xbd, 0xb0, 0xf1, 0x6e, 0xf4, 0xeb, 0x74, 0xca, 0x2a, 0x0f, 0xbe, 0x9c, 0xf2, 0xb3, 0x2e, 0x85, - 0x2a, 0x4d, 0xb6, 0xd5, 0xb2, 0xea, 0x47, 0x0e, 0xbd, 0xbd, 0x4a, 0xea, 0x26, 0xe9, 0xdb, 0xab, - 0xba, 0xc6, 0xa3, 0x2d, 0x65, 0x51, 0x4d, 0x54, 0x61, 0xbe, 0x0f, 0xf3, 0x5d, 0x8a, 0x20, 0xf8, - 0x6a, 0xf2, 0xd2, 0x93, 0xab, 0x64, 0x22, 0xde, 0x94, 0xe4, 0xaf, 0xe9, 0x97, 0x11, 0xfe, 0x1e, - 0x9c, 0xc9, 0x2e, 0x62, 0x08, 0x9b, 0x20, 0x57, 0xc5, 0x23, 0x37, 0x75, 0x0f, 0x66, 0x94, 0xb5, - 0x07, 0xfc, 0xb9, 0x6e, 0x84, 0x13, 0xef, 0x93, 0xb9, 0x69, 0xfe, 0x34, 0x55, 0xb7, 0x51, 0x54, - 0x05, 0xf0, 0xf5, 0x0c, 0x8c, 0xd9, 0x95, 0x04, 0xc1, 0xeb, 0x33, 0x5f, 0xba, 0x2f, 0x23, 0xfc, - 0x63, 0x04, 0x8b, 0x79, 0x4a, 0x02, 0xf8, 0x5a, 0x0f, 0x1c, 0x65, 0x6d, 0xc3, 0x6e, 0x0c, 0x3d, - 0x41, 0xa2, 0x5b, 0xa6, 0xea, 0x00, 0x99, 0x6e, 0xa9, 0xaa, 0x1a, 0xf4, 0xc8, 0x46, 0xda, 0x54, - 0x8a, 0xf7, 0xfc, 0x4c, 0x53, 0x65, 0xd7, 0x00, 0x32, 0x59, 0x12, 0x9e, 0xa8, 0xa5, 0xa6, 0x92, - 0x3f, 0xe6, 0x67, 0x9a, 0x2a, 0xf3, 0xfd, 0xbf, 0x47, 0x86, 0xd2, 0xa6, 0x4a, 0xbd, 0xe0, 0x67, - 0x9a, 0x4a, 0xf5, 0xde, 0xdf, 0x23, 0x1b, 0xcf, 0x10, 0x2c, 0xe4, 0x78, 0x19, 0xc6, 0x2f, 0xa7, - 0x5e, 0x70, 0xf2, 0xbd, 0xb5, 0x6b, 0xd7, 0x7a, 0x5f, 0x18, 0x33, 0xb7, 0x72, 0x07, 0x34, 0xd7, - 0xab, 0x57, 0x5c, 0x87, 0xa2, 0x68, 0xd7, 0x01, 0x22, 0x5c, 0xdf, 0xac, 0xd4, 0xed, 0x60, 0xbb, - 0xb5, 0x59, 0xa9, 0xb9, 0xcd, 0xe5, 0x08, 0x64, 0x99, 0xfe, 0xd3, 0xfe, 0xd3, 0x11, 0x75, 0x77, - 0x99, 0xfb, 0xd3, 0x1d, 0x9b, 0x83, 0x74, 0xe2, 0xea, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf1, - 0xcf, 0xfe, 0x26, 0xd0, 0x43, 0x00, 0x00, +func (x *EventsResponse_Result) GetEvents() []*entities.Event { + if x != nil { + return x.Events + } + return nil +} + +func (x *EventsResponse_Result) GetBlockTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.BlockTimestamp + } + return nil +} + +var File_flow_access_access_proto protoreflect.FileDescriptor + +const file_flow_access_access_proto_rawDesc = "" + + "\n" + + "\x18flow/access/access.proto\x12\vflow.access\x1a\x1bflow/entities/account.proto\x1a flow/entities/block_header.proto\x1a\x19flow/entities/block.proto\x1a\x1eflow/entities/collection.proto\x1a\x19flow/entities/event.proto\x1a$flow/entities/execution_result.proto\x1a#flow/entities/execution_state.proto\x1a\x1cflow/entities/metadata.proto\x1a%flow/entities/node_version_info.proto\x1a\x1fflow/entities/transaction.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\r\n" + + "\vPingRequest\"\x0e\n" + + "\fPingResponse\"\x1b\n" + + "\x19GetNodeVersionInfoRequest\"P\n" + + "\x1aGetNodeVersionInfoResponse\x122\n" + + "\x04info\x18\x01 \x01(\v2\x1e.flow.entities.NodeVersionInfoR\x04info\":\n" + + "\x1bGetLatestBlockHeaderRequest\x12\x1b\n" + + "\tis_sealed\x18\x01 \x01(\bR\bisSealed\"+\n" + + "\x19GetBlockHeaderByIDRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\"7\n" + + "\x1dGetBlockHeaderByHeightRequest\x12\x16\n" + + "\x06height\x18\x01 \x01(\x04R\x06height\"\xbb\x01\n" + + "\x13BlockHeaderResponse\x120\n" + + "\x05block\x18\x01 \x01(\v2\x1a.flow.entities.BlockHeaderR\x05block\x12=\n" + + "\fblock_status\x18\x02 \x01(\x0e2\x1a.flow.entities.BlockStatusR\vblockStatus\x123\n" + + "\bmetadata\x18\x03 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"d\n" + + "\x15GetLatestBlockRequest\x12\x1b\n" + + "\tis_sealed\x18\x01 \x01(\bR\bisSealed\x12.\n" + + "\x13full_block_response\x18\x02 \x01(\bR\x11fullBlockResponse\"U\n" + + "\x13GetBlockByIDRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x12.\n" + + "\x13full_block_response\x18\x02 \x01(\bR\x11fullBlockResponse\"a\n" + + "\x17GetBlockByHeightRequest\x12\x16\n" + + "\x06height\x18\x01 \x01(\x04R\x06height\x12.\n" + + "\x13full_block_response\x18\x02 \x01(\bR\x11fullBlockResponse\"\xaf\x01\n" + + "\rBlockResponse\x12*\n" + + "\x05block\x18\x01 \x01(\v2\x14.flow.entities.BlockR\x05block\x12=\n" + + "\fblock_status\x18\x02 \x01(\x0e2\x1a.flow.entities.BlockStatusR\vblockStatus\x123\n" + + "\bmetadata\x18\x03 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\x82\x01\n" + + "\x18GetCollectionByIDRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x12V\n" + + "\x15execution_state_query\x18\x02 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\x86\x01\n" + + "\x1cGetFullCollectionByIDRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x12V\n" + + "\x15execution_state_query\x18\x02 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\x84\x01\n" + + "\x12CollectionResponse\x129\n" + + "\n" + + "collection\x18\x01 \x01(\v2\x19.flow.entities.CollectionR\n" + + "collection\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\x8d\x01\n" + + "\x16FullCollectionResponse\x12>\n" + + "\ftransactions\x18\x01 \x03(\v2\x1a.flow.entities.TransactionR\ftransactions\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\xae\x01\n" + + "\x16SendTransactionRequest\x12<\n" + + "\vtransaction\x18\x01 \x01(\v2\x1a.flow.entities.TransactionR\vtransaction\x12V\n" + + "\x15execution_state_query\x18\x02 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"^\n" + + "\x17SendTransactionResponse\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\x9a\x02\n" + + "\x15GetTransactionRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x12\x19\n" + + "\bblock_id\x18\x02 \x01(\fR\ablockId\x12#\n" + + "\rcollection_id\x18\x03 \x01(\fR\fcollectionId\x12Y\n" + + "\x16event_encoding_version\x18\x04 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x05 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xa0\x01\n" + + "\x1bGetSystemTransactionRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12\x0e\n" + + "\x02id\x18\x02 \x01(\fR\x02id\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\x81\x02\n" + + "!GetSystemTransactionResultRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12Y\n" + + "\x16event_encoding_version\x18\x02 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\x12\x0e\n" + + "\x02id\x18\x04 \x01(\fR\x02id\"\x88\x01\n" + + "\x1eGetScheduledTransactionRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\x04R\x02id\x12V\n" + + "\x15execution_state_query\x18\x02 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xe9\x01\n" + + "$GetScheduledTransactionResultRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\x04R\x02id\x12Y\n" + + "\x16event_encoding_version\x18\x02 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\x82\x02\n" + + "\x1cGetTransactionByIndexRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12\x14\n" + + "\x05index\x18\x02 \x01(\rR\x05index\x12Y\n" + + "\x16event_encoding_version\x18\x03 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x04 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xef\x01\n" + + "\x1fGetTransactionsByBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12Y\n" + + "\x16event_encoding_version\x18\x02 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xaa\x01\n" + + "\x1aTransactionResultsResponse\x12W\n" + + "\x13transaction_results\x18\x01 \x03(\v2&.flow.access.TransactionResultResponseR\x12transactionResults\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\x8b\x01\n" + + "\x14TransactionsResponse\x12>\n" + + "\ftransactions\x18\x01 \x03(\v2\x1a.flow.entities.TransactionR\ftransactions\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\x88\x01\n" + + "\x13TransactionResponse\x12<\n" + + "\vtransaction\x18\x01 \x01(\v2\x1a.flow.entities.TransactionR\vtransaction\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\xb5\x03\n" + + "\x19TransactionResultResponse\x128\n" + + "\x06status\x18\x01 \x01(\x0e2 .flow.entities.TransactionStatusR\x06status\x12\x1f\n" + + "\vstatus_code\x18\x02 \x01(\rR\n" + + "statusCode\x12#\n" + + "\rerror_message\x18\x03 \x01(\tR\ferrorMessage\x12,\n" + + "\x06events\x18\x04 \x03(\v2\x14.flow.entities.EventR\x06events\x12\x19\n" + + "\bblock_id\x18\x05 \x01(\fR\ablockId\x12%\n" + + "\x0etransaction_id\x18\x06 \x01(\fR\rtransactionId\x12#\n" + + "\rcollection_id\x18\a \x01(\fR\fcollectionId\x12!\n" + + "\fblock_height\x18\b \x01(\x04R\vblockHeight\x123\n" + + "\bmetadata\x18\t \x01(\v2\x17.flow.entities.MetadataR\bmetadata\x12+\n" + + "\x11computation_usage\x18\n" + + " \x01(\x04R\x10computationUsage\"\x85\x01\n" + + "\x11GetAccountRequest\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12V\n" + + "\x15execution_state_query\x18\x02 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"{\n" + + "\x12GetAccountResponse\x120\n" + + "\aaccount\x18\x01 \x01(\v2\x16.flow.entities.AccountR\aaccount\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\x92\x01\n" + + "\x1eGetAccountAtLatestBlockRequest\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12V\n" + + "\x15execution_state_query\x18\x02 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"x\n" + + "\x0fAccountResponse\x120\n" + + "\aaccount\x18\x01 \x01(\v2\x16.flow.entities.AccountR\aaccount\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\xb5\x01\n" + + "\x1eGetAccountAtBlockHeightRequest\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12!\n" + + "\fblock_height\x18\x02 \x01(\x04R\vblockHeight\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\x99\x01\n" + + "%GetAccountBalanceAtLatestBlockRequest\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12V\n" + + "\x15execution_state_query\x18\x02 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xbc\x01\n" + + "%GetAccountBalanceAtBlockHeightRequest\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12!\n" + + "\fblock_height\x18\x02 \x01(\x04R\vblockHeight\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"g\n" + + "\x16AccountBalanceResponse\x12\x18\n" + + "\abalance\x18\x01 \x01(\x04R\abalance\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\x96\x01\n" + + "\"GetAccountKeysAtLatestBlockRequest\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12V\n" + + "\x15execution_state_query\x18\x02 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xab\x01\n" + + "!GetAccountKeyAtLatestBlockRequest\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12\x14\n" + + "\x05index\x18\x02 \x01(\rR\x05index\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xb9\x01\n" + + "\"GetAccountKeysAtBlockHeightRequest\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12!\n" + + "\fblock_height\x18\x02 \x01(\x04R\vblockHeight\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xce\x01\n" + + "!GetAccountKeyAtBlockHeightRequest\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12!\n" + + "\fblock_height\x18\x02 \x01(\x04R\vblockHeight\x12\x14\n" + + "\x05index\x18\x03 \x01(\rR\x05index\x12V\n" + + "\x15execution_state_query\x18\x04 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\x88\x01\n" + + "\x13AccountKeysResponse\x12<\n" + + "\faccount_keys\x18\x01 \x03(\v2\x19.flow.entities.AccountKeyR\vaccountKeys\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\x85\x01\n" + + "\x12AccountKeyResponse\x12:\n" + + "\vaccount_key\x18\x01 \x01(\v2\x19.flow.entities.AccountKeyR\n" + + "accountKey\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\xb1\x01\n" + + "!ExecuteScriptAtLatestBlockRequest\x12\x16\n" + + "\x06script\x18\x01 \x01(\fR\x06script\x12\x1c\n" + + "\targuments\x18\x02 \x03(\fR\targuments\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xc8\x01\n" + + "\x1dExecuteScriptAtBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12\x16\n" + + "\x06script\x18\x02 \x01(\fR\x06script\x12\x1c\n" + + "\targuments\x18\x03 \x03(\fR\targuments\x12V\n" + + "\x15execution_state_query\x18\x04 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xd4\x01\n" + + "!ExecuteScriptAtBlockHeightRequest\x12!\n" + + "\fblock_height\x18\x01 \x01(\x04R\vblockHeight\x12\x16\n" + + "\x06script\x18\x02 \x01(\fR\x06script\x12\x1c\n" + + "\targuments\x18\x03 \x03(\fR\targuments\x12V\n" + + "\x15execution_state_query\x18\x04 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\x8f\x01\n" + + "\x15ExecuteScriptResponse\x12\x14\n" + + "\x05value\x18\x01 \x01(\fR\x05value\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\x12+\n" + + "\x11computation_usage\x18\x03 \x01(\x04R\x10computationUsage\"\xa9\x02\n" + + "\x1eGetEventsForHeightRangeRequest\x12\x12\n" + + "\x04type\x18\x01 \x01(\tR\x04type\x12!\n" + + "\fstart_height\x18\x02 \x01(\x04R\vstartHeight\x12\x1d\n" + + "\n" + + "end_height\x18\x03 \x01(\x04R\tendHeight\x12Y\n" + + "\x16event_encoding_version\x18\x04 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x05 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\x81\x02\n" + + "\x1bGetEventsForBlockIDsRequest\x12\x12\n" + + "\x04type\x18\x01 \x01(\tR\x04type\x12\x1b\n" + + "\tblock_ids\x18\x02 \x03(\fR\bblockIds\x12Y\n" + + "\x16event_encoding_version\x18\x03 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x04 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xbf\x02\n" + + "\x0eEventsResponse\x12<\n" + + "\aresults\x18\x01 \x03(\v2\".flow.access.EventsResponse.ResultR\aresults\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\x1a\xb9\x01\n" + + "\x06Result\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12!\n" + + "\fblock_height\x18\x02 \x01(\x04R\vblockHeight\x12,\n" + + "\x06events\x18\x03 \x03(\v2\x14.flow.entities.EventR\x06events\x12C\n" + + "\x0fblock_timestamp\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\x0eblockTimestamp\"\x1d\n" + + "\x1bGetNetworkParametersRequest\"9\n" + + "\x1cGetNetworkParametersResponse\x12\x19\n" + + "\bchain_id\x18\x01 \x01(\tR\achainId\"'\n" + + "%GetLatestProtocolStateSnapshotRequest\"E\n" + + "(GetProtocolStateSnapshotByBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\"L\n" + + "'GetProtocolStateSnapshotByHeightRequest\x12!\n" + + "\fblock_height\x18\x01 \x01(\x04R\vblockHeight\"\x84\x01\n" + + "\x1dProtocolStateSnapshotResponse\x12.\n" + + "\x12serializedSnapshot\x18\x01 \x01(\fR\x12serializedSnapshot\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\x98\x01\n" + + "#GetExecutionResultForBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12V\n" + + "\x15execution_state_query\x18\x02 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xa3\x01\n" + + "!ExecutionResultForBlockIDResponse\x12I\n" + + "\x10execution_result\x18\x01 \x01(\v2\x1e.flow.entities.ExecutionResultR\x0fexecutionResult\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\x87\x01\n" + + "\x1dGetExecutionResultByIDRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x12V\n" + + "\x15execution_state_query\x18\x02 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\x9d\x01\n" + + "\x1bExecutionResultByIDResponse\x12I\n" + + "\x10execution_result\x18\x01 \x01(\v2\x1e.flow.entities.ExecutionResultR\x0fexecutionResult\x123\n" + + "\bmetadata\x18\x02 \x01(\v2\x17.flow.entities.MetadataR\bmetadata\"\xbd\x01\n" + + "&SubscribeBlocksFromStartBlockIDRequest\x12$\n" + + "\x0estart_block_id\x18\x01 \x01(\fR\fstartBlockId\x12=\n" + + "\fblock_status\x18\x02 \x01(\x0e2\x1a.flow.entities.BlockStatusR\vblockStatus\x12.\n" + + "\x13full_block_response\x18\x03 \x01(\bR\x11fullBlockResponse\"\xc4\x01\n" + + "%SubscribeBlocksFromStartHeightRequest\x12,\n" + + "\x12start_block_height\x18\x01 \x01(\x04R\x10startBlockHeight\x12=\n" + + "\fblock_status\x18\x02 \x01(\x0e2\x1a.flow.entities.BlockStatusR\vblockStatus\x12.\n" + + "\x13full_block_response\x18\x03 \x01(\bR\x11fullBlockResponse\"\x91\x01\n" + + " SubscribeBlocksFromLatestRequest\x12=\n" + + "\fblock_status\x18\x01 \x01(\x0e2\x1a.flow.entities.BlockStatusR\vblockStatus\x12.\n" + + "\x13full_block_response\x18\x02 \x01(\bR\x11fullBlockResponse\"E\n" + + "\x17SubscribeBlocksResponse\x12*\n" + + "\x05block\x18\x01 \x01(\v2\x14.flow.entities.BlockR\x05block\"\x93\x01\n" + + ",SubscribeBlockHeadersFromStartBlockIDRequest\x12$\n" + + "\x0estart_block_id\x18\x01 \x01(\fR\fstartBlockId\x12=\n" + + "\fblock_status\x18\x02 \x01(\x0e2\x1a.flow.entities.BlockStatusR\vblockStatus\"\x9a\x01\n" + + "+SubscribeBlockHeadersFromStartHeightRequest\x12,\n" + + "\x12start_block_height\x18\x01 \x01(\x04R\x10startBlockHeight\x12=\n" + + "\fblock_status\x18\x02 \x01(\x0e2\x1a.flow.entities.BlockStatusR\vblockStatus\"g\n" + + "&SubscribeBlockHeadersFromLatestRequest\x12=\n" + + "\fblock_status\x18\x01 \x01(\x0e2\x1a.flow.entities.BlockStatusR\vblockStatus\"S\n" + + "\x1dSubscribeBlockHeadersResponse\x122\n" + + "\x06header\x18\x01 \x01(\v2\x1a.flow.entities.BlockHeaderR\x06header\"\x93\x01\n" + + ",SubscribeBlockDigestsFromStartBlockIDRequest\x12$\n" + + "\x0estart_block_id\x18\x01 \x01(\fR\fstartBlockId\x12=\n" + + "\fblock_status\x18\x02 \x01(\x0e2\x1a.flow.entities.BlockStatusR\vblockStatus\"\x9a\x01\n" + + "+SubscribeBlockDigestsFromStartHeightRequest\x12,\n" + + "\x12start_block_height\x18\x01 \x01(\x04R\x10startBlockHeight\x12=\n" + + "\fblock_status\x18\x02 \x01(\x0e2\x1a.flow.entities.BlockStatusR\vblockStatus\"g\n" + + "&SubscribeBlockDigestsFromLatestRequest\x12=\n" + + "\fblock_status\x18\x01 \x01(\x0e2\x1a.flow.entities.BlockStatusR\vblockStatus\"\xa2\x01\n" + + "\x1dSubscribeBlockDigestsResponse\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12!\n" + + "\fblock_height\x18\x02 \x01(\x04R\vblockHeight\x12C\n" + + "\x0fblock_timestamp\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x0eblockTimestamp\"\x9d\x02\n" + + "*SendAndSubscribeTransactionStatusesRequest\x12<\n" + + "\vtransaction\x18\x01 \x01(\v2\x1a.flow.entities.TransactionR\vtransaction\x12Y\n" + + "\x16event_encoding_version\x18\x02 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xab\x01\n" + + "+SendAndSubscribeTransactionStatusesResponse\x12W\n" + + "\x13transaction_results\x18\x01 \x01(\v2&.flow.access.TransactionResultResponseR\x12transactionResults\x12#\n" + + "\rmessage_index\x18\x02 \x01(\x04R\fmessageIndex2\x86,\n" + + "\tAccessAPI\x12;\n" + + "\x04Ping\x12\x18.flow.access.PingRequest\x1a\x19.flow.access.PingResponse\x12e\n" + + "\x12GetNodeVersionInfo\x12&.flow.access.GetNodeVersionInfoRequest\x1a'.flow.access.GetNodeVersionInfoResponse\x12b\n" + + "\x14GetLatestBlockHeader\x12(.flow.access.GetLatestBlockHeaderRequest\x1a .flow.access.BlockHeaderResponse\x12^\n" + + "\x12GetBlockHeaderByID\x12&.flow.access.GetBlockHeaderByIDRequest\x1a .flow.access.BlockHeaderResponse\x12f\n" + + "\x16GetBlockHeaderByHeight\x12*.flow.access.GetBlockHeaderByHeightRequest\x1a .flow.access.BlockHeaderResponse\x12P\n" + + "\x0eGetLatestBlock\x12\".flow.access.GetLatestBlockRequest\x1a\x1a.flow.access.BlockResponse\x12L\n" + + "\fGetBlockByID\x12 .flow.access.GetBlockByIDRequest\x1a\x1a.flow.access.BlockResponse\x12T\n" + + "\x10GetBlockByHeight\x12$.flow.access.GetBlockByHeightRequest\x1a\x1a.flow.access.BlockResponse\x12[\n" + + "\x11GetCollectionByID\x12%.flow.access.GetCollectionByIDRequest\x1a\x1f.flow.access.CollectionResponse\x12g\n" + + "\x15GetFullCollectionByID\x12).flow.access.GetFullCollectionByIDRequest\x1a#.flow.access.FullCollectionResponse\x12\\\n" + + "\x0fSendTransaction\x12#.flow.access.SendTransactionRequest\x1a$.flow.access.SendTransactionResponse\x12V\n" + + "\x0eGetTransaction\x12\".flow.access.GetTransactionRequest\x1a .flow.access.TransactionResponse\x12b\n" + + "\x14GetTransactionResult\x12\".flow.access.GetTransactionRequest\x1a&.flow.access.TransactionResultResponse\x12p\n" + + "\x1bGetTransactionResultByIndex\x12).flow.access.GetTransactionByIndexRequest\x1a&.flow.access.TransactionResultResponse\x12w\n" + + "\x1eGetTransactionResultsByBlockID\x12,.flow.access.GetTransactionsByBlockIDRequest\x1a'.flow.access.TransactionResultsResponse\x12k\n" + + "\x18GetTransactionsByBlockID\x12,.flow.access.GetTransactionsByBlockIDRequest\x1a!.flow.access.TransactionsResponse\x12b\n" + + "\x14GetSystemTransaction\x12(.flow.access.GetSystemTransactionRequest\x1a .flow.access.TransactionResponse\x12t\n" + + "\x1aGetSystemTransactionResult\x12..flow.access.GetSystemTransactionResultRequest\x1a&.flow.access.TransactionResultResponse\x12h\n" + + "\x17GetScheduledTransaction\x12+.flow.access.GetScheduledTransactionRequest\x1a .flow.access.TransactionResponse\x12z\n" + + "\x1dGetScheduledTransactionResult\x121.flow.access.GetScheduledTransactionResultRequest\x1a&.flow.access.TransactionResultResponse\x12M\n" + + "\n" + + "GetAccount\x12\x1e.flow.access.GetAccountRequest\x1a\x1f.flow.access.GetAccountResponse\x12d\n" + + "\x17GetAccountAtLatestBlock\x12+.flow.access.GetAccountAtLatestBlockRequest\x1a\x1c.flow.access.AccountResponse\x12d\n" + + "\x17GetAccountAtBlockHeight\x12+.flow.access.GetAccountAtBlockHeightRequest\x1a\x1c.flow.access.AccountResponse\x12y\n" + + "\x1eGetAccountBalanceAtLatestBlock\x122.flow.access.GetAccountBalanceAtLatestBlockRequest\x1a#.flow.access.AccountBalanceResponse\x12y\n" + + "\x1eGetAccountBalanceAtBlockHeight\x122.flow.access.GetAccountBalanceAtBlockHeightRequest\x1a#.flow.access.AccountBalanceResponse\x12p\n" + + "\x1bGetAccountKeysAtLatestBlock\x12/.flow.access.GetAccountKeysAtLatestBlockRequest\x1a .flow.access.AccountKeysResponse\x12p\n" + + "\x1bGetAccountKeysAtBlockHeight\x12/.flow.access.GetAccountKeysAtBlockHeightRequest\x1a .flow.access.AccountKeysResponse\x12m\n" + + "\x1aGetAccountKeyAtLatestBlock\x12..flow.access.GetAccountKeyAtLatestBlockRequest\x1a\x1f.flow.access.AccountKeyResponse\x12m\n" + + "\x1aGetAccountKeyAtBlockHeight\x12..flow.access.GetAccountKeyAtBlockHeightRequest\x1a\x1f.flow.access.AccountKeyResponse\x12p\n" + + "\x1aExecuteScriptAtLatestBlock\x12..flow.access.ExecuteScriptAtLatestBlockRequest\x1a\".flow.access.ExecuteScriptResponse\x12h\n" + + "\x16ExecuteScriptAtBlockID\x12*.flow.access.ExecuteScriptAtBlockIDRequest\x1a\".flow.access.ExecuteScriptResponse\x12p\n" + + "\x1aExecuteScriptAtBlockHeight\x12..flow.access.ExecuteScriptAtBlockHeightRequest\x1a\".flow.access.ExecuteScriptResponse\x12c\n" + + "\x17GetEventsForHeightRange\x12+.flow.access.GetEventsForHeightRangeRequest\x1a\x1b.flow.access.EventsResponse\x12]\n" + + "\x14GetEventsForBlockIDs\x12(.flow.access.GetEventsForBlockIDsRequest\x1a\x1b.flow.access.EventsResponse\x12k\n" + + "\x14GetNetworkParameters\x12(.flow.access.GetNetworkParametersRequest\x1a).flow.access.GetNetworkParametersResponse\x12\x80\x01\n" + + "\x1eGetLatestProtocolStateSnapshot\x122.flow.access.GetLatestProtocolStateSnapshotRequest\x1a*.flow.access.ProtocolStateSnapshotResponse\x12\x86\x01\n" + + "!GetProtocolStateSnapshotByBlockID\x125.flow.access.GetProtocolStateSnapshotByBlockIDRequest\x1a*.flow.access.ProtocolStateSnapshotResponse\x12\x84\x01\n" + + " GetProtocolStateSnapshotByHeight\x124.flow.access.GetProtocolStateSnapshotByHeightRequest\x1a*.flow.access.ProtocolStateSnapshotResponse\x12\x80\x01\n" + + "\x1cGetExecutionResultForBlockID\x120.flow.access.GetExecutionResultForBlockIDRequest\x1a..flow.access.ExecutionResultForBlockIDResponse\x12n\n" + + "\x16GetExecutionResultByID\x12*.flow.access.GetExecutionResultByIDRequest\x1a(.flow.access.ExecutionResultByIDResponse\x12~\n" + + "\x1fSubscribeBlocksFromStartBlockID\x123.flow.access.SubscribeBlocksFromStartBlockIDRequest\x1a$.flow.access.SubscribeBlocksResponse0\x01\x12|\n" + + "\x1eSubscribeBlocksFromStartHeight\x122.flow.access.SubscribeBlocksFromStartHeightRequest\x1a$.flow.access.SubscribeBlocksResponse0\x01\x12r\n" + + "\x19SubscribeBlocksFromLatest\x12-.flow.access.SubscribeBlocksFromLatestRequest\x1a$.flow.access.SubscribeBlocksResponse0\x01\x12\x90\x01\n" + + "%SubscribeBlockHeadersFromStartBlockID\x129.flow.access.SubscribeBlockHeadersFromStartBlockIDRequest\x1a*.flow.access.SubscribeBlockHeadersResponse0\x01\x12\x8e\x01\n" + + "$SubscribeBlockHeadersFromStartHeight\x128.flow.access.SubscribeBlockHeadersFromStartHeightRequest\x1a*.flow.access.SubscribeBlockHeadersResponse0\x01\x12\x84\x01\n" + + "\x1fSubscribeBlockHeadersFromLatest\x123.flow.access.SubscribeBlockHeadersFromLatestRequest\x1a*.flow.access.SubscribeBlockHeadersResponse0\x01\x12\x90\x01\n" + + "%SubscribeBlockDigestsFromStartBlockID\x129.flow.access.SubscribeBlockDigestsFromStartBlockIDRequest\x1a*.flow.access.SubscribeBlockDigestsResponse0\x01\x12\x8e\x01\n" + + "$SubscribeBlockDigestsFromStartHeight\x128.flow.access.SubscribeBlockDigestsFromStartHeightRequest\x1a*.flow.access.SubscribeBlockDigestsResponse0\x01\x12\x84\x01\n" + + "\x1fSubscribeBlockDigestsFromLatest\x123.flow.access.SubscribeBlockDigestsFromLatestRequest\x1a*.flow.access.SubscribeBlockDigestsResponse0\x01\x12\x9a\x01\n" + + "#SendAndSubscribeTransactionStatuses\x127.flow.access.SendAndSubscribeTransactionStatusesRequest\x1a8.flow.access.SendAndSubscribeTransactionStatusesResponse0\x01BL\n" + + "\x1aorg.onflow.protobuf.accessZ.github.com/onflow/flow/protobuf/go/flow/accessb\x06proto3" + +var ( + file_flow_access_access_proto_rawDescOnce sync.Once + file_flow_access_access_proto_rawDescData []byte +) + +func file_flow_access_access_proto_rawDescGZIP() []byte { + file_flow_access_access_proto_rawDescOnce.Do(func() { + file_flow_access_access_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_access_access_proto_rawDesc), len(file_flow_access_access_proto_rawDesc))) + }) + return file_flow_access_access_proto_rawDescData +} + +var file_flow_access_access_proto_msgTypes = make([]protoimpl.MessageInfo, 75) +var file_flow_access_access_proto_goTypes = []any{ + (*PingRequest)(nil), // 0: flow.access.PingRequest + (*PingResponse)(nil), // 1: flow.access.PingResponse + (*GetNodeVersionInfoRequest)(nil), // 2: flow.access.GetNodeVersionInfoRequest + (*GetNodeVersionInfoResponse)(nil), // 3: flow.access.GetNodeVersionInfoResponse + (*GetLatestBlockHeaderRequest)(nil), // 4: flow.access.GetLatestBlockHeaderRequest + (*GetBlockHeaderByIDRequest)(nil), // 5: flow.access.GetBlockHeaderByIDRequest + (*GetBlockHeaderByHeightRequest)(nil), // 6: flow.access.GetBlockHeaderByHeightRequest + (*BlockHeaderResponse)(nil), // 7: flow.access.BlockHeaderResponse + (*GetLatestBlockRequest)(nil), // 8: flow.access.GetLatestBlockRequest + (*GetBlockByIDRequest)(nil), // 9: flow.access.GetBlockByIDRequest + (*GetBlockByHeightRequest)(nil), // 10: flow.access.GetBlockByHeightRequest + (*BlockResponse)(nil), // 11: flow.access.BlockResponse + (*GetCollectionByIDRequest)(nil), // 12: flow.access.GetCollectionByIDRequest + (*GetFullCollectionByIDRequest)(nil), // 13: flow.access.GetFullCollectionByIDRequest + (*CollectionResponse)(nil), // 14: flow.access.CollectionResponse + (*FullCollectionResponse)(nil), // 15: flow.access.FullCollectionResponse + (*SendTransactionRequest)(nil), // 16: flow.access.SendTransactionRequest + (*SendTransactionResponse)(nil), // 17: flow.access.SendTransactionResponse + (*GetTransactionRequest)(nil), // 18: flow.access.GetTransactionRequest + (*GetSystemTransactionRequest)(nil), // 19: flow.access.GetSystemTransactionRequest + (*GetSystemTransactionResultRequest)(nil), // 20: flow.access.GetSystemTransactionResultRequest + (*GetScheduledTransactionRequest)(nil), // 21: flow.access.GetScheduledTransactionRequest + (*GetScheduledTransactionResultRequest)(nil), // 22: flow.access.GetScheduledTransactionResultRequest + (*GetTransactionByIndexRequest)(nil), // 23: flow.access.GetTransactionByIndexRequest + (*GetTransactionsByBlockIDRequest)(nil), // 24: flow.access.GetTransactionsByBlockIDRequest + (*TransactionResultsResponse)(nil), // 25: flow.access.TransactionResultsResponse + (*TransactionsResponse)(nil), // 26: flow.access.TransactionsResponse + (*TransactionResponse)(nil), // 27: flow.access.TransactionResponse + (*TransactionResultResponse)(nil), // 28: flow.access.TransactionResultResponse + (*GetAccountRequest)(nil), // 29: flow.access.GetAccountRequest + (*GetAccountResponse)(nil), // 30: flow.access.GetAccountResponse + (*GetAccountAtLatestBlockRequest)(nil), // 31: flow.access.GetAccountAtLatestBlockRequest + (*AccountResponse)(nil), // 32: flow.access.AccountResponse + (*GetAccountAtBlockHeightRequest)(nil), // 33: flow.access.GetAccountAtBlockHeightRequest + (*GetAccountBalanceAtLatestBlockRequest)(nil), // 34: flow.access.GetAccountBalanceAtLatestBlockRequest + (*GetAccountBalanceAtBlockHeightRequest)(nil), // 35: flow.access.GetAccountBalanceAtBlockHeightRequest + (*AccountBalanceResponse)(nil), // 36: flow.access.AccountBalanceResponse + (*GetAccountKeysAtLatestBlockRequest)(nil), // 37: flow.access.GetAccountKeysAtLatestBlockRequest + (*GetAccountKeyAtLatestBlockRequest)(nil), // 38: flow.access.GetAccountKeyAtLatestBlockRequest + (*GetAccountKeysAtBlockHeightRequest)(nil), // 39: flow.access.GetAccountKeysAtBlockHeightRequest + (*GetAccountKeyAtBlockHeightRequest)(nil), // 40: flow.access.GetAccountKeyAtBlockHeightRequest + (*AccountKeysResponse)(nil), // 41: flow.access.AccountKeysResponse + (*AccountKeyResponse)(nil), // 42: flow.access.AccountKeyResponse + (*ExecuteScriptAtLatestBlockRequest)(nil), // 43: flow.access.ExecuteScriptAtLatestBlockRequest + (*ExecuteScriptAtBlockIDRequest)(nil), // 44: flow.access.ExecuteScriptAtBlockIDRequest + (*ExecuteScriptAtBlockHeightRequest)(nil), // 45: flow.access.ExecuteScriptAtBlockHeightRequest + (*ExecuteScriptResponse)(nil), // 46: flow.access.ExecuteScriptResponse + (*GetEventsForHeightRangeRequest)(nil), // 47: flow.access.GetEventsForHeightRangeRequest + (*GetEventsForBlockIDsRequest)(nil), // 48: flow.access.GetEventsForBlockIDsRequest + (*EventsResponse)(nil), // 49: flow.access.EventsResponse + (*GetNetworkParametersRequest)(nil), // 50: flow.access.GetNetworkParametersRequest + (*GetNetworkParametersResponse)(nil), // 51: flow.access.GetNetworkParametersResponse + (*GetLatestProtocolStateSnapshotRequest)(nil), // 52: flow.access.GetLatestProtocolStateSnapshotRequest + (*GetProtocolStateSnapshotByBlockIDRequest)(nil), // 53: flow.access.GetProtocolStateSnapshotByBlockIDRequest + (*GetProtocolStateSnapshotByHeightRequest)(nil), // 54: flow.access.GetProtocolStateSnapshotByHeightRequest + (*ProtocolStateSnapshotResponse)(nil), // 55: flow.access.ProtocolStateSnapshotResponse + (*GetExecutionResultForBlockIDRequest)(nil), // 56: flow.access.GetExecutionResultForBlockIDRequest + (*ExecutionResultForBlockIDResponse)(nil), // 57: flow.access.ExecutionResultForBlockIDResponse + (*GetExecutionResultByIDRequest)(nil), // 58: flow.access.GetExecutionResultByIDRequest + (*ExecutionResultByIDResponse)(nil), // 59: flow.access.ExecutionResultByIDResponse + (*SubscribeBlocksFromStartBlockIDRequest)(nil), // 60: flow.access.SubscribeBlocksFromStartBlockIDRequest + (*SubscribeBlocksFromStartHeightRequest)(nil), // 61: flow.access.SubscribeBlocksFromStartHeightRequest + (*SubscribeBlocksFromLatestRequest)(nil), // 62: flow.access.SubscribeBlocksFromLatestRequest + (*SubscribeBlocksResponse)(nil), // 63: flow.access.SubscribeBlocksResponse + (*SubscribeBlockHeadersFromStartBlockIDRequest)(nil), // 64: flow.access.SubscribeBlockHeadersFromStartBlockIDRequest + (*SubscribeBlockHeadersFromStartHeightRequest)(nil), // 65: flow.access.SubscribeBlockHeadersFromStartHeightRequest + (*SubscribeBlockHeadersFromLatestRequest)(nil), // 66: flow.access.SubscribeBlockHeadersFromLatestRequest + (*SubscribeBlockHeadersResponse)(nil), // 67: flow.access.SubscribeBlockHeadersResponse + (*SubscribeBlockDigestsFromStartBlockIDRequest)(nil), // 68: flow.access.SubscribeBlockDigestsFromStartBlockIDRequest + (*SubscribeBlockDigestsFromStartHeightRequest)(nil), // 69: flow.access.SubscribeBlockDigestsFromStartHeightRequest + (*SubscribeBlockDigestsFromLatestRequest)(nil), // 70: flow.access.SubscribeBlockDigestsFromLatestRequest + (*SubscribeBlockDigestsResponse)(nil), // 71: flow.access.SubscribeBlockDigestsResponse + (*SendAndSubscribeTransactionStatusesRequest)(nil), // 72: flow.access.SendAndSubscribeTransactionStatusesRequest + (*SendAndSubscribeTransactionStatusesResponse)(nil), // 73: flow.access.SendAndSubscribeTransactionStatusesResponse + (*EventsResponse_Result)(nil), // 74: flow.access.EventsResponse.Result + (*entities.NodeVersionInfo)(nil), // 75: flow.entities.NodeVersionInfo + (*entities.BlockHeader)(nil), // 76: flow.entities.BlockHeader + (entities.BlockStatus)(0), // 77: flow.entities.BlockStatus + (*entities.Metadata)(nil), // 78: flow.entities.Metadata + (*entities.Block)(nil), // 79: flow.entities.Block + (*entities.ExecutionStateQuery)(nil), // 80: flow.entities.ExecutionStateQuery + (*entities.Collection)(nil), // 81: flow.entities.Collection + (*entities.Transaction)(nil), // 82: flow.entities.Transaction + (entities.EventEncodingVersion)(0), // 83: flow.entities.EventEncodingVersion + (entities.TransactionStatus)(0), // 84: flow.entities.TransactionStatus + (*entities.Event)(nil), // 85: flow.entities.Event + (*entities.Account)(nil), // 86: flow.entities.Account + (*entities.AccountKey)(nil), // 87: flow.entities.AccountKey + (*entities.ExecutionResult)(nil), // 88: flow.entities.ExecutionResult + (*timestamppb.Timestamp)(nil), // 89: google.protobuf.Timestamp +} +var file_flow_access_access_proto_depIdxs = []int32{ + 75, // 0: flow.access.GetNodeVersionInfoResponse.info:type_name -> flow.entities.NodeVersionInfo + 76, // 1: flow.access.BlockHeaderResponse.block:type_name -> flow.entities.BlockHeader + 77, // 2: flow.access.BlockHeaderResponse.block_status:type_name -> flow.entities.BlockStatus + 78, // 3: flow.access.BlockHeaderResponse.metadata:type_name -> flow.entities.Metadata + 79, // 4: flow.access.BlockResponse.block:type_name -> flow.entities.Block + 77, // 5: flow.access.BlockResponse.block_status:type_name -> flow.entities.BlockStatus + 78, // 6: flow.access.BlockResponse.metadata:type_name -> flow.entities.Metadata + 80, // 7: flow.access.GetCollectionByIDRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 80, // 8: flow.access.GetFullCollectionByIDRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 81, // 9: flow.access.CollectionResponse.collection:type_name -> flow.entities.Collection + 78, // 10: flow.access.CollectionResponse.metadata:type_name -> flow.entities.Metadata + 82, // 11: flow.access.FullCollectionResponse.transactions:type_name -> flow.entities.Transaction + 78, // 12: flow.access.FullCollectionResponse.metadata:type_name -> flow.entities.Metadata + 82, // 13: flow.access.SendTransactionRequest.transaction:type_name -> flow.entities.Transaction + 80, // 14: flow.access.SendTransactionRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 78, // 15: flow.access.SendTransactionResponse.metadata:type_name -> flow.entities.Metadata + 83, // 16: flow.access.GetTransactionRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 80, // 17: flow.access.GetTransactionRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 80, // 18: flow.access.GetSystemTransactionRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 83, // 19: flow.access.GetSystemTransactionResultRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 80, // 20: flow.access.GetSystemTransactionResultRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 80, // 21: flow.access.GetScheduledTransactionRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 83, // 22: flow.access.GetScheduledTransactionResultRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 80, // 23: flow.access.GetScheduledTransactionResultRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 83, // 24: flow.access.GetTransactionByIndexRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 80, // 25: flow.access.GetTransactionByIndexRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 83, // 26: flow.access.GetTransactionsByBlockIDRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 80, // 27: flow.access.GetTransactionsByBlockIDRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 28, // 28: flow.access.TransactionResultsResponse.transaction_results:type_name -> flow.access.TransactionResultResponse + 78, // 29: flow.access.TransactionResultsResponse.metadata:type_name -> flow.entities.Metadata + 82, // 30: flow.access.TransactionsResponse.transactions:type_name -> flow.entities.Transaction + 78, // 31: flow.access.TransactionsResponse.metadata:type_name -> flow.entities.Metadata + 82, // 32: flow.access.TransactionResponse.transaction:type_name -> flow.entities.Transaction + 78, // 33: flow.access.TransactionResponse.metadata:type_name -> flow.entities.Metadata + 84, // 34: flow.access.TransactionResultResponse.status:type_name -> flow.entities.TransactionStatus + 85, // 35: flow.access.TransactionResultResponse.events:type_name -> flow.entities.Event + 78, // 36: flow.access.TransactionResultResponse.metadata:type_name -> flow.entities.Metadata + 80, // 37: flow.access.GetAccountRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 86, // 38: flow.access.GetAccountResponse.account:type_name -> flow.entities.Account + 78, // 39: flow.access.GetAccountResponse.metadata:type_name -> flow.entities.Metadata + 80, // 40: flow.access.GetAccountAtLatestBlockRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 86, // 41: flow.access.AccountResponse.account:type_name -> flow.entities.Account + 78, // 42: flow.access.AccountResponse.metadata:type_name -> flow.entities.Metadata + 80, // 43: flow.access.GetAccountAtBlockHeightRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 80, // 44: flow.access.GetAccountBalanceAtLatestBlockRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 80, // 45: flow.access.GetAccountBalanceAtBlockHeightRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 78, // 46: flow.access.AccountBalanceResponse.metadata:type_name -> flow.entities.Metadata + 80, // 47: flow.access.GetAccountKeysAtLatestBlockRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 80, // 48: flow.access.GetAccountKeyAtLatestBlockRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 80, // 49: flow.access.GetAccountKeysAtBlockHeightRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 80, // 50: flow.access.GetAccountKeyAtBlockHeightRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 87, // 51: flow.access.AccountKeysResponse.account_keys:type_name -> flow.entities.AccountKey + 78, // 52: flow.access.AccountKeysResponse.metadata:type_name -> flow.entities.Metadata + 87, // 53: flow.access.AccountKeyResponse.account_key:type_name -> flow.entities.AccountKey + 78, // 54: flow.access.AccountKeyResponse.metadata:type_name -> flow.entities.Metadata + 80, // 55: flow.access.ExecuteScriptAtLatestBlockRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 80, // 56: flow.access.ExecuteScriptAtBlockIDRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 80, // 57: flow.access.ExecuteScriptAtBlockHeightRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 78, // 58: flow.access.ExecuteScriptResponse.metadata:type_name -> flow.entities.Metadata + 83, // 59: flow.access.GetEventsForHeightRangeRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 80, // 60: flow.access.GetEventsForHeightRangeRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 83, // 61: flow.access.GetEventsForBlockIDsRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 80, // 62: flow.access.GetEventsForBlockIDsRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 74, // 63: flow.access.EventsResponse.results:type_name -> flow.access.EventsResponse.Result + 78, // 64: flow.access.EventsResponse.metadata:type_name -> flow.entities.Metadata + 78, // 65: flow.access.ProtocolStateSnapshotResponse.metadata:type_name -> flow.entities.Metadata + 80, // 66: flow.access.GetExecutionResultForBlockIDRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 88, // 67: flow.access.ExecutionResultForBlockIDResponse.execution_result:type_name -> flow.entities.ExecutionResult + 78, // 68: flow.access.ExecutionResultForBlockIDResponse.metadata:type_name -> flow.entities.Metadata + 80, // 69: flow.access.GetExecutionResultByIDRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 88, // 70: flow.access.ExecutionResultByIDResponse.execution_result:type_name -> flow.entities.ExecutionResult + 78, // 71: flow.access.ExecutionResultByIDResponse.metadata:type_name -> flow.entities.Metadata + 77, // 72: flow.access.SubscribeBlocksFromStartBlockIDRequest.block_status:type_name -> flow.entities.BlockStatus + 77, // 73: flow.access.SubscribeBlocksFromStartHeightRequest.block_status:type_name -> flow.entities.BlockStatus + 77, // 74: flow.access.SubscribeBlocksFromLatestRequest.block_status:type_name -> flow.entities.BlockStatus + 79, // 75: flow.access.SubscribeBlocksResponse.block:type_name -> flow.entities.Block + 77, // 76: flow.access.SubscribeBlockHeadersFromStartBlockIDRequest.block_status:type_name -> flow.entities.BlockStatus + 77, // 77: flow.access.SubscribeBlockHeadersFromStartHeightRequest.block_status:type_name -> flow.entities.BlockStatus + 77, // 78: flow.access.SubscribeBlockHeadersFromLatestRequest.block_status:type_name -> flow.entities.BlockStatus + 76, // 79: flow.access.SubscribeBlockHeadersResponse.header:type_name -> flow.entities.BlockHeader + 77, // 80: flow.access.SubscribeBlockDigestsFromStartBlockIDRequest.block_status:type_name -> flow.entities.BlockStatus + 77, // 81: flow.access.SubscribeBlockDigestsFromStartHeightRequest.block_status:type_name -> flow.entities.BlockStatus + 77, // 82: flow.access.SubscribeBlockDigestsFromLatestRequest.block_status:type_name -> flow.entities.BlockStatus + 89, // 83: flow.access.SubscribeBlockDigestsResponse.block_timestamp:type_name -> google.protobuf.Timestamp + 82, // 84: flow.access.SendAndSubscribeTransactionStatusesRequest.transaction:type_name -> flow.entities.Transaction + 83, // 85: flow.access.SendAndSubscribeTransactionStatusesRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 80, // 86: flow.access.SendAndSubscribeTransactionStatusesRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 28, // 87: flow.access.SendAndSubscribeTransactionStatusesResponse.transaction_results:type_name -> flow.access.TransactionResultResponse + 85, // 88: flow.access.EventsResponse.Result.events:type_name -> flow.entities.Event + 89, // 89: flow.access.EventsResponse.Result.block_timestamp:type_name -> google.protobuf.Timestamp + 0, // 90: flow.access.AccessAPI.Ping:input_type -> flow.access.PingRequest + 2, // 91: flow.access.AccessAPI.GetNodeVersionInfo:input_type -> flow.access.GetNodeVersionInfoRequest + 4, // 92: flow.access.AccessAPI.GetLatestBlockHeader:input_type -> flow.access.GetLatestBlockHeaderRequest + 5, // 93: flow.access.AccessAPI.GetBlockHeaderByID:input_type -> flow.access.GetBlockHeaderByIDRequest + 6, // 94: flow.access.AccessAPI.GetBlockHeaderByHeight:input_type -> flow.access.GetBlockHeaderByHeightRequest + 8, // 95: flow.access.AccessAPI.GetLatestBlock:input_type -> flow.access.GetLatestBlockRequest + 9, // 96: flow.access.AccessAPI.GetBlockByID:input_type -> flow.access.GetBlockByIDRequest + 10, // 97: flow.access.AccessAPI.GetBlockByHeight:input_type -> flow.access.GetBlockByHeightRequest + 12, // 98: flow.access.AccessAPI.GetCollectionByID:input_type -> flow.access.GetCollectionByIDRequest + 13, // 99: flow.access.AccessAPI.GetFullCollectionByID:input_type -> flow.access.GetFullCollectionByIDRequest + 16, // 100: flow.access.AccessAPI.SendTransaction:input_type -> flow.access.SendTransactionRequest + 18, // 101: flow.access.AccessAPI.GetTransaction:input_type -> flow.access.GetTransactionRequest + 18, // 102: flow.access.AccessAPI.GetTransactionResult:input_type -> flow.access.GetTransactionRequest + 23, // 103: flow.access.AccessAPI.GetTransactionResultByIndex:input_type -> flow.access.GetTransactionByIndexRequest + 24, // 104: flow.access.AccessAPI.GetTransactionResultsByBlockID:input_type -> flow.access.GetTransactionsByBlockIDRequest + 24, // 105: flow.access.AccessAPI.GetTransactionsByBlockID:input_type -> flow.access.GetTransactionsByBlockIDRequest + 19, // 106: flow.access.AccessAPI.GetSystemTransaction:input_type -> flow.access.GetSystemTransactionRequest + 20, // 107: flow.access.AccessAPI.GetSystemTransactionResult:input_type -> flow.access.GetSystemTransactionResultRequest + 21, // 108: flow.access.AccessAPI.GetScheduledTransaction:input_type -> flow.access.GetScheduledTransactionRequest + 22, // 109: flow.access.AccessAPI.GetScheduledTransactionResult:input_type -> flow.access.GetScheduledTransactionResultRequest + 29, // 110: flow.access.AccessAPI.GetAccount:input_type -> flow.access.GetAccountRequest + 31, // 111: flow.access.AccessAPI.GetAccountAtLatestBlock:input_type -> flow.access.GetAccountAtLatestBlockRequest + 33, // 112: flow.access.AccessAPI.GetAccountAtBlockHeight:input_type -> flow.access.GetAccountAtBlockHeightRequest + 34, // 113: flow.access.AccessAPI.GetAccountBalanceAtLatestBlock:input_type -> flow.access.GetAccountBalanceAtLatestBlockRequest + 35, // 114: flow.access.AccessAPI.GetAccountBalanceAtBlockHeight:input_type -> flow.access.GetAccountBalanceAtBlockHeightRequest + 37, // 115: flow.access.AccessAPI.GetAccountKeysAtLatestBlock:input_type -> flow.access.GetAccountKeysAtLatestBlockRequest + 39, // 116: flow.access.AccessAPI.GetAccountKeysAtBlockHeight:input_type -> flow.access.GetAccountKeysAtBlockHeightRequest + 38, // 117: flow.access.AccessAPI.GetAccountKeyAtLatestBlock:input_type -> flow.access.GetAccountKeyAtLatestBlockRequest + 40, // 118: flow.access.AccessAPI.GetAccountKeyAtBlockHeight:input_type -> flow.access.GetAccountKeyAtBlockHeightRequest + 43, // 119: flow.access.AccessAPI.ExecuteScriptAtLatestBlock:input_type -> flow.access.ExecuteScriptAtLatestBlockRequest + 44, // 120: flow.access.AccessAPI.ExecuteScriptAtBlockID:input_type -> flow.access.ExecuteScriptAtBlockIDRequest + 45, // 121: flow.access.AccessAPI.ExecuteScriptAtBlockHeight:input_type -> flow.access.ExecuteScriptAtBlockHeightRequest + 47, // 122: flow.access.AccessAPI.GetEventsForHeightRange:input_type -> flow.access.GetEventsForHeightRangeRequest + 48, // 123: flow.access.AccessAPI.GetEventsForBlockIDs:input_type -> flow.access.GetEventsForBlockIDsRequest + 50, // 124: flow.access.AccessAPI.GetNetworkParameters:input_type -> flow.access.GetNetworkParametersRequest + 52, // 125: flow.access.AccessAPI.GetLatestProtocolStateSnapshot:input_type -> flow.access.GetLatestProtocolStateSnapshotRequest + 53, // 126: flow.access.AccessAPI.GetProtocolStateSnapshotByBlockID:input_type -> flow.access.GetProtocolStateSnapshotByBlockIDRequest + 54, // 127: flow.access.AccessAPI.GetProtocolStateSnapshotByHeight:input_type -> flow.access.GetProtocolStateSnapshotByHeightRequest + 56, // 128: flow.access.AccessAPI.GetExecutionResultForBlockID:input_type -> flow.access.GetExecutionResultForBlockIDRequest + 58, // 129: flow.access.AccessAPI.GetExecutionResultByID:input_type -> flow.access.GetExecutionResultByIDRequest + 60, // 130: flow.access.AccessAPI.SubscribeBlocksFromStartBlockID:input_type -> flow.access.SubscribeBlocksFromStartBlockIDRequest + 61, // 131: flow.access.AccessAPI.SubscribeBlocksFromStartHeight:input_type -> flow.access.SubscribeBlocksFromStartHeightRequest + 62, // 132: flow.access.AccessAPI.SubscribeBlocksFromLatest:input_type -> flow.access.SubscribeBlocksFromLatestRequest + 64, // 133: flow.access.AccessAPI.SubscribeBlockHeadersFromStartBlockID:input_type -> flow.access.SubscribeBlockHeadersFromStartBlockIDRequest + 65, // 134: flow.access.AccessAPI.SubscribeBlockHeadersFromStartHeight:input_type -> flow.access.SubscribeBlockHeadersFromStartHeightRequest + 66, // 135: flow.access.AccessAPI.SubscribeBlockHeadersFromLatest:input_type -> flow.access.SubscribeBlockHeadersFromLatestRequest + 68, // 136: flow.access.AccessAPI.SubscribeBlockDigestsFromStartBlockID:input_type -> flow.access.SubscribeBlockDigestsFromStartBlockIDRequest + 69, // 137: flow.access.AccessAPI.SubscribeBlockDigestsFromStartHeight:input_type -> flow.access.SubscribeBlockDigestsFromStartHeightRequest + 70, // 138: flow.access.AccessAPI.SubscribeBlockDigestsFromLatest:input_type -> flow.access.SubscribeBlockDigestsFromLatestRequest + 72, // 139: flow.access.AccessAPI.SendAndSubscribeTransactionStatuses:input_type -> flow.access.SendAndSubscribeTransactionStatusesRequest + 1, // 140: flow.access.AccessAPI.Ping:output_type -> flow.access.PingResponse + 3, // 141: flow.access.AccessAPI.GetNodeVersionInfo:output_type -> flow.access.GetNodeVersionInfoResponse + 7, // 142: flow.access.AccessAPI.GetLatestBlockHeader:output_type -> flow.access.BlockHeaderResponse + 7, // 143: flow.access.AccessAPI.GetBlockHeaderByID:output_type -> flow.access.BlockHeaderResponse + 7, // 144: flow.access.AccessAPI.GetBlockHeaderByHeight:output_type -> flow.access.BlockHeaderResponse + 11, // 145: flow.access.AccessAPI.GetLatestBlock:output_type -> flow.access.BlockResponse + 11, // 146: flow.access.AccessAPI.GetBlockByID:output_type -> flow.access.BlockResponse + 11, // 147: flow.access.AccessAPI.GetBlockByHeight:output_type -> flow.access.BlockResponse + 14, // 148: flow.access.AccessAPI.GetCollectionByID:output_type -> flow.access.CollectionResponse + 15, // 149: flow.access.AccessAPI.GetFullCollectionByID:output_type -> flow.access.FullCollectionResponse + 17, // 150: flow.access.AccessAPI.SendTransaction:output_type -> flow.access.SendTransactionResponse + 27, // 151: flow.access.AccessAPI.GetTransaction:output_type -> flow.access.TransactionResponse + 28, // 152: flow.access.AccessAPI.GetTransactionResult:output_type -> flow.access.TransactionResultResponse + 28, // 153: flow.access.AccessAPI.GetTransactionResultByIndex:output_type -> flow.access.TransactionResultResponse + 25, // 154: flow.access.AccessAPI.GetTransactionResultsByBlockID:output_type -> flow.access.TransactionResultsResponse + 26, // 155: flow.access.AccessAPI.GetTransactionsByBlockID:output_type -> flow.access.TransactionsResponse + 27, // 156: flow.access.AccessAPI.GetSystemTransaction:output_type -> flow.access.TransactionResponse + 28, // 157: flow.access.AccessAPI.GetSystemTransactionResult:output_type -> flow.access.TransactionResultResponse + 27, // 158: flow.access.AccessAPI.GetScheduledTransaction:output_type -> flow.access.TransactionResponse + 28, // 159: flow.access.AccessAPI.GetScheduledTransactionResult:output_type -> flow.access.TransactionResultResponse + 30, // 160: flow.access.AccessAPI.GetAccount:output_type -> flow.access.GetAccountResponse + 32, // 161: flow.access.AccessAPI.GetAccountAtLatestBlock:output_type -> flow.access.AccountResponse + 32, // 162: flow.access.AccessAPI.GetAccountAtBlockHeight:output_type -> flow.access.AccountResponse + 36, // 163: flow.access.AccessAPI.GetAccountBalanceAtLatestBlock:output_type -> flow.access.AccountBalanceResponse + 36, // 164: flow.access.AccessAPI.GetAccountBalanceAtBlockHeight:output_type -> flow.access.AccountBalanceResponse + 41, // 165: flow.access.AccessAPI.GetAccountKeysAtLatestBlock:output_type -> flow.access.AccountKeysResponse + 41, // 166: flow.access.AccessAPI.GetAccountKeysAtBlockHeight:output_type -> flow.access.AccountKeysResponse + 42, // 167: flow.access.AccessAPI.GetAccountKeyAtLatestBlock:output_type -> flow.access.AccountKeyResponse + 42, // 168: flow.access.AccessAPI.GetAccountKeyAtBlockHeight:output_type -> flow.access.AccountKeyResponse + 46, // 169: flow.access.AccessAPI.ExecuteScriptAtLatestBlock:output_type -> flow.access.ExecuteScriptResponse + 46, // 170: flow.access.AccessAPI.ExecuteScriptAtBlockID:output_type -> flow.access.ExecuteScriptResponse + 46, // 171: flow.access.AccessAPI.ExecuteScriptAtBlockHeight:output_type -> flow.access.ExecuteScriptResponse + 49, // 172: flow.access.AccessAPI.GetEventsForHeightRange:output_type -> flow.access.EventsResponse + 49, // 173: flow.access.AccessAPI.GetEventsForBlockIDs:output_type -> flow.access.EventsResponse + 51, // 174: flow.access.AccessAPI.GetNetworkParameters:output_type -> flow.access.GetNetworkParametersResponse + 55, // 175: flow.access.AccessAPI.GetLatestProtocolStateSnapshot:output_type -> flow.access.ProtocolStateSnapshotResponse + 55, // 176: flow.access.AccessAPI.GetProtocolStateSnapshotByBlockID:output_type -> flow.access.ProtocolStateSnapshotResponse + 55, // 177: flow.access.AccessAPI.GetProtocolStateSnapshotByHeight:output_type -> flow.access.ProtocolStateSnapshotResponse + 57, // 178: flow.access.AccessAPI.GetExecutionResultForBlockID:output_type -> flow.access.ExecutionResultForBlockIDResponse + 59, // 179: flow.access.AccessAPI.GetExecutionResultByID:output_type -> flow.access.ExecutionResultByIDResponse + 63, // 180: flow.access.AccessAPI.SubscribeBlocksFromStartBlockID:output_type -> flow.access.SubscribeBlocksResponse + 63, // 181: flow.access.AccessAPI.SubscribeBlocksFromStartHeight:output_type -> flow.access.SubscribeBlocksResponse + 63, // 182: flow.access.AccessAPI.SubscribeBlocksFromLatest:output_type -> flow.access.SubscribeBlocksResponse + 67, // 183: flow.access.AccessAPI.SubscribeBlockHeadersFromStartBlockID:output_type -> flow.access.SubscribeBlockHeadersResponse + 67, // 184: flow.access.AccessAPI.SubscribeBlockHeadersFromStartHeight:output_type -> flow.access.SubscribeBlockHeadersResponse + 67, // 185: flow.access.AccessAPI.SubscribeBlockHeadersFromLatest:output_type -> flow.access.SubscribeBlockHeadersResponse + 71, // 186: flow.access.AccessAPI.SubscribeBlockDigestsFromStartBlockID:output_type -> flow.access.SubscribeBlockDigestsResponse + 71, // 187: flow.access.AccessAPI.SubscribeBlockDigestsFromStartHeight:output_type -> flow.access.SubscribeBlockDigestsResponse + 71, // 188: flow.access.AccessAPI.SubscribeBlockDigestsFromLatest:output_type -> flow.access.SubscribeBlockDigestsResponse + 73, // 189: flow.access.AccessAPI.SendAndSubscribeTransactionStatuses:output_type -> flow.access.SendAndSubscribeTransactionStatusesResponse + 140, // [140:190] is the sub-list for method output_type + 90, // [90:140] is the sub-list for method input_type + 90, // [90:90] is the sub-list for extension type_name + 90, // [90:90] is the sub-list for extension extendee + 0, // [0:90] is the sub-list for field type_name +} + +func init() { file_flow_access_access_proto_init() } +func file_flow_access_access_proto_init() { + if File_flow_access_access_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_access_access_proto_rawDesc), len(file_flow_access_access_proto_rawDesc)), + NumEnums: 0, + NumMessages: 75, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_flow_access_access_proto_goTypes, + DependencyIndexes: file_flow_access_access_proto_depIdxs, + MessageInfos: file_flow_access_access_proto_msgTypes, + }.Build() + File_flow_access_access_proto = out.File + file_flow_access_access_proto_goTypes = nil + file_flow_access_access_proto_depIdxs = nil } diff --git a/protobuf/go/flow/access/access_grpc.pb.go b/protobuf/go/flow/access/access_grpc.pb.go index 9a485a84c..b38d62ccb 100644 --- a/protobuf/go/flow/access/access_grpc.pb.go +++ b/protobuf/go/flow/access/access_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.6.0 // - protoc (unknown) // source: flow/access/access.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( AccessAPI_Ping_FullMethodName = "/flow.access.AccessAPI/Ping" @@ -74,6 +74,8 @@ const ( // AccessAPIClient is the client API for AccessAPI service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// AccessAPI is the public-facing API provided by access nodes. type AccessAPIClient interface { // Ping is used to check if the access node is alive and healthy. Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) @@ -116,9 +118,11 @@ type AccessAPIClient interface { // GetSystemTransactionResult gets a system transaction result for a // specified block GetSystemTransactionResult(ctx context.Context, in *GetSystemTransactionResultRequest, opts ...grpc.CallOption) (*TransactionResultResponse, error) - // GetScheduledTransaction gets a scheduled transaction body for a given callback ID + // GetScheduledTransaction gets a scheduled transaction body for a given + // callback ID GetScheduledTransaction(ctx context.Context, in *GetScheduledTransactionRequest, opts ...grpc.CallOption) (*TransactionResponse, error) - // GetScheduledTransactionResult gets a scheduled transaction result for a given callback ID + // GetScheduledTransactionResult gets a scheduled transaction result for a + // given callback ID GetScheduledTransactionResult(ctx context.Context, in *GetScheduledTransactionResultRequest, opts ...grpc.CallOption) (*TransactionResultResponse, error) // GetAccount is an alias for GetAccountAtLatestBlock. // @@ -192,7 +196,7 @@ type AccessAPIClient interface { // Blocks are only returned when they have reached the provided block status. // For example, if the status is "sealed", only sealed blocks will be // returned. - SubscribeBlocksFromStartBlockID(ctx context.Context, in *SubscribeBlocksFromStartBlockIDRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlocksFromStartBlockIDClient, error) + SubscribeBlocksFromStartBlockID(ctx context.Context, in *SubscribeBlocksFromStartBlockIDRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlocksResponse], error) // SubscribeBlocksFromStartHeight streams finalized or sealed blocks starting // at the requested start block height, up until the latest available block. // Once the latest is reached, the stream will remain open and responses are @@ -201,7 +205,7 @@ type AccessAPIClient interface { // Blocks are only returned when they have reached the provided block status. // For example, if the status is "sealed", only sealed blocks will be // returned. - SubscribeBlocksFromStartHeight(ctx context.Context, in *SubscribeBlocksFromStartHeightRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlocksFromStartHeightClient, error) + SubscribeBlocksFromStartHeight(ctx context.Context, in *SubscribeBlocksFromStartHeightRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlocksResponse], error) // SubscribeBlocksFromLatest streams finalized or sealed blocks starting from // the latest finalized or sealed block. The stream will remain open and // responses are sent for each new block as it becomes available. @@ -209,7 +213,7 @@ type AccessAPIClient interface { // Blocks are only returned when they have reached the provided block status. // For example, if the status is "sealed", only sealed blocks will be // returned. - SubscribeBlocksFromLatest(ctx context.Context, in *SubscribeBlocksFromLatestRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlocksFromLatestClient, error) + SubscribeBlocksFromLatest(ctx context.Context, in *SubscribeBlocksFromLatestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlocksResponse], error) // SubscribeBlockHeadersFromStartBlockID streams finalized or sealed block // headers starting at the requested start block id, up until the latest // available block. Once the latest is reached, the stream will remain open @@ -218,7 +222,7 @@ type AccessAPIClient interface { // Block headers are only returned when they have reached the provided block // status. For example, if the status is "sealed", only sealed block headers // will be returned. - SubscribeBlockHeadersFromStartBlockID(ctx context.Context, in *SubscribeBlockHeadersFromStartBlockIDRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlockHeadersFromStartBlockIDClient, error) + SubscribeBlockHeadersFromStartBlockID(ctx context.Context, in *SubscribeBlockHeadersFromStartBlockIDRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlockHeadersResponse], error) // SubscribeBlockHeadersFromStartHeight streams finalized or sealed block // headers starting at the requested start block height, up until the latest // available block. Once the latest is reached, the stream will remain open @@ -227,7 +231,7 @@ type AccessAPIClient interface { // Block headers are only returned when they have reached the provided block // status. For example, if the status is "sealed", only sealed block headers // will be returned. - SubscribeBlockHeadersFromStartHeight(ctx context.Context, in *SubscribeBlockHeadersFromStartHeightRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlockHeadersFromStartHeightClient, error) + SubscribeBlockHeadersFromStartHeight(ctx context.Context, in *SubscribeBlockHeadersFromStartHeightRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlockHeadersResponse], error) // SubscribeBlockHeadersFromLatest streams finalized or sealed block headers // starting from the latest finalized or sealed block. The stream will remain // open and responses are sent for each new block header as it becomes @@ -236,7 +240,7 @@ type AccessAPIClient interface { // Block headers are only returned when they have reached the provided block // status. For example, if the status is "sealed", only sealed block headers // will be returned. - SubscribeBlockHeadersFromLatest(ctx context.Context, in *SubscribeBlockHeadersFromLatestRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlockHeadersFromLatestClient, error) + SubscribeBlockHeadersFromLatest(ctx context.Context, in *SubscribeBlockHeadersFromLatestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlockHeadersResponse], error) // SubscribeBlockDigestsFromStartBlockID streams finalized or sealed // lightweight block starting at the requested start block id, up until the // latest available block. Once the latest is reached, the stream will remain @@ -246,7 +250,7 @@ type AccessAPIClient interface { // Lightweight blocks are only returned when they have reached the provided // block status. For example, if the status is "sealed", only sealed // lightweight blocks will be returned. - SubscribeBlockDigestsFromStartBlockID(ctx context.Context, in *SubscribeBlockDigestsFromStartBlockIDRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlockDigestsFromStartBlockIDClient, error) + SubscribeBlockDigestsFromStartBlockID(ctx context.Context, in *SubscribeBlockDigestsFromStartBlockIDRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlockDigestsResponse], error) // SubscribeBlockDigestsFromStartHeight streams finalized or sealed // lightweight block starting at the requested start block height, up until // the latest available block. Once the latest is reached, the stream will @@ -256,7 +260,7 @@ type AccessAPIClient interface { // Lightweight blocks are only returned when they have reached the provided // block status. For example, if the status is "sealed", only sealed // lightweight blocks will be returned. - SubscribeBlockDigestsFromStartHeight(ctx context.Context, in *SubscribeBlockDigestsFromStartHeightRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlockDigestsFromStartHeightClient, error) + SubscribeBlockDigestsFromStartHeight(ctx context.Context, in *SubscribeBlockDigestsFromStartHeightRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlockDigestsResponse], error) // SubscribeBlockDigestsFromLatest streams finalized or sealed lightweight // block headers starting of the latest finalized or sealed block. The stream // will remain open and responses are sent for each new lightweight block as @@ -265,11 +269,11 @@ type AccessAPIClient interface { // Lightweight blocks are only returned when they have reached the provided // block status. For example, if the status is "sealed", only sealed // lightweight blocks will be returned. - SubscribeBlockDigestsFromLatest(ctx context.Context, in *SubscribeBlockDigestsFromLatestRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlockDigestsFromLatestClient, error) + SubscribeBlockDigestsFromLatest(ctx context.Context, in *SubscribeBlockDigestsFromLatestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlockDigestsResponse], error) // SendAndSubscribeTransactionStatuses send a transaction and immediately // subscribe to its status changes. The status is streamed back until the // block containing the transaction becomes sealed. - SendAndSubscribeTransactionStatuses(ctx context.Context, in *SendAndSubscribeTransactionStatusesRequest, opts ...grpc.CallOption) (AccessAPI_SendAndSubscribeTransactionStatusesClient, error) + SendAndSubscribeTransactionStatuses(ctx context.Context, in *SendAndSubscribeTransactionStatusesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SendAndSubscribeTransactionStatusesResponse], error) } type accessAPIClient struct { @@ -281,8 +285,9 @@ func NewAccessAPIClient(cc grpc.ClientConnInterface) AccessAPIClient { } func (c *accessAPIClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PingResponse) - err := c.cc.Invoke(ctx, AccessAPI_Ping_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_Ping_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -290,8 +295,9 @@ func (c *accessAPIClient) Ping(ctx context.Context, in *PingRequest, opts ...grp } func (c *accessAPIClient) GetNodeVersionInfo(ctx context.Context, in *GetNodeVersionInfoRequest, opts ...grpc.CallOption) (*GetNodeVersionInfoResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetNodeVersionInfoResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetNodeVersionInfo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetNodeVersionInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -299,8 +305,9 @@ func (c *accessAPIClient) GetNodeVersionInfo(ctx context.Context, in *GetNodeVer } func (c *accessAPIClient) GetLatestBlockHeader(ctx context.Context, in *GetLatestBlockHeaderRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockHeaderResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetLatestBlockHeader_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetLatestBlockHeader_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -308,8 +315,9 @@ func (c *accessAPIClient) GetLatestBlockHeader(ctx context.Context, in *GetLates } func (c *accessAPIClient) GetBlockHeaderByID(ctx context.Context, in *GetBlockHeaderByIDRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockHeaderResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetBlockHeaderByID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetBlockHeaderByID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -317,8 +325,9 @@ func (c *accessAPIClient) GetBlockHeaderByID(ctx context.Context, in *GetBlockHe } func (c *accessAPIClient) GetBlockHeaderByHeight(ctx context.Context, in *GetBlockHeaderByHeightRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockHeaderResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetBlockHeaderByHeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetBlockHeaderByHeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -326,8 +335,9 @@ func (c *accessAPIClient) GetBlockHeaderByHeight(ctx context.Context, in *GetBlo } func (c *accessAPIClient) GetLatestBlock(ctx context.Context, in *GetLatestBlockRequest, opts ...grpc.CallOption) (*BlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetLatestBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetLatestBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -335,8 +345,9 @@ func (c *accessAPIClient) GetLatestBlock(ctx context.Context, in *GetLatestBlock } func (c *accessAPIClient) GetBlockByID(ctx context.Context, in *GetBlockByIDRequest, opts ...grpc.CallOption) (*BlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetBlockByID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetBlockByID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -344,8 +355,9 @@ func (c *accessAPIClient) GetBlockByID(ctx context.Context, in *GetBlockByIDRequ } func (c *accessAPIClient) GetBlockByHeight(ctx context.Context, in *GetBlockByHeightRequest, opts ...grpc.CallOption) (*BlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetBlockByHeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetBlockByHeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -353,8 +365,9 @@ func (c *accessAPIClient) GetBlockByHeight(ctx context.Context, in *GetBlockByHe } func (c *accessAPIClient) GetCollectionByID(ctx context.Context, in *GetCollectionByIDRequest, opts ...grpc.CallOption) (*CollectionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CollectionResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetCollectionByID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetCollectionByID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -362,8 +375,9 @@ func (c *accessAPIClient) GetCollectionByID(ctx context.Context, in *GetCollecti } func (c *accessAPIClient) GetFullCollectionByID(ctx context.Context, in *GetFullCollectionByIDRequest, opts ...grpc.CallOption) (*FullCollectionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(FullCollectionResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetFullCollectionByID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetFullCollectionByID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -371,8 +385,9 @@ func (c *accessAPIClient) GetFullCollectionByID(ctx context.Context, in *GetFull } func (c *accessAPIClient) SendTransaction(ctx context.Context, in *SendTransactionRequest, opts ...grpc.CallOption) (*SendTransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SendTransactionResponse) - err := c.cc.Invoke(ctx, AccessAPI_SendTransaction_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_SendTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -380,8 +395,9 @@ func (c *accessAPIClient) SendTransaction(ctx context.Context, in *SendTransacti } func (c *accessAPIClient) GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetTransaction_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -389,8 +405,9 @@ func (c *accessAPIClient) GetTransaction(ctx context.Context, in *GetTransaction } func (c *accessAPIClient) GetTransactionResult(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*TransactionResultResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResultResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetTransactionResult_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetTransactionResult_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -398,8 +415,9 @@ func (c *accessAPIClient) GetTransactionResult(ctx context.Context, in *GetTrans } func (c *accessAPIClient) GetTransactionResultByIndex(ctx context.Context, in *GetTransactionByIndexRequest, opts ...grpc.CallOption) (*TransactionResultResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResultResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetTransactionResultByIndex_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetTransactionResultByIndex_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -407,8 +425,9 @@ func (c *accessAPIClient) GetTransactionResultByIndex(ctx context.Context, in *G } func (c *accessAPIClient) GetTransactionResultsByBlockID(ctx context.Context, in *GetTransactionsByBlockIDRequest, opts ...grpc.CallOption) (*TransactionResultsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResultsResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetTransactionResultsByBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetTransactionResultsByBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -416,8 +435,9 @@ func (c *accessAPIClient) GetTransactionResultsByBlockID(ctx context.Context, in } func (c *accessAPIClient) GetTransactionsByBlockID(ctx context.Context, in *GetTransactionsByBlockIDRequest, opts ...grpc.CallOption) (*TransactionsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionsResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetTransactionsByBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetTransactionsByBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -425,8 +445,9 @@ func (c *accessAPIClient) GetTransactionsByBlockID(ctx context.Context, in *GetT } func (c *accessAPIClient) GetSystemTransaction(ctx context.Context, in *GetSystemTransactionRequest, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetSystemTransaction_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetSystemTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -434,8 +455,9 @@ func (c *accessAPIClient) GetSystemTransaction(ctx context.Context, in *GetSyste } func (c *accessAPIClient) GetSystemTransactionResult(ctx context.Context, in *GetSystemTransactionResultRequest, opts ...grpc.CallOption) (*TransactionResultResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResultResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetSystemTransactionResult_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetSystemTransactionResult_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -443,8 +465,9 @@ func (c *accessAPIClient) GetSystemTransactionResult(ctx context.Context, in *Ge } func (c *accessAPIClient) GetScheduledTransaction(ctx context.Context, in *GetScheduledTransactionRequest, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetScheduledTransaction_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetScheduledTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -452,8 +475,9 @@ func (c *accessAPIClient) GetScheduledTransaction(ctx context.Context, in *GetSc } func (c *accessAPIClient) GetScheduledTransactionResult(ctx context.Context, in *GetScheduledTransactionResultRequest, opts ...grpc.CallOption) (*TransactionResultResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResultResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetScheduledTransactionResult_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetScheduledTransactionResult_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -461,8 +485,9 @@ func (c *accessAPIClient) GetScheduledTransactionResult(ctx context.Context, in } func (c *accessAPIClient) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAccountResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetAccount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -470,8 +495,9 @@ func (c *accessAPIClient) GetAccount(ctx context.Context, in *GetAccountRequest, } func (c *accessAPIClient) GetAccountAtLatestBlock(ctx context.Context, in *GetAccountAtLatestBlockRequest, opts ...grpc.CallOption) (*AccountResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetAccountAtLatestBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetAccountAtLatestBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -479,8 +505,9 @@ func (c *accessAPIClient) GetAccountAtLatestBlock(ctx context.Context, in *GetAc } func (c *accessAPIClient) GetAccountAtBlockHeight(ctx context.Context, in *GetAccountAtBlockHeightRequest, opts ...grpc.CallOption) (*AccountResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetAccountAtBlockHeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetAccountAtBlockHeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -488,8 +515,9 @@ func (c *accessAPIClient) GetAccountAtBlockHeight(ctx context.Context, in *GetAc } func (c *accessAPIClient) GetAccountBalanceAtLatestBlock(ctx context.Context, in *GetAccountBalanceAtLatestBlockRequest, opts ...grpc.CallOption) (*AccountBalanceResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountBalanceResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetAccountBalanceAtLatestBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetAccountBalanceAtLatestBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -497,8 +525,9 @@ func (c *accessAPIClient) GetAccountBalanceAtLatestBlock(ctx context.Context, in } func (c *accessAPIClient) GetAccountBalanceAtBlockHeight(ctx context.Context, in *GetAccountBalanceAtBlockHeightRequest, opts ...grpc.CallOption) (*AccountBalanceResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountBalanceResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetAccountBalanceAtBlockHeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetAccountBalanceAtBlockHeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -506,8 +535,9 @@ func (c *accessAPIClient) GetAccountBalanceAtBlockHeight(ctx context.Context, in } func (c *accessAPIClient) GetAccountKeysAtLatestBlock(ctx context.Context, in *GetAccountKeysAtLatestBlockRequest, opts ...grpc.CallOption) (*AccountKeysResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountKeysResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetAccountKeysAtLatestBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetAccountKeysAtLatestBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -515,8 +545,9 @@ func (c *accessAPIClient) GetAccountKeysAtLatestBlock(ctx context.Context, in *G } func (c *accessAPIClient) GetAccountKeysAtBlockHeight(ctx context.Context, in *GetAccountKeysAtBlockHeightRequest, opts ...grpc.CallOption) (*AccountKeysResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountKeysResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetAccountKeysAtBlockHeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetAccountKeysAtBlockHeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -524,8 +555,9 @@ func (c *accessAPIClient) GetAccountKeysAtBlockHeight(ctx context.Context, in *G } func (c *accessAPIClient) GetAccountKeyAtLatestBlock(ctx context.Context, in *GetAccountKeyAtLatestBlockRequest, opts ...grpc.CallOption) (*AccountKeyResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountKeyResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetAccountKeyAtLatestBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetAccountKeyAtLatestBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -533,8 +565,9 @@ func (c *accessAPIClient) GetAccountKeyAtLatestBlock(ctx context.Context, in *Ge } func (c *accessAPIClient) GetAccountKeyAtBlockHeight(ctx context.Context, in *GetAccountKeyAtBlockHeightRequest, opts ...grpc.CallOption) (*AccountKeyResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountKeyResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetAccountKeyAtBlockHeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetAccountKeyAtBlockHeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -542,8 +575,9 @@ func (c *accessAPIClient) GetAccountKeyAtBlockHeight(ctx context.Context, in *Ge } func (c *accessAPIClient) ExecuteScriptAtLatestBlock(ctx context.Context, in *ExecuteScriptAtLatestBlockRequest, opts ...grpc.CallOption) (*ExecuteScriptResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExecuteScriptResponse) - err := c.cc.Invoke(ctx, AccessAPI_ExecuteScriptAtLatestBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_ExecuteScriptAtLatestBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -551,8 +585,9 @@ func (c *accessAPIClient) ExecuteScriptAtLatestBlock(ctx context.Context, in *Ex } func (c *accessAPIClient) ExecuteScriptAtBlockID(ctx context.Context, in *ExecuteScriptAtBlockIDRequest, opts ...grpc.CallOption) (*ExecuteScriptResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExecuteScriptResponse) - err := c.cc.Invoke(ctx, AccessAPI_ExecuteScriptAtBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_ExecuteScriptAtBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -560,8 +595,9 @@ func (c *accessAPIClient) ExecuteScriptAtBlockID(ctx context.Context, in *Execut } func (c *accessAPIClient) ExecuteScriptAtBlockHeight(ctx context.Context, in *ExecuteScriptAtBlockHeightRequest, opts ...grpc.CallOption) (*ExecuteScriptResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExecuteScriptResponse) - err := c.cc.Invoke(ctx, AccessAPI_ExecuteScriptAtBlockHeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_ExecuteScriptAtBlockHeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -569,8 +605,9 @@ func (c *accessAPIClient) ExecuteScriptAtBlockHeight(ctx context.Context, in *Ex } func (c *accessAPIClient) GetEventsForHeightRange(ctx context.Context, in *GetEventsForHeightRangeRequest, opts ...grpc.CallOption) (*EventsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(EventsResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetEventsForHeightRange_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetEventsForHeightRange_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -578,8 +615,9 @@ func (c *accessAPIClient) GetEventsForHeightRange(ctx context.Context, in *GetEv } func (c *accessAPIClient) GetEventsForBlockIDs(ctx context.Context, in *GetEventsForBlockIDsRequest, opts ...grpc.CallOption) (*EventsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(EventsResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetEventsForBlockIDs_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetEventsForBlockIDs_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -587,8 +625,9 @@ func (c *accessAPIClient) GetEventsForBlockIDs(ctx context.Context, in *GetEvent } func (c *accessAPIClient) GetNetworkParameters(ctx context.Context, in *GetNetworkParametersRequest, opts ...grpc.CallOption) (*GetNetworkParametersResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetNetworkParametersResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetNetworkParameters_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetNetworkParameters_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -596,8 +635,9 @@ func (c *accessAPIClient) GetNetworkParameters(ctx context.Context, in *GetNetwo } func (c *accessAPIClient) GetLatestProtocolStateSnapshot(ctx context.Context, in *GetLatestProtocolStateSnapshotRequest, opts ...grpc.CallOption) (*ProtocolStateSnapshotResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ProtocolStateSnapshotResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetLatestProtocolStateSnapshot_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetLatestProtocolStateSnapshot_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -605,8 +645,9 @@ func (c *accessAPIClient) GetLatestProtocolStateSnapshot(ctx context.Context, in } func (c *accessAPIClient) GetProtocolStateSnapshotByBlockID(ctx context.Context, in *GetProtocolStateSnapshotByBlockIDRequest, opts ...grpc.CallOption) (*ProtocolStateSnapshotResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ProtocolStateSnapshotResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetProtocolStateSnapshotByBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetProtocolStateSnapshotByBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -614,8 +655,9 @@ func (c *accessAPIClient) GetProtocolStateSnapshotByBlockID(ctx context.Context, } func (c *accessAPIClient) GetProtocolStateSnapshotByHeight(ctx context.Context, in *GetProtocolStateSnapshotByHeightRequest, opts ...grpc.CallOption) (*ProtocolStateSnapshotResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ProtocolStateSnapshotResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetProtocolStateSnapshotByHeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetProtocolStateSnapshotByHeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -623,8 +665,9 @@ func (c *accessAPIClient) GetProtocolStateSnapshotByHeight(ctx context.Context, } func (c *accessAPIClient) GetExecutionResultForBlockID(ctx context.Context, in *GetExecutionResultForBlockIDRequest, opts ...grpc.CallOption) (*ExecutionResultForBlockIDResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExecutionResultForBlockIDResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetExecutionResultForBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetExecutionResultForBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -632,20 +675,22 @@ func (c *accessAPIClient) GetExecutionResultForBlockID(ctx context.Context, in * } func (c *accessAPIClient) GetExecutionResultByID(ctx context.Context, in *GetExecutionResultByIDRequest, opts ...grpc.CallOption) (*ExecutionResultByIDResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExecutionResultByIDResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetExecutionResultByID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetExecutionResultByID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } -func (c *accessAPIClient) SubscribeBlocksFromStartBlockID(ctx context.Context, in *SubscribeBlocksFromStartBlockIDRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlocksFromStartBlockIDClient, error) { - stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[0], AccessAPI_SubscribeBlocksFromStartBlockID_FullMethodName, opts...) +func (c *accessAPIClient) SubscribeBlocksFromStartBlockID(ctx context.Context, in *SubscribeBlocksFromStartBlockIDRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlocksResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[0], AccessAPI_SubscribeBlocksFromStartBlockID_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &accessAPISubscribeBlocksFromStartBlockIDClient{stream} + x := &grpc.GenericClientStream[SubscribeBlocksFromStartBlockIDRequest, SubscribeBlocksResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -655,29 +700,16 @@ func (c *accessAPIClient) SubscribeBlocksFromStartBlockID(ctx context.Context, i return x, nil } -type AccessAPI_SubscribeBlocksFromStartBlockIDClient interface { - Recv() (*SubscribeBlocksResponse, error) - grpc.ClientStream -} - -type accessAPISubscribeBlocksFromStartBlockIDClient struct { - grpc.ClientStream -} - -func (x *accessAPISubscribeBlocksFromStartBlockIDClient) Recv() (*SubscribeBlocksResponse, error) { - m := new(SubscribeBlocksResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlocksFromStartBlockIDClient = grpc.ServerStreamingClient[SubscribeBlocksResponse] -func (c *accessAPIClient) SubscribeBlocksFromStartHeight(ctx context.Context, in *SubscribeBlocksFromStartHeightRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlocksFromStartHeightClient, error) { - stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[1], AccessAPI_SubscribeBlocksFromStartHeight_FullMethodName, opts...) +func (c *accessAPIClient) SubscribeBlocksFromStartHeight(ctx context.Context, in *SubscribeBlocksFromStartHeightRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlocksResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[1], AccessAPI_SubscribeBlocksFromStartHeight_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &accessAPISubscribeBlocksFromStartHeightClient{stream} + x := &grpc.GenericClientStream[SubscribeBlocksFromStartHeightRequest, SubscribeBlocksResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -687,29 +719,16 @@ func (c *accessAPIClient) SubscribeBlocksFromStartHeight(ctx context.Context, in return x, nil } -type AccessAPI_SubscribeBlocksFromStartHeightClient interface { - Recv() (*SubscribeBlocksResponse, error) - grpc.ClientStream -} - -type accessAPISubscribeBlocksFromStartHeightClient struct { - grpc.ClientStream -} - -func (x *accessAPISubscribeBlocksFromStartHeightClient) Recv() (*SubscribeBlocksResponse, error) { - m := new(SubscribeBlocksResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlocksFromStartHeightClient = grpc.ServerStreamingClient[SubscribeBlocksResponse] -func (c *accessAPIClient) SubscribeBlocksFromLatest(ctx context.Context, in *SubscribeBlocksFromLatestRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlocksFromLatestClient, error) { - stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[2], AccessAPI_SubscribeBlocksFromLatest_FullMethodName, opts...) +func (c *accessAPIClient) SubscribeBlocksFromLatest(ctx context.Context, in *SubscribeBlocksFromLatestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlocksResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[2], AccessAPI_SubscribeBlocksFromLatest_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &accessAPISubscribeBlocksFromLatestClient{stream} + x := &grpc.GenericClientStream[SubscribeBlocksFromLatestRequest, SubscribeBlocksResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -719,29 +738,16 @@ func (c *accessAPIClient) SubscribeBlocksFromLatest(ctx context.Context, in *Sub return x, nil } -type AccessAPI_SubscribeBlocksFromLatestClient interface { - Recv() (*SubscribeBlocksResponse, error) - grpc.ClientStream -} - -type accessAPISubscribeBlocksFromLatestClient struct { - grpc.ClientStream -} - -func (x *accessAPISubscribeBlocksFromLatestClient) Recv() (*SubscribeBlocksResponse, error) { - m := new(SubscribeBlocksResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlocksFromLatestClient = grpc.ServerStreamingClient[SubscribeBlocksResponse] -func (c *accessAPIClient) SubscribeBlockHeadersFromStartBlockID(ctx context.Context, in *SubscribeBlockHeadersFromStartBlockIDRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlockHeadersFromStartBlockIDClient, error) { - stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[3], AccessAPI_SubscribeBlockHeadersFromStartBlockID_FullMethodName, opts...) +func (c *accessAPIClient) SubscribeBlockHeadersFromStartBlockID(ctx context.Context, in *SubscribeBlockHeadersFromStartBlockIDRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlockHeadersResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[3], AccessAPI_SubscribeBlockHeadersFromStartBlockID_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &accessAPISubscribeBlockHeadersFromStartBlockIDClient{stream} + x := &grpc.GenericClientStream[SubscribeBlockHeadersFromStartBlockIDRequest, SubscribeBlockHeadersResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -751,29 +757,16 @@ func (c *accessAPIClient) SubscribeBlockHeadersFromStartBlockID(ctx context.Cont return x, nil } -type AccessAPI_SubscribeBlockHeadersFromStartBlockIDClient interface { - Recv() (*SubscribeBlockHeadersResponse, error) - grpc.ClientStream -} - -type accessAPISubscribeBlockHeadersFromStartBlockIDClient struct { - grpc.ClientStream -} - -func (x *accessAPISubscribeBlockHeadersFromStartBlockIDClient) Recv() (*SubscribeBlockHeadersResponse, error) { - m := new(SubscribeBlockHeadersResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlockHeadersFromStartBlockIDClient = grpc.ServerStreamingClient[SubscribeBlockHeadersResponse] -func (c *accessAPIClient) SubscribeBlockHeadersFromStartHeight(ctx context.Context, in *SubscribeBlockHeadersFromStartHeightRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlockHeadersFromStartHeightClient, error) { - stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[4], AccessAPI_SubscribeBlockHeadersFromStartHeight_FullMethodName, opts...) +func (c *accessAPIClient) SubscribeBlockHeadersFromStartHeight(ctx context.Context, in *SubscribeBlockHeadersFromStartHeightRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlockHeadersResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[4], AccessAPI_SubscribeBlockHeadersFromStartHeight_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &accessAPISubscribeBlockHeadersFromStartHeightClient{stream} + x := &grpc.GenericClientStream[SubscribeBlockHeadersFromStartHeightRequest, SubscribeBlockHeadersResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -783,29 +776,16 @@ func (c *accessAPIClient) SubscribeBlockHeadersFromStartHeight(ctx context.Conte return x, nil } -type AccessAPI_SubscribeBlockHeadersFromStartHeightClient interface { - Recv() (*SubscribeBlockHeadersResponse, error) - grpc.ClientStream -} - -type accessAPISubscribeBlockHeadersFromStartHeightClient struct { - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlockHeadersFromStartHeightClient = grpc.ServerStreamingClient[SubscribeBlockHeadersResponse] -func (x *accessAPISubscribeBlockHeadersFromStartHeightClient) Recv() (*SubscribeBlockHeadersResponse, error) { - m := new(SubscribeBlockHeadersResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *accessAPIClient) SubscribeBlockHeadersFromLatest(ctx context.Context, in *SubscribeBlockHeadersFromLatestRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlockHeadersFromLatestClient, error) { - stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[5], AccessAPI_SubscribeBlockHeadersFromLatest_FullMethodName, opts...) +func (c *accessAPIClient) SubscribeBlockHeadersFromLatest(ctx context.Context, in *SubscribeBlockHeadersFromLatestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlockHeadersResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[5], AccessAPI_SubscribeBlockHeadersFromLatest_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &accessAPISubscribeBlockHeadersFromLatestClient{stream} + x := &grpc.GenericClientStream[SubscribeBlockHeadersFromLatestRequest, SubscribeBlockHeadersResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -815,29 +795,16 @@ func (c *accessAPIClient) SubscribeBlockHeadersFromLatest(ctx context.Context, i return x, nil } -type AccessAPI_SubscribeBlockHeadersFromLatestClient interface { - Recv() (*SubscribeBlockHeadersResponse, error) - grpc.ClientStream -} - -type accessAPISubscribeBlockHeadersFromLatestClient struct { - grpc.ClientStream -} - -func (x *accessAPISubscribeBlockHeadersFromLatestClient) Recv() (*SubscribeBlockHeadersResponse, error) { - m := new(SubscribeBlockHeadersResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlockHeadersFromLatestClient = grpc.ServerStreamingClient[SubscribeBlockHeadersResponse] -func (c *accessAPIClient) SubscribeBlockDigestsFromStartBlockID(ctx context.Context, in *SubscribeBlockDigestsFromStartBlockIDRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlockDigestsFromStartBlockIDClient, error) { - stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[6], AccessAPI_SubscribeBlockDigestsFromStartBlockID_FullMethodName, opts...) +func (c *accessAPIClient) SubscribeBlockDigestsFromStartBlockID(ctx context.Context, in *SubscribeBlockDigestsFromStartBlockIDRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlockDigestsResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[6], AccessAPI_SubscribeBlockDigestsFromStartBlockID_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &accessAPISubscribeBlockDigestsFromStartBlockIDClient{stream} + x := &grpc.GenericClientStream[SubscribeBlockDigestsFromStartBlockIDRequest, SubscribeBlockDigestsResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -847,29 +814,16 @@ func (c *accessAPIClient) SubscribeBlockDigestsFromStartBlockID(ctx context.Cont return x, nil } -type AccessAPI_SubscribeBlockDigestsFromStartBlockIDClient interface { - Recv() (*SubscribeBlockDigestsResponse, error) - grpc.ClientStream -} - -type accessAPISubscribeBlockDigestsFromStartBlockIDClient struct { - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlockDigestsFromStartBlockIDClient = grpc.ServerStreamingClient[SubscribeBlockDigestsResponse] -func (x *accessAPISubscribeBlockDigestsFromStartBlockIDClient) Recv() (*SubscribeBlockDigestsResponse, error) { - m := new(SubscribeBlockDigestsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *accessAPIClient) SubscribeBlockDigestsFromStartHeight(ctx context.Context, in *SubscribeBlockDigestsFromStartHeightRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlockDigestsFromStartHeightClient, error) { - stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[7], AccessAPI_SubscribeBlockDigestsFromStartHeight_FullMethodName, opts...) +func (c *accessAPIClient) SubscribeBlockDigestsFromStartHeight(ctx context.Context, in *SubscribeBlockDigestsFromStartHeightRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlockDigestsResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[7], AccessAPI_SubscribeBlockDigestsFromStartHeight_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &accessAPISubscribeBlockDigestsFromStartHeightClient{stream} + x := &grpc.GenericClientStream[SubscribeBlockDigestsFromStartHeightRequest, SubscribeBlockDigestsResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -879,29 +833,16 @@ func (c *accessAPIClient) SubscribeBlockDigestsFromStartHeight(ctx context.Conte return x, nil } -type AccessAPI_SubscribeBlockDigestsFromStartHeightClient interface { - Recv() (*SubscribeBlockDigestsResponse, error) - grpc.ClientStream -} - -type accessAPISubscribeBlockDigestsFromStartHeightClient struct { - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlockDigestsFromStartHeightClient = grpc.ServerStreamingClient[SubscribeBlockDigestsResponse] -func (x *accessAPISubscribeBlockDigestsFromStartHeightClient) Recv() (*SubscribeBlockDigestsResponse, error) { - m := new(SubscribeBlockDigestsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *accessAPIClient) SubscribeBlockDigestsFromLatest(ctx context.Context, in *SubscribeBlockDigestsFromLatestRequest, opts ...grpc.CallOption) (AccessAPI_SubscribeBlockDigestsFromLatestClient, error) { - stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[8], AccessAPI_SubscribeBlockDigestsFromLatest_FullMethodName, opts...) +func (c *accessAPIClient) SubscribeBlockDigestsFromLatest(ctx context.Context, in *SubscribeBlockDigestsFromLatestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeBlockDigestsResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[8], AccessAPI_SubscribeBlockDigestsFromLatest_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &accessAPISubscribeBlockDigestsFromLatestClient{stream} + x := &grpc.GenericClientStream[SubscribeBlockDigestsFromLatestRequest, SubscribeBlockDigestsResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -911,29 +852,16 @@ func (c *accessAPIClient) SubscribeBlockDigestsFromLatest(ctx context.Context, i return x, nil } -type AccessAPI_SubscribeBlockDigestsFromLatestClient interface { - Recv() (*SubscribeBlockDigestsResponse, error) - grpc.ClientStream -} - -type accessAPISubscribeBlockDigestsFromLatestClient struct { - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlockDigestsFromLatestClient = grpc.ServerStreamingClient[SubscribeBlockDigestsResponse] -func (x *accessAPISubscribeBlockDigestsFromLatestClient) Recv() (*SubscribeBlockDigestsResponse, error) { - m := new(SubscribeBlockDigestsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *accessAPIClient) SendAndSubscribeTransactionStatuses(ctx context.Context, in *SendAndSubscribeTransactionStatusesRequest, opts ...grpc.CallOption) (AccessAPI_SendAndSubscribeTransactionStatusesClient, error) { - stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[9], AccessAPI_SendAndSubscribeTransactionStatuses_FullMethodName, opts...) +func (c *accessAPIClient) SendAndSubscribeTransactionStatuses(ctx context.Context, in *SendAndSubscribeTransactionStatusesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SendAndSubscribeTransactionStatusesResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AccessAPI_ServiceDesc.Streams[9], AccessAPI_SendAndSubscribeTransactionStatuses_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &accessAPISendAndSubscribeTransactionStatusesClient{stream} + x := &grpc.GenericClientStream[SendAndSubscribeTransactionStatusesRequest, SendAndSubscribeTransactionStatusesResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -943,26 +871,14 @@ func (c *accessAPIClient) SendAndSubscribeTransactionStatuses(ctx context.Contex return x, nil } -type AccessAPI_SendAndSubscribeTransactionStatusesClient interface { - Recv() (*SendAndSubscribeTransactionStatusesResponse, error) - grpc.ClientStream -} - -type accessAPISendAndSubscribeTransactionStatusesClient struct { - grpc.ClientStream -} - -func (x *accessAPISendAndSubscribeTransactionStatusesClient) Recv() (*SendAndSubscribeTransactionStatusesResponse, error) { - m := new(SendAndSubscribeTransactionStatusesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SendAndSubscribeTransactionStatusesClient = grpc.ServerStreamingClient[SendAndSubscribeTransactionStatusesResponse] // AccessAPIServer is the server API for AccessAPI service. // All implementations should embed UnimplementedAccessAPIServer -// for forward compatibility +// for forward compatibility. +// +// AccessAPI is the public-facing API provided by access nodes. type AccessAPIServer interface { // Ping is used to check if the access node is alive and healthy. Ping(context.Context, *PingRequest) (*PingResponse, error) @@ -1005,9 +921,11 @@ type AccessAPIServer interface { // GetSystemTransactionResult gets a system transaction result for a // specified block GetSystemTransactionResult(context.Context, *GetSystemTransactionResultRequest) (*TransactionResultResponse, error) - // GetScheduledTransaction gets a scheduled transaction body for a given callback ID + // GetScheduledTransaction gets a scheduled transaction body for a given + // callback ID GetScheduledTransaction(context.Context, *GetScheduledTransactionRequest) (*TransactionResponse, error) - // GetScheduledTransactionResult gets a scheduled transaction result for a given callback ID + // GetScheduledTransactionResult gets a scheduled transaction result for a + // given callback ID GetScheduledTransactionResult(context.Context, *GetScheduledTransactionResultRequest) (*TransactionResultResponse, error) // GetAccount is an alias for GetAccountAtLatestBlock. // @@ -1081,7 +999,7 @@ type AccessAPIServer interface { // Blocks are only returned when they have reached the provided block status. // For example, if the status is "sealed", only sealed blocks will be // returned. - SubscribeBlocksFromStartBlockID(*SubscribeBlocksFromStartBlockIDRequest, AccessAPI_SubscribeBlocksFromStartBlockIDServer) error + SubscribeBlocksFromStartBlockID(*SubscribeBlocksFromStartBlockIDRequest, grpc.ServerStreamingServer[SubscribeBlocksResponse]) error // SubscribeBlocksFromStartHeight streams finalized or sealed blocks starting // at the requested start block height, up until the latest available block. // Once the latest is reached, the stream will remain open and responses are @@ -1090,7 +1008,7 @@ type AccessAPIServer interface { // Blocks are only returned when they have reached the provided block status. // For example, if the status is "sealed", only sealed blocks will be // returned. - SubscribeBlocksFromStartHeight(*SubscribeBlocksFromStartHeightRequest, AccessAPI_SubscribeBlocksFromStartHeightServer) error + SubscribeBlocksFromStartHeight(*SubscribeBlocksFromStartHeightRequest, grpc.ServerStreamingServer[SubscribeBlocksResponse]) error // SubscribeBlocksFromLatest streams finalized or sealed blocks starting from // the latest finalized or sealed block. The stream will remain open and // responses are sent for each new block as it becomes available. @@ -1098,7 +1016,7 @@ type AccessAPIServer interface { // Blocks are only returned when they have reached the provided block status. // For example, if the status is "sealed", only sealed blocks will be // returned. - SubscribeBlocksFromLatest(*SubscribeBlocksFromLatestRequest, AccessAPI_SubscribeBlocksFromLatestServer) error + SubscribeBlocksFromLatest(*SubscribeBlocksFromLatestRequest, grpc.ServerStreamingServer[SubscribeBlocksResponse]) error // SubscribeBlockHeadersFromStartBlockID streams finalized or sealed block // headers starting at the requested start block id, up until the latest // available block. Once the latest is reached, the stream will remain open @@ -1107,7 +1025,7 @@ type AccessAPIServer interface { // Block headers are only returned when they have reached the provided block // status. For example, if the status is "sealed", only sealed block headers // will be returned. - SubscribeBlockHeadersFromStartBlockID(*SubscribeBlockHeadersFromStartBlockIDRequest, AccessAPI_SubscribeBlockHeadersFromStartBlockIDServer) error + SubscribeBlockHeadersFromStartBlockID(*SubscribeBlockHeadersFromStartBlockIDRequest, grpc.ServerStreamingServer[SubscribeBlockHeadersResponse]) error // SubscribeBlockHeadersFromStartHeight streams finalized or sealed block // headers starting at the requested start block height, up until the latest // available block. Once the latest is reached, the stream will remain open @@ -1116,7 +1034,7 @@ type AccessAPIServer interface { // Block headers are only returned when they have reached the provided block // status. For example, if the status is "sealed", only sealed block headers // will be returned. - SubscribeBlockHeadersFromStartHeight(*SubscribeBlockHeadersFromStartHeightRequest, AccessAPI_SubscribeBlockHeadersFromStartHeightServer) error + SubscribeBlockHeadersFromStartHeight(*SubscribeBlockHeadersFromStartHeightRequest, grpc.ServerStreamingServer[SubscribeBlockHeadersResponse]) error // SubscribeBlockHeadersFromLatest streams finalized or sealed block headers // starting from the latest finalized or sealed block. The stream will remain // open and responses are sent for each new block header as it becomes @@ -1125,7 +1043,7 @@ type AccessAPIServer interface { // Block headers are only returned when they have reached the provided block // status. For example, if the status is "sealed", only sealed block headers // will be returned. - SubscribeBlockHeadersFromLatest(*SubscribeBlockHeadersFromLatestRequest, AccessAPI_SubscribeBlockHeadersFromLatestServer) error + SubscribeBlockHeadersFromLatest(*SubscribeBlockHeadersFromLatestRequest, grpc.ServerStreamingServer[SubscribeBlockHeadersResponse]) error // SubscribeBlockDigestsFromStartBlockID streams finalized or sealed // lightweight block starting at the requested start block id, up until the // latest available block. Once the latest is reached, the stream will remain @@ -1135,7 +1053,7 @@ type AccessAPIServer interface { // Lightweight blocks are only returned when they have reached the provided // block status. For example, if the status is "sealed", only sealed // lightweight blocks will be returned. - SubscribeBlockDigestsFromStartBlockID(*SubscribeBlockDigestsFromStartBlockIDRequest, AccessAPI_SubscribeBlockDigestsFromStartBlockIDServer) error + SubscribeBlockDigestsFromStartBlockID(*SubscribeBlockDigestsFromStartBlockIDRequest, grpc.ServerStreamingServer[SubscribeBlockDigestsResponse]) error // SubscribeBlockDigestsFromStartHeight streams finalized or sealed // lightweight block starting at the requested start block height, up until // the latest available block. Once the latest is reached, the stream will @@ -1145,7 +1063,7 @@ type AccessAPIServer interface { // Lightweight blocks are only returned when they have reached the provided // block status. For example, if the status is "sealed", only sealed // lightweight blocks will be returned. - SubscribeBlockDigestsFromStartHeight(*SubscribeBlockDigestsFromStartHeightRequest, AccessAPI_SubscribeBlockDigestsFromStartHeightServer) error + SubscribeBlockDigestsFromStartHeight(*SubscribeBlockDigestsFromStartHeightRequest, grpc.ServerStreamingServer[SubscribeBlockDigestsResponse]) error // SubscribeBlockDigestsFromLatest streams finalized or sealed lightweight // block headers starting of the latest finalized or sealed block. The stream // will remain open and responses are sent for each new lightweight block as @@ -1154,167 +1072,171 @@ type AccessAPIServer interface { // Lightweight blocks are only returned when they have reached the provided // block status. For example, if the status is "sealed", only sealed // lightweight blocks will be returned. - SubscribeBlockDigestsFromLatest(*SubscribeBlockDigestsFromLatestRequest, AccessAPI_SubscribeBlockDigestsFromLatestServer) error + SubscribeBlockDigestsFromLatest(*SubscribeBlockDigestsFromLatestRequest, grpc.ServerStreamingServer[SubscribeBlockDigestsResponse]) error // SendAndSubscribeTransactionStatuses send a transaction and immediately // subscribe to its status changes. The status is streamed back until the // block containing the transaction becomes sealed. - SendAndSubscribeTransactionStatuses(*SendAndSubscribeTransactionStatusesRequest, AccessAPI_SendAndSubscribeTransactionStatusesServer) error + SendAndSubscribeTransactionStatuses(*SendAndSubscribeTransactionStatusesRequest, grpc.ServerStreamingServer[SendAndSubscribeTransactionStatusesResponse]) error } -// UnimplementedAccessAPIServer should be embedded to have forward compatible implementations. -type UnimplementedAccessAPIServer struct { -} +// UnimplementedAccessAPIServer should be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedAccessAPIServer struct{} func (UnimplementedAccessAPIServer) Ping(context.Context, *PingRequest) (*PingResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") + return nil, status.Error(codes.Unimplemented, "method Ping not implemented") } func (UnimplementedAccessAPIServer) GetNodeVersionInfo(context.Context, *GetNodeVersionInfoRequest) (*GetNodeVersionInfoResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNodeVersionInfo not implemented") + return nil, status.Error(codes.Unimplemented, "method GetNodeVersionInfo not implemented") } func (UnimplementedAccessAPIServer) GetLatestBlockHeader(context.Context, *GetLatestBlockHeaderRequest) (*BlockHeaderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLatestBlockHeader not implemented") + return nil, status.Error(codes.Unimplemented, "method GetLatestBlockHeader not implemented") } func (UnimplementedAccessAPIServer) GetBlockHeaderByID(context.Context, *GetBlockHeaderByIDRequest) (*BlockHeaderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockHeaderByID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetBlockHeaderByID not implemented") } func (UnimplementedAccessAPIServer) GetBlockHeaderByHeight(context.Context, *GetBlockHeaderByHeightRequest) (*BlockHeaderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockHeaderByHeight not implemented") + return nil, status.Error(codes.Unimplemented, "method GetBlockHeaderByHeight not implemented") } func (UnimplementedAccessAPIServer) GetLatestBlock(context.Context, *GetLatestBlockRequest) (*BlockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLatestBlock not implemented") + return nil, status.Error(codes.Unimplemented, "method GetLatestBlock not implemented") } func (UnimplementedAccessAPIServer) GetBlockByID(context.Context, *GetBlockByIDRequest) (*BlockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetBlockByID not implemented") } func (UnimplementedAccessAPIServer) GetBlockByHeight(context.Context, *GetBlockByHeightRequest) (*BlockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByHeight not implemented") + return nil, status.Error(codes.Unimplemented, "method GetBlockByHeight not implemented") } func (UnimplementedAccessAPIServer) GetCollectionByID(context.Context, *GetCollectionByIDRequest) (*CollectionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCollectionByID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetCollectionByID not implemented") } func (UnimplementedAccessAPIServer) GetFullCollectionByID(context.Context, *GetFullCollectionByIDRequest) (*FullCollectionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFullCollectionByID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetFullCollectionByID not implemented") } func (UnimplementedAccessAPIServer) SendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SendTransaction not implemented") + return nil, status.Error(codes.Unimplemented, "method SendTransaction not implemented") } func (UnimplementedAccessAPIServer) GetTransaction(context.Context, *GetTransactionRequest) (*TransactionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransaction not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransaction not implemented") } func (UnimplementedAccessAPIServer) GetTransactionResult(context.Context, *GetTransactionRequest) (*TransactionResultResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionResult not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionResult not implemented") } func (UnimplementedAccessAPIServer) GetTransactionResultByIndex(context.Context, *GetTransactionByIndexRequest) (*TransactionResultResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionResultByIndex not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionResultByIndex not implemented") } func (UnimplementedAccessAPIServer) GetTransactionResultsByBlockID(context.Context, *GetTransactionsByBlockIDRequest) (*TransactionResultsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionResultsByBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionResultsByBlockID not implemented") } func (UnimplementedAccessAPIServer) GetTransactionsByBlockID(context.Context, *GetTransactionsByBlockIDRequest) (*TransactionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsByBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionsByBlockID not implemented") } func (UnimplementedAccessAPIServer) GetSystemTransaction(context.Context, *GetSystemTransactionRequest) (*TransactionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSystemTransaction not implemented") + return nil, status.Error(codes.Unimplemented, "method GetSystemTransaction not implemented") } func (UnimplementedAccessAPIServer) GetSystemTransactionResult(context.Context, *GetSystemTransactionResultRequest) (*TransactionResultResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSystemTransactionResult not implemented") + return nil, status.Error(codes.Unimplemented, "method GetSystemTransactionResult not implemented") } func (UnimplementedAccessAPIServer) GetScheduledTransaction(context.Context, *GetScheduledTransactionRequest) (*TransactionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetScheduledTransaction not implemented") + return nil, status.Error(codes.Unimplemented, "method GetScheduledTransaction not implemented") } func (UnimplementedAccessAPIServer) GetScheduledTransactionResult(context.Context, *GetScheduledTransactionResultRequest) (*TransactionResultResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetScheduledTransactionResult not implemented") + return nil, status.Error(codes.Unimplemented, "method GetScheduledTransactionResult not implemented") } func (UnimplementedAccessAPIServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccount not implemented") } func (UnimplementedAccessAPIServer) GetAccountAtLatestBlock(context.Context, *GetAccountAtLatestBlockRequest) (*AccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountAtLatestBlock not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccountAtLatestBlock not implemented") } func (UnimplementedAccessAPIServer) GetAccountAtBlockHeight(context.Context, *GetAccountAtBlockHeightRequest) (*AccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountAtBlockHeight not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccountAtBlockHeight not implemented") } func (UnimplementedAccessAPIServer) GetAccountBalanceAtLatestBlock(context.Context, *GetAccountBalanceAtLatestBlockRequest) (*AccountBalanceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountBalanceAtLatestBlock not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccountBalanceAtLatestBlock not implemented") } func (UnimplementedAccessAPIServer) GetAccountBalanceAtBlockHeight(context.Context, *GetAccountBalanceAtBlockHeightRequest) (*AccountBalanceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountBalanceAtBlockHeight not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccountBalanceAtBlockHeight not implemented") } func (UnimplementedAccessAPIServer) GetAccountKeysAtLatestBlock(context.Context, *GetAccountKeysAtLatestBlockRequest) (*AccountKeysResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountKeysAtLatestBlock not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccountKeysAtLatestBlock not implemented") } func (UnimplementedAccessAPIServer) GetAccountKeysAtBlockHeight(context.Context, *GetAccountKeysAtBlockHeightRequest) (*AccountKeysResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountKeysAtBlockHeight not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccountKeysAtBlockHeight not implemented") } func (UnimplementedAccessAPIServer) GetAccountKeyAtLatestBlock(context.Context, *GetAccountKeyAtLatestBlockRequest) (*AccountKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountKeyAtLatestBlock not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccountKeyAtLatestBlock not implemented") } func (UnimplementedAccessAPIServer) GetAccountKeyAtBlockHeight(context.Context, *GetAccountKeyAtBlockHeightRequest) (*AccountKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountKeyAtBlockHeight not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccountKeyAtBlockHeight not implemented") } func (UnimplementedAccessAPIServer) ExecuteScriptAtLatestBlock(context.Context, *ExecuteScriptAtLatestBlockRequest) (*ExecuteScriptResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExecuteScriptAtLatestBlock not implemented") + return nil, status.Error(codes.Unimplemented, "method ExecuteScriptAtLatestBlock not implemented") } func (UnimplementedAccessAPIServer) ExecuteScriptAtBlockID(context.Context, *ExecuteScriptAtBlockIDRequest) (*ExecuteScriptResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExecuteScriptAtBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method ExecuteScriptAtBlockID not implemented") } func (UnimplementedAccessAPIServer) ExecuteScriptAtBlockHeight(context.Context, *ExecuteScriptAtBlockHeightRequest) (*ExecuteScriptResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExecuteScriptAtBlockHeight not implemented") + return nil, status.Error(codes.Unimplemented, "method ExecuteScriptAtBlockHeight not implemented") } func (UnimplementedAccessAPIServer) GetEventsForHeightRange(context.Context, *GetEventsForHeightRangeRequest) (*EventsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEventsForHeightRange not implemented") + return nil, status.Error(codes.Unimplemented, "method GetEventsForHeightRange not implemented") } func (UnimplementedAccessAPIServer) GetEventsForBlockIDs(context.Context, *GetEventsForBlockIDsRequest) (*EventsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEventsForBlockIDs not implemented") + return nil, status.Error(codes.Unimplemented, "method GetEventsForBlockIDs not implemented") } func (UnimplementedAccessAPIServer) GetNetworkParameters(context.Context, *GetNetworkParametersRequest) (*GetNetworkParametersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNetworkParameters not implemented") + return nil, status.Error(codes.Unimplemented, "method GetNetworkParameters not implemented") } func (UnimplementedAccessAPIServer) GetLatestProtocolStateSnapshot(context.Context, *GetLatestProtocolStateSnapshotRequest) (*ProtocolStateSnapshotResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLatestProtocolStateSnapshot not implemented") + return nil, status.Error(codes.Unimplemented, "method GetLatestProtocolStateSnapshot not implemented") } func (UnimplementedAccessAPIServer) GetProtocolStateSnapshotByBlockID(context.Context, *GetProtocolStateSnapshotByBlockIDRequest) (*ProtocolStateSnapshotResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProtocolStateSnapshotByBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetProtocolStateSnapshotByBlockID not implemented") } func (UnimplementedAccessAPIServer) GetProtocolStateSnapshotByHeight(context.Context, *GetProtocolStateSnapshotByHeightRequest) (*ProtocolStateSnapshotResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProtocolStateSnapshotByHeight not implemented") + return nil, status.Error(codes.Unimplemented, "method GetProtocolStateSnapshotByHeight not implemented") } func (UnimplementedAccessAPIServer) GetExecutionResultForBlockID(context.Context, *GetExecutionResultForBlockIDRequest) (*ExecutionResultForBlockIDResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExecutionResultForBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetExecutionResultForBlockID not implemented") } func (UnimplementedAccessAPIServer) GetExecutionResultByID(context.Context, *GetExecutionResultByIDRequest) (*ExecutionResultByIDResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExecutionResultByID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetExecutionResultByID not implemented") } -func (UnimplementedAccessAPIServer) SubscribeBlocksFromStartBlockID(*SubscribeBlocksFromStartBlockIDRequest, AccessAPI_SubscribeBlocksFromStartBlockIDServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeBlocksFromStartBlockID not implemented") +func (UnimplementedAccessAPIServer) SubscribeBlocksFromStartBlockID(*SubscribeBlocksFromStartBlockIDRequest, grpc.ServerStreamingServer[SubscribeBlocksResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeBlocksFromStartBlockID not implemented") } -func (UnimplementedAccessAPIServer) SubscribeBlocksFromStartHeight(*SubscribeBlocksFromStartHeightRequest, AccessAPI_SubscribeBlocksFromStartHeightServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeBlocksFromStartHeight not implemented") +func (UnimplementedAccessAPIServer) SubscribeBlocksFromStartHeight(*SubscribeBlocksFromStartHeightRequest, grpc.ServerStreamingServer[SubscribeBlocksResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeBlocksFromStartHeight not implemented") } -func (UnimplementedAccessAPIServer) SubscribeBlocksFromLatest(*SubscribeBlocksFromLatestRequest, AccessAPI_SubscribeBlocksFromLatestServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeBlocksFromLatest not implemented") +func (UnimplementedAccessAPIServer) SubscribeBlocksFromLatest(*SubscribeBlocksFromLatestRequest, grpc.ServerStreamingServer[SubscribeBlocksResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeBlocksFromLatest not implemented") } -func (UnimplementedAccessAPIServer) SubscribeBlockHeadersFromStartBlockID(*SubscribeBlockHeadersFromStartBlockIDRequest, AccessAPI_SubscribeBlockHeadersFromStartBlockIDServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeBlockHeadersFromStartBlockID not implemented") +func (UnimplementedAccessAPIServer) SubscribeBlockHeadersFromStartBlockID(*SubscribeBlockHeadersFromStartBlockIDRequest, grpc.ServerStreamingServer[SubscribeBlockHeadersResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeBlockHeadersFromStartBlockID not implemented") } -func (UnimplementedAccessAPIServer) SubscribeBlockHeadersFromStartHeight(*SubscribeBlockHeadersFromStartHeightRequest, AccessAPI_SubscribeBlockHeadersFromStartHeightServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeBlockHeadersFromStartHeight not implemented") +func (UnimplementedAccessAPIServer) SubscribeBlockHeadersFromStartHeight(*SubscribeBlockHeadersFromStartHeightRequest, grpc.ServerStreamingServer[SubscribeBlockHeadersResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeBlockHeadersFromStartHeight not implemented") } -func (UnimplementedAccessAPIServer) SubscribeBlockHeadersFromLatest(*SubscribeBlockHeadersFromLatestRequest, AccessAPI_SubscribeBlockHeadersFromLatestServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeBlockHeadersFromLatest not implemented") +func (UnimplementedAccessAPIServer) SubscribeBlockHeadersFromLatest(*SubscribeBlockHeadersFromLatestRequest, grpc.ServerStreamingServer[SubscribeBlockHeadersResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeBlockHeadersFromLatest not implemented") } -func (UnimplementedAccessAPIServer) SubscribeBlockDigestsFromStartBlockID(*SubscribeBlockDigestsFromStartBlockIDRequest, AccessAPI_SubscribeBlockDigestsFromStartBlockIDServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeBlockDigestsFromStartBlockID not implemented") +func (UnimplementedAccessAPIServer) SubscribeBlockDigestsFromStartBlockID(*SubscribeBlockDigestsFromStartBlockIDRequest, grpc.ServerStreamingServer[SubscribeBlockDigestsResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeBlockDigestsFromStartBlockID not implemented") } -func (UnimplementedAccessAPIServer) SubscribeBlockDigestsFromStartHeight(*SubscribeBlockDigestsFromStartHeightRequest, AccessAPI_SubscribeBlockDigestsFromStartHeightServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeBlockDigestsFromStartHeight not implemented") +func (UnimplementedAccessAPIServer) SubscribeBlockDigestsFromStartHeight(*SubscribeBlockDigestsFromStartHeightRequest, grpc.ServerStreamingServer[SubscribeBlockDigestsResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeBlockDigestsFromStartHeight not implemented") } -func (UnimplementedAccessAPIServer) SubscribeBlockDigestsFromLatest(*SubscribeBlockDigestsFromLatestRequest, AccessAPI_SubscribeBlockDigestsFromLatestServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeBlockDigestsFromLatest not implemented") +func (UnimplementedAccessAPIServer) SubscribeBlockDigestsFromLatest(*SubscribeBlockDigestsFromLatestRequest, grpc.ServerStreamingServer[SubscribeBlockDigestsResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeBlockDigestsFromLatest not implemented") } -func (UnimplementedAccessAPIServer) SendAndSubscribeTransactionStatuses(*SendAndSubscribeTransactionStatusesRequest, AccessAPI_SendAndSubscribeTransactionStatusesServer) error { - return status.Errorf(codes.Unimplemented, "method SendAndSubscribeTransactionStatuses not implemented") +func (UnimplementedAccessAPIServer) SendAndSubscribeTransactionStatuses(*SendAndSubscribeTransactionStatusesRequest, grpc.ServerStreamingServer[SendAndSubscribeTransactionStatusesResponse]) error { + return status.Error(codes.Unimplemented, "method SendAndSubscribeTransactionStatuses not implemented") } +func (UnimplementedAccessAPIServer) testEmbeddedByValue() {} // UnsafeAccessAPIServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to AccessAPIServer will @@ -1324,6 +1246,13 @@ type UnsafeAccessAPIServer interface { } func RegisterAccessAPIServer(s grpc.ServiceRegistrar, srv AccessAPIServer) { + // If the following call panics, it indicates UnimplementedAccessAPIServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&AccessAPI_ServiceDesc, srv) } @@ -2052,210 +1981,110 @@ func _AccessAPI_SubscribeBlocksFromStartBlockID_Handler(srv interface{}, stream if err := stream.RecvMsg(m); err != nil { return err } - return srv.(AccessAPIServer).SubscribeBlocksFromStartBlockID(m, &accessAPISubscribeBlocksFromStartBlockIDServer{stream}) + return srv.(AccessAPIServer).SubscribeBlocksFromStartBlockID(m, &grpc.GenericServerStream[SubscribeBlocksFromStartBlockIDRequest, SubscribeBlocksResponse]{ServerStream: stream}) } -type AccessAPI_SubscribeBlocksFromStartBlockIDServer interface { - Send(*SubscribeBlocksResponse) error - grpc.ServerStream -} - -type accessAPISubscribeBlocksFromStartBlockIDServer struct { - grpc.ServerStream -} - -func (x *accessAPISubscribeBlocksFromStartBlockIDServer) Send(m *SubscribeBlocksResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlocksFromStartBlockIDServer = grpc.ServerStreamingServer[SubscribeBlocksResponse] func _AccessAPI_SubscribeBlocksFromStartHeight_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeBlocksFromStartHeightRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(AccessAPIServer).SubscribeBlocksFromStartHeight(m, &accessAPISubscribeBlocksFromStartHeightServer{stream}) -} - -type AccessAPI_SubscribeBlocksFromStartHeightServer interface { - Send(*SubscribeBlocksResponse) error - grpc.ServerStream -} - -type accessAPISubscribeBlocksFromStartHeightServer struct { - grpc.ServerStream + return srv.(AccessAPIServer).SubscribeBlocksFromStartHeight(m, &grpc.GenericServerStream[SubscribeBlocksFromStartHeightRequest, SubscribeBlocksResponse]{ServerStream: stream}) } -func (x *accessAPISubscribeBlocksFromStartHeightServer) Send(m *SubscribeBlocksResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlocksFromStartHeightServer = grpc.ServerStreamingServer[SubscribeBlocksResponse] func _AccessAPI_SubscribeBlocksFromLatest_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeBlocksFromLatestRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(AccessAPIServer).SubscribeBlocksFromLatest(m, &accessAPISubscribeBlocksFromLatestServer{stream}) + return srv.(AccessAPIServer).SubscribeBlocksFromLatest(m, &grpc.GenericServerStream[SubscribeBlocksFromLatestRequest, SubscribeBlocksResponse]{ServerStream: stream}) } -type AccessAPI_SubscribeBlocksFromLatestServer interface { - Send(*SubscribeBlocksResponse) error - grpc.ServerStream -} - -type accessAPISubscribeBlocksFromLatestServer struct { - grpc.ServerStream -} - -func (x *accessAPISubscribeBlocksFromLatestServer) Send(m *SubscribeBlocksResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlocksFromLatestServer = grpc.ServerStreamingServer[SubscribeBlocksResponse] func _AccessAPI_SubscribeBlockHeadersFromStartBlockID_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeBlockHeadersFromStartBlockIDRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(AccessAPIServer).SubscribeBlockHeadersFromStartBlockID(m, &accessAPISubscribeBlockHeadersFromStartBlockIDServer{stream}) -} - -type AccessAPI_SubscribeBlockHeadersFromStartBlockIDServer interface { - Send(*SubscribeBlockHeadersResponse) error - grpc.ServerStream -} - -type accessAPISubscribeBlockHeadersFromStartBlockIDServer struct { - grpc.ServerStream + return srv.(AccessAPIServer).SubscribeBlockHeadersFromStartBlockID(m, &grpc.GenericServerStream[SubscribeBlockHeadersFromStartBlockIDRequest, SubscribeBlockHeadersResponse]{ServerStream: stream}) } -func (x *accessAPISubscribeBlockHeadersFromStartBlockIDServer) Send(m *SubscribeBlockHeadersResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlockHeadersFromStartBlockIDServer = grpc.ServerStreamingServer[SubscribeBlockHeadersResponse] func _AccessAPI_SubscribeBlockHeadersFromStartHeight_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeBlockHeadersFromStartHeightRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(AccessAPIServer).SubscribeBlockHeadersFromStartHeight(m, &accessAPISubscribeBlockHeadersFromStartHeightServer{stream}) -} - -type AccessAPI_SubscribeBlockHeadersFromStartHeightServer interface { - Send(*SubscribeBlockHeadersResponse) error - grpc.ServerStream -} - -type accessAPISubscribeBlockHeadersFromStartHeightServer struct { - grpc.ServerStream + return srv.(AccessAPIServer).SubscribeBlockHeadersFromStartHeight(m, &grpc.GenericServerStream[SubscribeBlockHeadersFromStartHeightRequest, SubscribeBlockHeadersResponse]{ServerStream: stream}) } -func (x *accessAPISubscribeBlockHeadersFromStartHeightServer) Send(m *SubscribeBlockHeadersResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlockHeadersFromStartHeightServer = grpc.ServerStreamingServer[SubscribeBlockHeadersResponse] func _AccessAPI_SubscribeBlockHeadersFromLatest_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeBlockHeadersFromLatestRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(AccessAPIServer).SubscribeBlockHeadersFromLatest(m, &accessAPISubscribeBlockHeadersFromLatestServer{stream}) -} - -type AccessAPI_SubscribeBlockHeadersFromLatestServer interface { - Send(*SubscribeBlockHeadersResponse) error - grpc.ServerStream + return srv.(AccessAPIServer).SubscribeBlockHeadersFromLatest(m, &grpc.GenericServerStream[SubscribeBlockHeadersFromLatestRequest, SubscribeBlockHeadersResponse]{ServerStream: stream}) } -type accessAPISubscribeBlockHeadersFromLatestServer struct { - grpc.ServerStream -} - -func (x *accessAPISubscribeBlockHeadersFromLatestServer) Send(m *SubscribeBlockHeadersResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlockHeadersFromLatestServer = grpc.ServerStreamingServer[SubscribeBlockHeadersResponse] func _AccessAPI_SubscribeBlockDigestsFromStartBlockID_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeBlockDigestsFromStartBlockIDRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(AccessAPIServer).SubscribeBlockDigestsFromStartBlockID(m, &accessAPISubscribeBlockDigestsFromStartBlockIDServer{stream}) -} - -type AccessAPI_SubscribeBlockDigestsFromStartBlockIDServer interface { - Send(*SubscribeBlockDigestsResponse) error - grpc.ServerStream -} - -type accessAPISubscribeBlockDigestsFromStartBlockIDServer struct { - grpc.ServerStream + return srv.(AccessAPIServer).SubscribeBlockDigestsFromStartBlockID(m, &grpc.GenericServerStream[SubscribeBlockDigestsFromStartBlockIDRequest, SubscribeBlockDigestsResponse]{ServerStream: stream}) } -func (x *accessAPISubscribeBlockDigestsFromStartBlockIDServer) Send(m *SubscribeBlockDigestsResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlockDigestsFromStartBlockIDServer = grpc.ServerStreamingServer[SubscribeBlockDigestsResponse] func _AccessAPI_SubscribeBlockDigestsFromStartHeight_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeBlockDigestsFromStartHeightRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(AccessAPIServer).SubscribeBlockDigestsFromStartHeight(m, &accessAPISubscribeBlockDigestsFromStartHeightServer{stream}) + return srv.(AccessAPIServer).SubscribeBlockDigestsFromStartHeight(m, &grpc.GenericServerStream[SubscribeBlockDigestsFromStartHeightRequest, SubscribeBlockDigestsResponse]{ServerStream: stream}) } -type AccessAPI_SubscribeBlockDigestsFromStartHeightServer interface { - Send(*SubscribeBlockDigestsResponse) error - grpc.ServerStream -} - -type accessAPISubscribeBlockDigestsFromStartHeightServer struct { - grpc.ServerStream -} - -func (x *accessAPISubscribeBlockDigestsFromStartHeightServer) Send(m *SubscribeBlockDigestsResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlockDigestsFromStartHeightServer = grpc.ServerStreamingServer[SubscribeBlockDigestsResponse] func _AccessAPI_SubscribeBlockDigestsFromLatest_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeBlockDigestsFromLatestRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(AccessAPIServer).SubscribeBlockDigestsFromLatest(m, &accessAPISubscribeBlockDigestsFromLatestServer{stream}) -} - -type AccessAPI_SubscribeBlockDigestsFromLatestServer interface { - Send(*SubscribeBlockDigestsResponse) error - grpc.ServerStream + return srv.(AccessAPIServer).SubscribeBlockDigestsFromLatest(m, &grpc.GenericServerStream[SubscribeBlockDigestsFromLatestRequest, SubscribeBlockDigestsResponse]{ServerStream: stream}) } -type accessAPISubscribeBlockDigestsFromLatestServer struct { - grpc.ServerStream -} - -func (x *accessAPISubscribeBlockDigestsFromLatestServer) Send(m *SubscribeBlockDigestsResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SubscribeBlockDigestsFromLatestServer = grpc.ServerStreamingServer[SubscribeBlockDigestsResponse] func _AccessAPI_SendAndSubscribeTransactionStatuses_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SendAndSubscribeTransactionStatusesRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(AccessAPIServer).SendAndSubscribeTransactionStatuses(m, &accessAPISendAndSubscribeTransactionStatusesServer{stream}) -} - -type AccessAPI_SendAndSubscribeTransactionStatusesServer interface { - Send(*SendAndSubscribeTransactionStatusesResponse) error - grpc.ServerStream + return srv.(AccessAPIServer).SendAndSubscribeTransactionStatuses(m, &grpc.GenericServerStream[SendAndSubscribeTransactionStatusesRequest, SendAndSubscribeTransactionStatusesResponse]{ServerStream: stream}) } -type accessAPISendAndSubscribeTransactionStatusesServer struct { - grpc.ServerStream -} - -func (x *accessAPISendAndSubscribeTransactionStatusesServer) Send(m *SendAndSubscribeTransactionStatusesResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AccessAPI_SendAndSubscribeTransactionStatusesServer = grpc.ServerStreamingServer[SendAndSubscribeTransactionStatusesResponse] // AccessAPI_ServiceDesc is the grpc.ServiceDesc for AccessAPI service. // It's only intended for direct use with grpc.RegisterService, diff --git a/protobuf/go/flow/entities/account.pb.go b/protobuf/go/flow/entities/account.pb.go index 056e021f4..6c48cb445 100644 --- a/protobuf/go/flow/entities/account.pb.go +++ b/protobuf/go/flow/entities/account.pb.go @@ -1,215 +1,268 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/account.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type Account struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` - Code []byte `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` - Keys []*AccountKey `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"` - Contracts map[string][]byte `protobuf:"bytes,5,rep,name=contracts,proto3" json:"contracts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Account) Reset() { *m = Account{} } -func (m *Account) String() string { return proto.CompactTextString(m) } -func (*Account) ProtoMessage() {} -func (*Account) Descriptor() ([]byte, []int) { - return fileDescriptor_bf0d6f6360ab9ab0, []int{0} + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` + Code []byte `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` + Keys []*AccountKey `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"` + Contracts map[string][]byte `protobuf:"bytes,5,rep,name=contracts,proto3" json:"contracts,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Account) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Account.Unmarshal(m, b) -} -func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Account.Marshal(b, m, deterministic) +func (x *Account) Reset() { + *x = Account{} + mi := &file_flow_entities_account_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Account) XXX_Merge(src proto.Message) { - xxx_messageInfo_Account.Merge(m, src) -} -func (m *Account) XXX_Size() int { - return xxx_messageInfo_Account.Size(m) + +func (x *Account) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Account) XXX_DiscardUnknown() { - xxx_messageInfo_Account.DiscardUnknown(m) + +func (*Account) ProtoMessage() {} + +func (x *Account) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_account_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Account proto.InternalMessageInfo +// Deprecated: Use Account.ProtoReflect.Descriptor instead. +func (*Account) Descriptor() ([]byte, []int) { + return file_flow_entities_account_proto_rawDescGZIP(), []int{0} +} -func (m *Account) GetAddress() []byte { - if m != nil { - return m.Address +func (x *Account) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *Account) GetBalance() uint64 { - if m != nil { - return m.Balance +func (x *Account) GetBalance() uint64 { + if x != nil { + return x.Balance } return 0 } -func (m *Account) GetCode() []byte { - if m != nil { - return m.Code +func (x *Account) GetCode() []byte { + if x != nil { + return x.Code } return nil } -func (m *Account) GetKeys() []*AccountKey { - if m != nil { - return m.Keys +func (x *Account) GetKeys() []*AccountKey { + if x != nil { + return x.Keys } return nil } -func (m *Account) GetContracts() map[string][]byte { - if m != nil { - return m.Contracts +func (x *Account) GetContracts() map[string][]byte { + if x != nil { + return x.Contracts } return nil } type AccountKey struct { - Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - SignAlgo uint32 `protobuf:"varint,3,opt,name=sign_algo,json=signAlgo,proto3" json:"sign_algo,omitempty"` - HashAlgo uint32 `protobuf:"varint,4,opt,name=hash_algo,json=hashAlgo,proto3" json:"hash_algo,omitempty"` - Weight uint32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"` - SequenceNumber uint32 `protobuf:"varint,6,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` - Revoked bool `protobuf:"varint,7,opt,name=revoked,proto3" json:"revoked,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AccountKey) Reset() { *m = AccountKey{} } -func (m *AccountKey) String() string { return proto.CompactTextString(m) } -func (*AccountKey) ProtoMessage() {} -func (*AccountKey) Descriptor() ([]byte, []int) { - return fileDescriptor_bf0d6f6360ab9ab0, []int{1} + state protoimpl.MessageState `protogen:"open.v1"` + Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` + PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + SignAlgo uint32 `protobuf:"varint,3,opt,name=sign_algo,json=signAlgo,proto3" json:"sign_algo,omitempty"` + HashAlgo uint32 `protobuf:"varint,4,opt,name=hash_algo,json=hashAlgo,proto3" json:"hash_algo,omitempty"` + Weight uint32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"` + SequenceNumber uint32 `protobuf:"varint,6,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` + Revoked bool `protobuf:"varint,7,opt,name=revoked,proto3" json:"revoked,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *AccountKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccountKey.Unmarshal(m, b) +func (x *AccountKey) Reset() { + *x = AccountKey{} + mi := &file_flow_entities_account_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *AccountKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccountKey.Marshal(b, m, deterministic) -} -func (m *AccountKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountKey.Merge(m, src) -} -func (m *AccountKey) XXX_Size() int { - return xxx_messageInfo_AccountKey.Size(m) + +func (x *AccountKey) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountKey) XXX_DiscardUnknown() { - xxx_messageInfo_AccountKey.DiscardUnknown(m) + +func (*AccountKey) ProtoMessage() {} + +func (x *AccountKey) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_account_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountKey proto.InternalMessageInfo +// Deprecated: Use AccountKey.ProtoReflect.Descriptor instead. +func (*AccountKey) Descriptor() ([]byte, []int) { + return file_flow_entities_account_proto_rawDescGZIP(), []int{1} +} -func (m *AccountKey) GetIndex() uint32 { - if m != nil { - return m.Index +func (x *AccountKey) GetIndex() uint32 { + if x != nil { + return x.Index } return 0 } -func (m *AccountKey) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *AccountKey) GetPublicKey() []byte { + if x != nil { + return x.PublicKey } return nil } -func (m *AccountKey) GetSignAlgo() uint32 { - if m != nil { - return m.SignAlgo +func (x *AccountKey) GetSignAlgo() uint32 { + if x != nil { + return x.SignAlgo } return 0 } -func (m *AccountKey) GetHashAlgo() uint32 { - if m != nil { - return m.HashAlgo +func (x *AccountKey) GetHashAlgo() uint32 { + if x != nil { + return x.HashAlgo } return 0 } -func (m *AccountKey) GetWeight() uint32 { - if m != nil { - return m.Weight +func (x *AccountKey) GetWeight() uint32 { + if x != nil { + return x.Weight } return 0 } -func (m *AccountKey) GetSequenceNumber() uint32 { - if m != nil { - return m.SequenceNumber +func (x *AccountKey) GetSequenceNumber() uint32 { + if x != nil { + return x.SequenceNumber } return 0 } -func (m *AccountKey) GetRevoked() bool { - if m != nil { - return m.Revoked +func (x *AccountKey) GetRevoked() bool { + if x != nil { + return x.Revoked } return false } -func init() { - proto.RegisterType((*Account)(nil), "flow.entities.Account") - proto.RegisterMapType((map[string][]byte)(nil), "flow.entities.Account.ContractsEntry") - proto.RegisterType((*AccountKey)(nil), "flow.entities.AccountKey") -} - -func init() { proto.RegisterFile("flow/entities/account.proto", fileDescriptor_bf0d6f6360ab9ab0) } - -var fileDescriptor_bf0d6f6360ab9ab0 = []byte{ - // 379 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xc1, 0xcb, 0xd3, 0x30, - 0x18, 0xc6, 0xe9, 0xd6, 0x6d, 0x5f, 0x5f, 0xbf, 0x4d, 0x09, 0x22, 0xd1, 0x29, 0x94, 0x81, 0xd8, - 0x8b, 0xad, 0xe8, 0x45, 0xc4, 0xcb, 0x1c, 0x9e, 0x04, 0x91, 0x1c, 0xbd, 0x8c, 0x34, 0x7d, 0xd7, - 0x96, 0x75, 0xc9, 0x6c, 0xd2, 0xcd, 0x9e, 0xfd, 0x1f, 0xfd, 0x7b, 0x24, 0xc9, 0xea, 0x18, 0x7c, - 0x97, 0x91, 0xe7, 0xf9, 0x3d, 0x4f, 0xb2, 0xbc, 0x0d, 0x2c, 0x77, 0x8d, 0x3a, 0x67, 0x28, 0x4d, - 0x6d, 0x6a, 0xd4, 0x19, 0x17, 0x42, 0x75, 0xd2, 0xa4, 0xc7, 0x56, 0x19, 0x45, 0xe6, 0x16, 0xa6, - 0x03, 0x5c, 0xfd, 0x19, 0xc1, 0x6c, 0xed, 0x03, 0x84, 0xc2, 0x8c, 0x17, 0x45, 0x8b, 0x5a, 0xd3, - 0x20, 0x0e, 0x92, 0x7b, 0x36, 0x48, 0x4b, 0x72, 0xde, 0x70, 0x29, 0x90, 0x8e, 0xe2, 0x20, 0x09, - 0xd9, 0x20, 0x09, 0x81, 0x50, 0xa8, 0x02, 0xe9, 0xd8, 0x15, 0xdc, 0x9a, 0xbc, 0x85, 0x70, 0x8f, - 0xbd, 0xa6, 0x61, 0x3c, 0x4e, 0x1e, 0xbd, 0x7f, 0x9e, 0xde, 0x9c, 0x98, 0x5e, 0x4e, 0xfb, 0x86, - 0x3d, 0x73, 0x31, 0xb2, 0x81, 0x48, 0x28, 0x69, 0x5a, 0x2e, 0x8c, 0xa6, 0x13, 0xd7, 0x79, 0xfd, - 0x70, 0x27, 0xdd, 0x0c, 0xb9, 0xaf, 0xd2, 0xb4, 0x3d, 0xbb, 0xf6, 0x5e, 0x7c, 0x86, 0xc5, 0x2d, - 0x24, 0x4f, 0x60, 0xbc, 0xc7, 0xde, 0xdd, 0x24, 0x62, 0x76, 0x49, 0x9e, 0xc2, 0xe4, 0xc4, 0x9b, - 0xce, 0xdf, 0xe1, 0x9e, 0x79, 0xf1, 0x69, 0xf4, 0x31, 0x58, 0xfd, 0x0d, 0x00, 0xae, 0xff, 0xcb, - 0x06, 0x6b, 0x59, 0xe0, 0x6f, 0x57, 0x9e, 0x33, 0x2f, 0xc8, 0x2b, 0x80, 0x63, 0x97, 0x37, 0xb5, - 0xd8, 0xda, 0x7d, 0xfd, 0x1e, 0x91, 0x77, 0x6c, 0x69, 0x09, 0x91, 0xae, 0x4b, 0xb9, 0xe5, 0x4d, - 0xa9, 0xdc, 0x38, 0xe6, 0xec, 0xce, 0x1a, 0xeb, 0xa6, 0x54, 0x16, 0x56, 0x5c, 0x57, 0x1e, 0x86, - 0x1e, 0x5a, 0xc3, 0xc1, 0x67, 0x30, 0x3d, 0x63, 0x5d, 0x56, 0x86, 0x4e, 0x1c, 0xb9, 0x28, 0xf2, - 0x06, 0x1e, 0x6b, 0xfc, 0xd5, 0xa1, 0x14, 0xb8, 0x95, 0xdd, 0x21, 0xc7, 0x96, 0x4e, 0x5d, 0x60, - 0x31, 0xd8, 0xdf, 0x9d, 0x6b, 0x3f, 0x4f, 0x8b, 0x27, 0xb5, 0xc7, 0x82, 0xce, 0xe2, 0x20, 0xb9, - 0x63, 0x83, 0xfc, 0xf2, 0x03, 0x5e, 0xaa, 0xb6, 0x4c, 0x95, 0x74, 0xf3, 0x74, 0x2f, 0x20, 0xef, - 0x76, 0xff, 0x07, 0xfb, 0xf3, 0x5d, 0x59, 0x9b, 0xaa, 0xcb, 0x53, 0xa1, 0x0e, 0x99, 0x0f, 0x65, - 0xee, 0x67, 0x48, 0x66, 0xa5, 0xca, 0x6e, 0x5e, 0x53, 0x3e, 0x75, 0xe8, 0xc3, 0xbf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x58, 0x79, 0x26, 0xc6, 0x65, 0x02, 0x00, 0x00, +var File_flow_entities_account_proto protoreflect.FileDescriptor + +const file_flow_entities_account_proto_rawDesc = "" + + "\n" + + "\x1bflow/entities/account.proto\x12\rflow.entities\"\x83\x02\n" + + "\aAccount\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12\x18\n" + + "\abalance\x18\x02 \x01(\x04R\abalance\x12\x12\n" + + "\x04code\x18\x03 \x01(\fR\x04code\x12-\n" + + "\x04keys\x18\x04 \x03(\v2\x19.flow.entities.AccountKeyR\x04keys\x12C\n" + + "\tcontracts\x18\x05 \x03(\v2%.flow.entities.Account.ContractsEntryR\tcontracts\x1a<\n" + + "\x0eContractsEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\fR\x05value:\x028\x01\"\xd6\x01\n" + + "\n" + + "AccountKey\x12\x14\n" + + "\x05index\x18\x01 \x01(\rR\x05index\x12\x1d\n" + + "\n" + + "public_key\x18\x02 \x01(\fR\tpublicKey\x12\x1b\n" + + "\tsign_algo\x18\x03 \x01(\rR\bsignAlgo\x12\x1b\n" + + "\thash_algo\x18\x04 \x01(\rR\bhashAlgo\x12\x16\n" + + "\x06weight\x18\x05 \x01(\rR\x06weight\x12'\n" + + "\x0fsequence_number\x18\x06 \x01(\rR\x0esequenceNumber\x12\x18\n" + + "\arevoked\x18\a \x01(\bR\arevokedBP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_account_proto_rawDescOnce sync.Once + file_flow_entities_account_proto_rawDescData []byte +) + +func file_flow_entities_account_proto_rawDescGZIP() []byte { + file_flow_entities_account_proto_rawDescOnce.Do(func() { + file_flow_entities_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_account_proto_rawDesc), len(file_flow_entities_account_proto_rawDesc))) + }) + return file_flow_entities_account_proto_rawDescData +} + +var file_flow_entities_account_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_flow_entities_account_proto_goTypes = []any{ + (*Account)(nil), // 0: flow.entities.Account + (*AccountKey)(nil), // 1: flow.entities.AccountKey + nil, // 2: flow.entities.Account.ContractsEntry +} +var file_flow_entities_account_proto_depIdxs = []int32{ + 1, // 0: flow.entities.Account.keys:type_name -> flow.entities.AccountKey + 2, // 1: flow.entities.Account.contracts:type_name -> flow.entities.Account.ContractsEntry + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_flow_entities_account_proto_init() } +func file_flow_entities_account_proto_init() { + if File_flow_entities_account_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_account_proto_rawDesc), len(file_flow_entities_account_proto_rawDesc)), + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_account_proto_goTypes, + DependencyIndexes: file_flow_entities_account_proto_depIdxs, + MessageInfos: file_flow_entities_account_proto_msgTypes, + }.Build() + File_flow_entities_account_proto = out.File + file_flow_entities_account_proto_goTypes = nil + file_flow_entities_account_proto_depIdxs = nil } diff --git a/protobuf/go/flow/entities/block.pb.go b/protobuf/go/flow/entities/block.pb.go index a6bfe753d..ddea512ab 100644 --- a/protobuf/go/flow/entities/block.pb.go +++ b/protobuf/go/flow/entities/block.pb.go @@ -1,25 +1,26 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/block.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - math "math" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type BlockStatus int32 @@ -29,27 +30,49 @@ const ( BlockStatus_BLOCK_SEALED BlockStatus = 2 ) -var BlockStatus_name = map[int32]string{ - 0: "BLOCK_UNKNOWN", - 1: "BLOCK_FINALIZED", - 2: "BLOCK_SEALED", -} +// Enum value maps for BlockStatus. +var ( + BlockStatus_name = map[int32]string{ + 0: "BLOCK_UNKNOWN", + 1: "BLOCK_FINALIZED", + 2: "BLOCK_SEALED", + } + BlockStatus_value = map[string]int32{ + "BLOCK_UNKNOWN": 0, + "BLOCK_FINALIZED": 1, + "BLOCK_SEALED": 2, + } +) -var BlockStatus_value = map[string]int32{ - "BLOCK_UNKNOWN": 0, - "BLOCK_FINALIZED": 1, - "BLOCK_SEALED": 2, +func (x BlockStatus) Enum() *BlockStatus { + p := new(BlockStatus) + *p = x + return p } func (x BlockStatus) String() string { - return proto.EnumName(BlockStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BlockStatus) Descriptor() protoreflect.EnumDescriptor { + return file_flow_entities_block_proto_enumTypes[0].Descriptor() +} + +func (BlockStatus) Type() protoreflect.EnumType { + return &file_flow_entities_block_proto_enumTypes[0] +} + +func (x BlockStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use BlockStatus.Descriptor instead. func (BlockStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c1afc3335f2172fc, []int{0} + return file_flow_entities_block_proto_rawDescGZIP(), []int{0} } type Block struct { + state protoimpl.MessageState `protogen:"open.v1"` Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ParentId []byte `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` @@ -61,152 +84,207 @@ type Block struct { ExecutionResultList []*ExecutionResult `protobuf:"bytes,9,rep,name=execution_result_list,json=executionResultList,proto3" json:"execution_result_list,omitempty"` BlockHeader *BlockHeader `protobuf:"bytes,10,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` ProtocolStateId []byte `protobuf:"bytes,11,opt,name=protocol_state_id,json=protocolStateId,proto3" json:"protocol_state_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Block) Reset() { *m = Block{} } -func (m *Block) String() string { return proto.CompactTextString(m) } -func (*Block) ProtoMessage() {} -func (*Block) Descriptor() ([]byte, []int) { - return fileDescriptor_c1afc3335f2172fc, []int{0} +func (x *Block) Reset() { + *x = Block{} + mi := &file_flow_entities_block_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Block) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Block.Unmarshal(m, b) -} -func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Block.Marshal(b, m, deterministic) -} -func (m *Block) XXX_Merge(src proto.Message) { - xxx_messageInfo_Block.Merge(m, src) +func (x *Block) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Block) XXX_Size() int { - return xxx_messageInfo_Block.Size(m) -} -func (m *Block) XXX_DiscardUnknown() { - xxx_messageInfo_Block.DiscardUnknown(m) + +func (*Block) ProtoMessage() {} + +func (x *Block) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Block proto.InternalMessageInfo +// Deprecated: Use Block.ProtoReflect.Descriptor instead. +func (*Block) Descriptor() ([]byte, []int) { + return file_flow_entities_block_proto_rawDescGZIP(), []int{0} +} -func (m *Block) GetId() []byte { - if m != nil { - return m.Id +func (x *Block) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *Block) GetParentId() []byte { - if m != nil { - return m.ParentId +func (x *Block) GetParentId() []byte { + if x != nil { + return x.ParentId } return nil } -func (m *Block) GetHeight() uint64 { - if m != nil { - return m.Height +func (x *Block) GetHeight() uint64 { + if x != nil { + return x.Height } return 0 } -func (m *Block) GetTimestamp() *timestamppb.Timestamp { - if m != nil { - return m.Timestamp +func (x *Block) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp } return nil } -func (m *Block) GetCollectionGuarantees() []*CollectionGuarantee { - if m != nil { - return m.CollectionGuarantees +func (x *Block) GetCollectionGuarantees() []*CollectionGuarantee { + if x != nil { + return x.CollectionGuarantees } return nil } -func (m *Block) GetBlockSeals() []*BlockSeal { - if m != nil { - return m.BlockSeals +func (x *Block) GetBlockSeals() []*BlockSeal { + if x != nil { + return x.BlockSeals } return nil } -func (m *Block) GetSignatures() [][]byte { - if m != nil { - return m.Signatures +func (x *Block) GetSignatures() [][]byte { + if x != nil { + return x.Signatures } return nil } -func (m *Block) GetExecutionReceiptMetaList() []*ExecutionReceiptMeta { - if m != nil { - return m.ExecutionReceiptMetaList +func (x *Block) GetExecutionReceiptMetaList() []*ExecutionReceiptMeta { + if x != nil { + return x.ExecutionReceiptMetaList } return nil } -func (m *Block) GetExecutionResultList() []*ExecutionResult { - if m != nil { - return m.ExecutionResultList +func (x *Block) GetExecutionResultList() []*ExecutionResult { + if x != nil { + return x.ExecutionResultList } return nil } -func (m *Block) GetBlockHeader() *BlockHeader { - if m != nil { - return m.BlockHeader +func (x *Block) GetBlockHeader() *BlockHeader { + if x != nil { + return x.BlockHeader } return nil } -func (m *Block) GetProtocolStateId() []byte { - if m != nil { - return m.ProtocolStateId +func (x *Block) GetProtocolStateId() []byte { + if x != nil { + return x.ProtocolStateId } return nil } -func init() { - proto.RegisterEnum("flow.entities.BlockStatus", BlockStatus_name, BlockStatus_value) - proto.RegisterType((*Block)(nil), "flow.entities.Block") -} - -func init() { proto.RegisterFile("flow/entities/block.proto", fileDescriptor_c1afc3335f2172fc) } - -var fileDescriptor_c1afc3335f2172fc = []byte{ - // 508 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x53, 0x5d, 0x6f, 0xd3, 0x30, - 0x14, 0xa5, 0x1f, 0x2b, 0xeb, 0x6d, 0xc7, 0x3a, 0x8f, 0x21, 0x53, 0x50, 0x89, 0x06, 0x0f, 0xd5, - 0x1e, 0x12, 0x34, 0x5e, 0xe0, 0x81, 0x87, 0x75, 0x2b, 0xa3, 0x5a, 0xe9, 0x90, 0x0b, 0x9a, 0xb4, - 0x97, 0xc8, 0x4d, 0xee, 0x52, 0x8b, 0x34, 0xae, 0x62, 0x47, 0xf0, 0x63, 0xf9, 0x31, 0x28, 0x76, - 0xd3, 0x2f, 0xba, 0x97, 0x28, 0x3e, 0xe7, 0xf8, 0x5c, 0xfb, 0xdc, 0x6b, 0x78, 0xf9, 0x10, 0xcb, - 0xdf, 0x1e, 0x26, 0x5a, 0x68, 0x81, 0xca, 0x9b, 0xc4, 0x32, 0xf8, 0xe5, 0xce, 0x53, 0xa9, 0x25, - 0x39, 0xc8, 0x29, 0xb7, 0xa0, 0xda, 0x6f, 0x22, 0x29, 0xa3, 0x18, 0x3d, 0x43, 0x4e, 0xb2, 0x07, - 0x4f, 0x8b, 0x19, 0x2a, 0xcd, 0x67, 0x73, 0xab, 0x6f, 0x77, 0x36, 0xad, 0x02, 0x19, 0xc7, 0x18, - 0x68, 0x21, 0x93, 0xdd, 0xbc, 0x29, 0xe5, 0x2b, 0xe4, 0xf1, 0x82, 0x7f, 0xb7, 0xc9, 0xe3, 0x1f, - 0x0c, 0xb2, 0x7c, 0xbb, 0x9f, 0xa2, 0xca, 0x62, 0xbd, 0x50, 0x39, 0xbb, 0x5c, 0xa6, 0xc8, 0x43, - 0x4c, 0xad, 0xe2, 0xf4, 0x6f, 0x15, 0xf6, 0x7a, 0x39, 0x4c, 0x9e, 0x41, 0x59, 0x84, 0xb4, 0xe4, - 0x94, 0xba, 0x4d, 0x56, 0x16, 0x21, 0x79, 0x05, 0xf5, 0x39, 0x4f, 0x31, 0xd1, 0xbe, 0x08, 0x69, - 0xd9, 0xc0, 0xfb, 0x16, 0x18, 0x84, 0xe4, 0x05, 0xd4, 0xa6, 0x28, 0xa2, 0xa9, 0xa6, 0x15, 0xa7, - 0xd4, 0xad, 0xb2, 0xc5, 0x8a, 0x7c, 0x84, 0xfa, 0xf2, 0xa6, 0xb4, 0xea, 0x94, 0xba, 0x8d, 0xf3, - 0xb6, 0x6b, 0xb3, 0x70, 0x8b, 0x2c, 0xdc, 0x1f, 0x85, 0x82, 0xad, 0xc4, 0xe4, 0x0e, 0x4e, 0x56, - 0x21, 0xf8, 0x51, 0xc6, 0x53, 0x9e, 0x68, 0x44, 0x45, 0xf7, 0x9c, 0x4a, 0xb7, 0x71, 0x7e, 0xea, - 0x6e, 0x04, 0xec, 0x5e, 0x2e, 0xb5, 0xd7, 0x85, 0x94, 0x3d, 0x0f, 0xfe, 0x07, 0x15, 0xf9, 0x04, - 0x8d, 0x55, 0x7a, 0x8a, 0xd6, 0x8c, 0x1d, 0xdd, 0xb2, 0x33, 0x11, 0x8c, 0x91, 0xc7, 0x0c, 0x26, - 0xc5, 0xaf, 0x22, 0x1d, 0x00, 0x25, 0xa2, 0x84, 0xeb, 0x2c, 0x45, 0x45, 0x9f, 0x3a, 0x95, 0x6e, - 0x93, 0xad, 0x21, 0x84, 0x43, 0x7b, 0x3d, 0xf8, 0x00, 0xc5, 0x5c, 0xfb, 0x33, 0xd4, 0x7c, 0x28, - 0x94, 0xa6, 0xfb, 0xa6, 0xd2, 0xdb, 0xad, 0x4a, 0xfd, 0x62, 0x03, 0xb3, 0xfa, 0x6f, 0xa8, 0x39, - 0xa3, 0xb8, 0x03, 0xcd, 0x4d, 0x08, 0x83, 0x93, 0xed, 0xde, 0xfa, 0x71, 0xee, 0x5e, 0x37, 0xee, - 0x9d, 0xc7, 0xdd, 0x73, 0x29, 0x3b, 0xc6, 0x4d, 0xc0, 0x78, 0x7e, 0x86, 0xe6, 0xfa, 0x24, 0x50, - 0x58, 0xf4, 0x69, 0x47, 0x24, 0x5f, 0x8d, 0x82, 0xd9, 0x04, 0xed, 0x82, 0x9c, 0xc1, 0x91, 0x69, - 0x65, 0x20, 0x63, 0x5f, 0x69, 0xae, 0x31, 0x1f, 0x90, 0x86, 0x19, 0x90, 0xc3, 0x82, 0x18, 0xe7, - 0xf8, 0x20, 0x3c, 0xbb, 0x86, 0x86, 0x8d, 0x56, 0x73, 0x9d, 0x29, 0x72, 0x04, 0x07, 0xbd, 0xe1, - 0xed, 0xe5, 0x8d, 0xff, 0x73, 0x74, 0x33, 0xba, 0xbd, 0x1b, 0xb5, 0x9e, 0x90, 0x63, 0x38, 0xb4, - 0xd0, 0x97, 0xc1, 0xe8, 0x62, 0x38, 0xb8, 0xef, 0x5f, 0xb5, 0x4a, 0xa4, 0x05, 0x4d, 0x0b, 0x8e, - 0xfb, 0x17, 0xc3, 0xfe, 0x55, 0xab, 0xdc, 0xfb, 0x0e, 0xaf, 0x65, 0x1a, 0xb9, 0x32, 0x31, 0x87, - 0x5c, 0x8e, 0x52, 0x71, 0xda, 0xfb, 0xf7, 0x91, 0xd0, 0xd3, 0x6c, 0xe2, 0x06, 0x72, 0xe6, 0x59, - 0x91, 0x67, 0x3e, 0xcb, 0x07, 0x18, 0x49, 0x6f, 0xe3, 0x31, 0x4c, 0x6a, 0x86, 0xfa, 0xf0, 0x2f, - 0x00, 0x00, 0xff, 0xff, 0x0b, 0xc5, 0x78, 0x62, 0xd5, 0x03, 0x00, 0x00, +var File_flow_entities_block_proto protoreflect.FileDescriptor + +const file_flow_entities_block_proto_rawDesc = "" + + "\n" + + "\x19flow/entities/block.proto\x12\rflow.entities\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1eflow/entities/collection.proto\x1a\x1eflow/entities/block_seal.proto\x1a$flow/entities/execution_result.proto\x1a flow/entities/block_header.proto\"\xdc\x04\n" + + "\x05Block\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x12\x1b\n" + + "\tparent_id\x18\x02 \x01(\fR\bparentId\x12\x16\n" + + "\x06height\x18\x03 \x01(\x04R\x06height\x128\n" + + "\ttimestamp\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestamp\x12W\n" + + "\x15collection_guarantees\x18\x05 \x03(\v2\".flow.entities.CollectionGuaranteeR\x14collectionGuarantees\x129\n" + + "\vblock_seals\x18\x06 \x03(\v2\x18.flow.entities.BlockSealR\n" + + "blockSeals\x12\x1e\n" + + "\n" + + "signatures\x18\a \x03(\fR\n" + + "signatures\x12a\n" + + "\x1aexecution_receipt_metaList\x18\b \x03(\v2#.flow.entities.ExecutionReceiptMetaR\x18executionReceiptMetaList\x12R\n" + + "\x15execution_result_list\x18\t \x03(\v2\x1e.flow.entities.ExecutionResultR\x13executionResultList\x12=\n" + + "\fblock_header\x18\n" + + " \x01(\v2\x1a.flow.entities.BlockHeaderR\vblockHeader\x12*\n" + + "\x11protocol_state_id\x18\v \x01(\fR\x0fprotocolStateId*G\n" + + "\vBlockStatus\x12\x11\n" + + "\rBLOCK_UNKNOWN\x10\x00\x12\x13\n" + + "\x0fBLOCK_FINALIZED\x10\x01\x12\x10\n" + + "\fBLOCK_SEALED\x10\x02BP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_block_proto_rawDescOnce sync.Once + file_flow_entities_block_proto_rawDescData []byte +) + +func file_flow_entities_block_proto_rawDescGZIP() []byte { + file_flow_entities_block_proto_rawDescOnce.Do(func() { + file_flow_entities_block_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_block_proto_rawDesc), len(file_flow_entities_block_proto_rawDesc))) + }) + return file_flow_entities_block_proto_rawDescData +} + +var file_flow_entities_block_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flow_entities_block_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flow_entities_block_proto_goTypes = []any{ + (BlockStatus)(0), // 0: flow.entities.BlockStatus + (*Block)(nil), // 1: flow.entities.Block + (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp + (*CollectionGuarantee)(nil), // 3: flow.entities.CollectionGuarantee + (*BlockSeal)(nil), // 4: flow.entities.BlockSeal + (*ExecutionReceiptMeta)(nil), // 5: flow.entities.ExecutionReceiptMeta + (*ExecutionResult)(nil), // 6: flow.entities.ExecutionResult + (*BlockHeader)(nil), // 7: flow.entities.BlockHeader +} +var file_flow_entities_block_proto_depIdxs = []int32{ + 2, // 0: flow.entities.Block.timestamp:type_name -> google.protobuf.Timestamp + 3, // 1: flow.entities.Block.collection_guarantees:type_name -> flow.entities.CollectionGuarantee + 4, // 2: flow.entities.Block.block_seals:type_name -> flow.entities.BlockSeal + 5, // 3: flow.entities.Block.execution_receipt_metaList:type_name -> flow.entities.ExecutionReceiptMeta + 6, // 4: flow.entities.Block.execution_result_list:type_name -> flow.entities.ExecutionResult + 7, // 5: flow.entities.Block.block_header:type_name -> flow.entities.BlockHeader + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_flow_entities_block_proto_init() } +func file_flow_entities_block_proto_init() { + if File_flow_entities_block_proto != nil { + return + } + file_flow_entities_collection_proto_init() + file_flow_entities_block_seal_proto_init() + file_flow_entities_execution_result_proto_init() + file_flow_entities_block_header_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_block_proto_rawDesc), len(file_flow_entities_block_proto_rawDesc)), + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_block_proto_goTypes, + DependencyIndexes: file_flow_entities_block_proto_depIdxs, + EnumInfos: file_flow_entities_block_proto_enumTypes, + MessageInfos: file_flow_entities_block_proto_msgTypes, + }.Build() + File_flow_entities_block_proto = out.File + file_flow_entities_block_proto_goTypes = nil + file_flow_entities_block_proto_depIdxs = nil } diff --git a/protobuf/go/flow/entities/block_execution_data.pb.go b/protobuf/go/flow/entities/block_execution_data.pb.go index a9240bd74..c5e17922f 100644 --- a/protobuf/go/flow/entities/block_execution_data.pb.go +++ b/protobuf/go/flow/entities/block_execution_data.pb.go @@ -1,28 +1,30 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/block_execution_data.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // BlockExecutionData represents the collection of data produced while execiting // the block. type BlockExecutionData struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the block that was executed. BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` // Ordered list of ChunkExecutionData produced while executing the block. @@ -30,47 +32,51 @@ type BlockExecutionData struct { // Note: there will be one ChunkExecutionData per collection in the block, // plus one for the service chunk. The service chunk is executed last and is // always the last chunk in the list. - ChunkExecutionData []*ChunkExecutionData `protobuf:"bytes,2,rep,name=chunk_execution_data,json=chunkExecutionData,proto3" json:"chunk_execution_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ChunkExecutionData []*ChunkExecutionData `protobuf:"bytes,2,rep,name=chunk_execution_data,json=chunkExecutionData,proto3" json:"chunk_execution_data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *BlockExecutionData) Reset() { *m = BlockExecutionData{} } -func (m *BlockExecutionData) String() string { return proto.CompactTextString(m) } -func (*BlockExecutionData) ProtoMessage() {} -func (*BlockExecutionData) Descriptor() ([]byte, []int) { - return fileDescriptor_0dbfd6581e1d1c72, []int{0} +func (x *BlockExecutionData) Reset() { + *x = BlockExecutionData{} + mi := &file_flow_entities_block_execution_data_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *BlockExecutionData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockExecutionData.Unmarshal(m, b) -} -func (m *BlockExecutionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockExecutionData.Marshal(b, m, deterministic) -} -func (m *BlockExecutionData) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockExecutionData.Merge(m, src) +func (x *BlockExecutionData) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockExecutionData) XXX_Size() int { - return xxx_messageInfo_BlockExecutionData.Size(m) -} -func (m *BlockExecutionData) XXX_DiscardUnknown() { - xxx_messageInfo_BlockExecutionData.DiscardUnknown(m) + +func (*BlockExecutionData) ProtoMessage() {} + +func (x *BlockExecutionData) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_execution_data_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlockExecutionData proto.InternalMessageInfo +// Deprecated: Use BlockExecutionData.ProtoReflect.Descriptor instead. +func (*BlockExecutionData) Descriptor() ([]byte, []int) { + return file_flow_entities_block_execution_data_proto_rawDescGZIP(), []int{0} +} -func (m *BlockExecutionData) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *BlockExecutionData) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *BlockExecutionData) GetChunkExecutionData() []*ChunkExecutionData { - if m != nil { - return m.ChunkExecutionData +func (x *BlockExecutionData) GetChunkExecutionData() []*ChunkExecutionData { + if x != nil { + return x.ChunkExecutionData } return nil } @@ -78,6 +84,7 @@ func (m *BlockExecutionData) GetChunkExecutionData() []*ChunkExecutionData { // ChunkExecutionData represents the collection of data produced while executing // a chunk. type ChunkExecutionData struct { + state protoimpl.MessageState `protogen:"open.v1"` // Ordered list of transactions included in the collection that was executed // in the chunk. Collection *ExecutionDataCollection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` @@ -98,61 +105,65 @@ type ChunkExecutionData struct { // results are sepcific to execution data. The most notable difference is they // only include a boolean value to indicate whether or not an error was // encountered during execution, not the error itself. - TransactionResults []*ExecutionDataTransactionResult `protobuf:"bytes,4,rep,name=transaction_results,json=transactionResults,proto3" json:"transaction_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TransactionResults []*ExecutionDataTransactionResult `protobuf:"bytes,4,rep,name=transaction_results,json=transactionResults,proto3" json:"transaction_results,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ChunkExecutionData) Reset() { *m = ChunkExecutionData{} } -func (m *ChunkExecutionData) String() string { return proto.CompactTextString(m) } -func (*ChunkExecutionData) ProtoMessage() {} -func (*ChunkExecutionData) Descriptor() ([]byte, []int) { - return fileDescriptor_0dbfd6581e1d1c72, []int{1} +func (x *ChunkExecutionData) Reset() { + *x = ChunkExecutionData{} + mi := &file_flow_entities_block_execution_data_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ChunkExecutionData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChunkExecutionData.Unmarshal(m, b) -} -func (m *ChunkExecutionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChunkExecutionData.Marshal(b, m, deterministic) +func (x *ChunkExecutionData) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ChunkExecutionData) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChunkExecutionData.Merge(m, src) -} -func (m *ChunkExecutionData) XXX_Size() int { - return xxx_messageInfo_ChunkExecutionData.Size(m) -} -func (m *ChunkExecutionData) XXX_DiscardUnknown() { - xxx_messageInfo_ChunkExecutionData.DiscardUnknown(m) + +func (*ChunkExecutionData) ProtoMessage() {} + +func (x *ChunkExecutionData) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_execution_data_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ChunkExecutionData proto.InternalMessageInfo +// Deprecated: Use ChunkExecutionData.ProtoReflect.Descriptor instead. +func (*ChunkExecutionData) Descriptor() ([]byte, []int) { + return file_flow_entities_block_execution_data_proto_rawDescGZIP(), []int{1} +} -func (m *ChunkExecutionData) GetCollection() *ExecutionDataCollection { - if m != nil { - return m.Collection +func (x *ChunkExecutionData) GetCollection() *ExecutionDataCollection { + if x != nil { + return x.Collection } return nil } -func (m *ChunkExecutionData) GetEvents() []*Event { - if m != nil { - return m.Events +func (x *ChunkExecutionData) GetEvents() []*Event { + if x != nil { + return x.Events } return nil } -func (m *ChunkExecutionData) GetTrieUpdate() *TrieUpdate { - if m != nil { - return m.TrieUpdate +func (x *ChunkExecutionData) GetTrieUpdate() *TrieUpdate { + if x != nil { + return x.TrieUpdate } return nil } -func (m *ChunkExecutionData) GetTransactionResults() []*ExecutionDataTransactionResult { - if m != nil { - return m.TransactionResults +func (x *ChunkExecutionData) GetTransactionResults() []*ExecutionDataTransactionResult { + if x != nil { + return x.TransactionResults } return nil } @@ -162,41 +173,46 @@ func (m *ChunkExecutionData) GetTransactionResults() []*ExecutionDataTransaction // // Note: this is not the same type as the entities.Collection. type ExecutionDataCollection struct { + state protoimpl.MessageState `protogen:"open.v1"` // List of transactions included in the collection. - Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecutionDataCollection) Reset() { *m = ExecutionDataCollection{} } -func (m *ExecutionDataCollection) String() string { return proto.CompactTextString(m) } -func (*ExecutionDataCollection) ProtoMessage() {} -func (*ExecutionDataCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_0dbfd6581e1d1c72, []int{2} +func (x *ExecutionDataCollection) Reset() { + *x = ExecutionDataCollection{} + mi := &file_flow_entities_block_execution_data_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecutionDataCollection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionDataCollection.Unmarshal(m, b) -} -func (m *ExecutionDataCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionDataCollection.Marshal(b, m, deterministic) +func (x *ExecutionDataCollection) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionDataCollection) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionDataCollection.Merge(m, src) -} -func (m *ExecutionDataCollection) XXX_Size() int { - return xxx_messageInfo_ExecutionDataCollection.Size(m) -} -func (m *ExecutionDataCollection) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionDataCollection.DiscardUnknown(m) + +func (*ExecutionDataCollection) ProtoMessage() {} + +func (x *ExecutionDataCollection) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_execution_data_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionDataCollection proto.InternalMessageInfo +// Deprecated: Use ExecutionDataCollection.ProtoReflect.Descriptor instead. +func (*ExecutionDataCollection) Descriptor() ([]byte, []int) { + return file_flow_entities_block_execution_data_proto_rawDescGZIP(), []int{2} +} -func (m *ExecutionDataCollection) GetTransactions() []*Transaction { - if m != nil { - return m.Transactions +func (x *ExecutionDataCollection) GetTransactions() []*Transaction { + if x != nil { + return x.Transactions } return nil } @@ -206,6 +222,7 @@ func (m *ExecutionDataCollection) GetTransactions() []*Transaction { // TrieUpdates contain a list of registers that were modified during chunk // execution. The value included is the new value of the register. type TrieUpdate struct { + state protoimpl.MessageState `protogen:"open.v1"` // RootHash is the root hash of the trie before the update is applied. RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` // List of register paths updated. @@ -219,155 +236,169 @@ type TrieUpdate struct { // Note: paths and payloads map 1:1 with eachother. i.e. for each element in // path, the value in payloads at the same index is the value of the register // at that path. - Payloads []*Payload `protobuf:"bytes,3,rep,name=payloads,proto3" json:"payloads,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Payloads []*Payload `protobuf:"bytes,3,rep,name=payloads,proto3" json:"payloads,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *TrieUpdate) Reset() { *m = TrieUpdate{} } -func (m *TrieUpdate) String() string { return proto.CompactTextString(m) } -func (*TrieUpdate) ProtoMessage() {} -func (*TrieUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_0dbfd6581e1d1c72, []int{3} +func (x *TrieUpdate) Reset() { + *x = TrieUpdate{} + mi := &file_flow_entities_block_execution_data_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *TrieUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TrieUpdate.Unmarshal(m, b) +func (x *TrieUpdate) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TrieUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TrieUpdate.Marshal(b, m, deterministic) -} -func (m *TrieUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_TrieUpdate.Merge(m, src) -} -func (m *TrieUpdate) XXX_Size() int { - return xxx_messageInfo_TrieUpdate.Size(m) -} -func (m *TrieUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_TrieUpdate.DiscardUnknown(m) + +func (*TrieUpdate) ProtoMessage() {} + +func (x *TrieUpdate) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_execution_data_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TrieUpdate proto.InternalMessageInfo +// Deprecated: Use TrieUpdate.ProtoReflect.Descriptor instead. +func (*TrieUpdate) Descriptor() ([]byte, []int) { + return file_flow_entities_block_execution_data_proto_rawDescGZIP(), []int{3} +} -func (m *TrieUpdate) GetRootHash() []byte { - if m != nil { - return m.RootHash +func (x *TrieUpdate) GetRootHash() []byte { + if x != nil { + return x.RootHash } return nil } -func (m *TrieUpdate) GetPaths() [][]byte { - if m != nil { - return m.Paths +func (x *TrieUpdate) GetPaths() [][]byte { + if x != nil { + return x.Paths } return nil } -func (m *TrieUpdate) GetPayloads() []*Payload { - if m != nil { - return m.Payloads +func (x *TrieUpdate) GetPayloads() []*Payload { + if x != nil { + return x.Payloads } return nil } // Payload represents the key-value pair of a register. type Payload struct { + state protoimpl.MessageState `protogen:"open.v1"` // List of key parts that make up the register key. // Can be converted into register id. KeyPart []*KeyPart `protobuf:"bytes,1,rep,name=keyPart,proto3" json:"keyPart,omitempty"` // Value of the register. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Payload) Reset() { *m = Payload{} } -func (m *Payload) String() string { return proto.CompactTextString(m) } -func (*Payload) ProtoMessage() {} -func (*Payload) Descriptor() ([]byte, []int) { - return fileDescriptor_0dbfd6581e1d1c72, []int{4} +func (x *Payload) Reset() { + *x = Payload{} + mi := &file_flow_entities_block_execution_data_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Payload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Payload.Unmarshal(m, b) +func (x *Payload) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Payload.Marshal(b, m, deterministic) -} -func (m *Payload) XXX_Merge(src proto.Message) { - xxx_messageInfo_Payload.Merge(m, src) -} -func (m *Payload) XXX_Size() int { - return xxx_messageInfo_Payload.Size(m) -} -func (m *Payload) XXX_DiscardUnknown() { - xxx_messageInfo_Payload.DiscardUnknown(m) + +func (*Payload) ProtoMessage() {} + +func (x *Payload) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_execution_data_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Payload proto.InternalMessageInfo +// Deprecated: Use Payload.ProtoReflect.Descriptor instead. +func (*Payload) Descriptor() ([]byte, []int) { + return file_flow_entities_block_execution_data_proto_rawDescGZIP(), []int{4} +} -func (m *Payload) GetKeyPart() []*KeyPart { - if m != nil { - return m.KeyPart +func (x *Payload) GetKeyPart() []*KeyPart { + if x != nil { + return x.KeyPart } return nil } -func (m *Payload) GetValue() []byte { - if m != nil { - return m.Value +func (x *Payload) GetValue() []byte { + if x != nil { + return x.Value } return nil } // KeyPart represents a part of a register key. type KeyPart struct { + state protoimpl.MessageState `protogen:"open.v1"` // Type of the key part. Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // Value of the key part. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *KeyPart) Reset() { *m = KeyPart{} } -func (m *KeyPart) String() string { return proto.CompactTextString(m) } -func (*KeyPart) ProtoMessage() {} -func (*KeyPart) Descriptor() ([]byte, []int) { - return fileDescriptor_0dbfd6581e1d1c72, []int{5} +func (x *KeyPart) Reset() { + *x = KeyPart{} + mi := &file_flow_entities_block_execution_data_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *KeyPart) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyPart.Unmarshal(m, b) -} -func (m *KeyPart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyPart.Marshal(b, m, deterministic) -} -func (m *KeyPart) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyPart.Merge(m, src) -} -func (m *KeyPart) XXX_Size() int { - return xxx_messageInfo_KeyPart.Size(m) +func (x *KeyPart) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *KeyPart) XXX_DiscardUnknown() { - xxx_messageInfo_KeyPart.DiscardUnknown(m) + +func (*KeyPart) ProtoMessage() {} + +func (x *KeyPart) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_execution_data_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_KeyPart proto.InternalMessageInfo +// Deprecated: Use KeyPart.ProtoReflect.Descriptor instead. +func (*KeyPart) Descriptor() ([]byte, []int) { + return file_flow_entities_block_execution_data_proto_rawDescGZIP(), []int{5} +} -func (m *KeyPart) GetType() uint32 { - if m != nil { - return m.Type +func (x *KeyPart) GetType() uint32 { + if x != nil { + return x.Type } return 0 } -func (m *KeyPart) GetValue() []byte { - if m != nil { - return m.Value +func (x *KeyPart) GetValue() []byte { + if x != nil { + return x.Value } return nil } @@ -375,110 +406,167 @@ func (m *KeyPart) GetValue() []byte { // ExecutionDataTransactionResult represents the result of executing a // transaction. type ExecutionDataTransactionResult struct { + state protoimpl.MessageState `protogen:"open.v1"` // Transaction ID of the transaction that was executed. TransactionId []byte `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // Boolean indicating whether or not the transaction's execution failed with // an error. Failed bool `protobuf:"varint,2,opt,name=failed,proto3" json:"failed,omitempty"` // Amount of computation used during execution. - ComputationUsed uint64 `protobuf:"varint,3,opt,name=computation_used,json=computationUsed,proto3" json:"computation_used,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ComputationUsed uint64 `protobuf:"varint,3,opt,name=computation_used,json=computationUsed,proto3" json:"computation_used,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecutionDataTransactionResult) Reset() { *m = ExecutionDataTransactionResult{} } -func (m *ExecutionDataTransactionResult) String() string { return proto.CompactTextString(m) } -func (*ExecutionDataTransactionResult) ProtoMessage() {} -func (*ExecutionDataTransactionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_0dbfd6581e1d1c72, []int{6} +func (x *ExecutionDataTransactionResult) Reset() { + *x = ExecutionDataTransactionResult{} + mi := &file_flow_entities_block_execution_data_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecutionDataTransactionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionDataTransactionResult.Unmarshal(m, b) -} -func (m *ExecutionDataTransactionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionDataTransactionResult.Marshal(b, m, deterministic) -} -func (m *ExecutionDataTransactionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionDataTransactionResult.Merge(m, src) -} -func (m *ExecutionDataTransactionResult) XXX_Size() int { - return xxx_messageInfo_ExecutionDataTransactionResult.Size(m) +func (x *ExecutionDataTransactionResult) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionDataTransactionResult) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionDataTransactionResult.DiscardUnknown(m) + +func (*ExecutionDataTransactionResult) ProtoMessage() {} + +func (x *ExecutionDataTransactionResult) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_execution_data_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionDataTransactionResult proto.InternalMessageInfo +// Deprecated: Use ExecutionDataTransactionResult.ProtoReflect.Descriptor instead. +func (*ExecutionDataTransactionResult) Descriptor() ([]byte, []int) { + return file_flow_entities_block_execution_data_proto_rawDescGZIP(), []int{6} +} -func (m *ExecutionDataTransactionResult) GetTransactionId() []byte { - if m != nil { - return m.TransactionId +func (x *ExecutionDataTransactionResult) GetTransactionId() []byte { + if x != nil { + return x.TransactionId } return nil } -func (m *ExecutionDataTransactionResult) GetFailed() bool { - if m != nil { - return m.Failed +func (x *ExecutionDataTransactionResult) GetFailed() bool { + if x != nil { + return x.Failed } return false } -func (m *ExecutionDataTransactionResult) GetComputationUsed() uint64 { - if m != nil { - return m.ComputationUsed +func (x *ExecutionDataTransactionResult) GetComputationUsed() uint64 { + if x != nil { + return x.ComputationUsed } return 0 } -func init() { - proto.RegisterType((*BlockExecutionData)(nil), "flow.entities.BlockExecutionData") - proto.RegisterType((*ChunkExecutionData)(nil), "flow.entities.ChunkExecutionData") - proto.RegisterType((*ExecutionDataCollection)(nil), "flow.entities.ExecutionDataCollection") - proto.RegisterType((*TrieUpdate)(nil), "flow.entities.TrieUpdate") - proto.RegisterType((*Payload)(nil), "flow.entities.Payload") - proto.RegisterType((*KeyPart)(nil), "flow.entities.KeyPart") - proto.RegisterType((*ExecutionDataTransactionResult)(nil), "flow.entities.ExecutionDataTransactionResult") -} - -func init() { - proto.RegisterFile("flow/entities/block_execution_data.proto", fileDescriptor_0dbfd6581e1d1c72) -} - -var fileDescriptor_0dbfd6581e1d1c72 = []byte{ - // 511 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x41, 0x6f, 0xd3, 0x4e, - 0x10, 0xc5, 0xe5, 0x24, 0xff, 0x24, 0xff, 0x69, 0x02, 0x68, 0x88, 0x8a, 0x13, 0x10, 0x14, 0x4b, - 0xa0, 0x20, 0x81, 0x5d, 0xa5, 0x27, 0x2e, 0x1c, 0x5a, 0x40, 0x54, 0x5c, 0xc2, 0xd2, 0x1e, 0xe0, - 0x40, 0xb4, 0xb1, 0x37, 0xb1, 0x55, 0xd7, 0x6b, 0x79, 0xd7, 0x85, 0xdc, 0x39, 0xf1, 0x3d, 0xf8, - 0x9e, 0xc8, 0x63, 0xc7, 0xb1, 0x1d, 0xb5, 0x97, 0x28, 0x3b, 0xf3, 0x7b, 0xfb, 0xde, 0x8e, 0x77, - 0x61, 0xba, 0x0a, 0xe5, 0x4f, 0x47, 0x44, 0x3a, 0xd0, 0x81, 0x50, 0xce, 0x32, 0x94, 0xee, 0xd5, - 0x42, 0xfc, 0x12, 0x6e, 0xaa, 0x03, 0x19, 0x2d, 0x3c, 0xae, 0xb9, 0x1d, 0x27, 0x52, 0x4b, 0x1c, - 0x66, 0xa4, 0xbd, 0x25, 0x27, 0xe3, 0xba, 0x50, 0xdc, 0x88, 0x48, 0xe7, 0xe4, 0xe4, 0x59, 0xbd, - 0xa5, 0x13, 0x1e, 0x29, 0xee, 0x66, 0xfb, 0xe5, 0x80, 0xf5, 0xdb, 0x00, 0x3c, 0xcd, 0x9c, 0x3e, - 0x6c, 0x8d, 0xde, 0x73, 0xcd, 0x71, 0x0c, 0xfd, 0xdc, 0x3f, 0xf0, 0x4c, 0xe3, 0xc8, 0x98, 0x0e, - 0x58, 0x8f, 0xd6, 0xe7, 0x1e, 0x7e, 0x85, 0x91, 0xeb, 0xa7, 0x51, 0x33, 0x9a, 0xd9, 0x3a, 0x6a, - 0x4f, 0x0f, 0x66, 0xcf, 0xed, 0x5a, 0x36, 0xfb, 0x2c, 0x43, 0x6b, 0x7b, 0x33, 0x74, 0xf7, 0x6a, - 0xd6, 0xdf, 0x16, 0xe0, 0x3e, 0x8a, 0x1f, 0x01, 0x5c, 0x19, 0x86, 0x82, 0x12, 0x53, 0x90, 0x83, - 0xd9, 0xcb, 0x86, 0x43, 0x4d, 0x71, 0x56, 0xd2, 0xac, 0xa2, 0xc4, 0xd7, 0xd0, 0xa5, 0xa9, 0xa8, - 0x22, 0xe5, 0xa8, 0xb9, 0x47, 0xd6, 0x64, 0x05, 0x83, 0x6f, 0x01, 0x74, 0x12, 0x88, 0xcb, 0xd8, - 0xe3, 0x5a, 0x98, 0x6d, 0x72, 0x1d, 0x37, 0x14, 0x17, 0x25, 0xc0, 0x2a, 0x30, 0xfe, 0x80, 0x87, - 0x95, 0x19, 0x2f, 0x12, 0xa1, 0xd2, 0x50, 0x2b, 0xb3, 0x43, 0xae, 0x6f, 0xee, 0x4a, 0x7e, 0xb1, - 0x93, 0x31, 0x52, 0x31, 0xd4, 0xcd, 0x92, 0xb2, 0xbe, 0xc1, 0xa3, 0x5b, 0xce, 0x8b, 0xef, 0x60, - 0x50, 0x11, 0x28, 0xd3, 0x20, 0xcf, 0xc9, 0x5e, 0xee, 0xdd, 0x9e, 0x35, 0xde, 0x52, 0x00, 0xbb, - 0x43, 0xe1, 0x63, 0xf8, 0x3f, 0x91, 0x52, 0x2f, 0x7c, 0xae, 0xfc, 0xe2, 0x06, 0xf4, 0xb3, 0xc2, - 0x27, 0xae, 0x7c, 0x1c, 0xc1, 0x7f, 0x31, 0xd7, 0x7e, 0x3e, 0xcd, 0x01, 0xcb, 0x17, 0x38, 0x83, - 0x7e, 0xcc, 0x37, 0xa1, 0xe4, 0x9e, 0x32, 0xdb, 0x64, 0x7e, 0xd8, 0x30, 0x9f, 0xe7, 0x6d, 0x56, - 0x72, 0xd6, 0x17, 0xe8, 0x15, 0x45, 0x3c, 0x86, 0xde, 0x95, 0xd8, 0xcc, 0x79, 0xa2, 0x8b, 0xe8, - 0x4d, 0xf5, 0xe7, 0xbc, 0xcb, 0xb6, 0x58, 0x16, 0xe3, 0x86, 0x87, 0xa9, 0x30, 0x5b, 0x94, 0x2f, - 0x5f, 0x58, 0x27, 0xd0, 0x2b, 0x48, 0x44, 0xe8, 0xe8, 0x4d, 0x2c, 0x28, 0xff, 0x90, 0xd1, 0xff, - 0x5b, 0x44, 0x7f, 0x0c, 0x78, 0x7a, 0xf7, 0xe7, 0xc0, 0x17, 0x70, 0xaf, 0xfa, 0x69, 0xcb, 0x87, - 0x31, 0xac, 0x54, 0xcf, 0x3d, 0x3c, 0x84, 0xee, 0x8a, 0x07, 0xa1, 0xf0, 0xc8, 0xa0, 0xcf, 0x8a, - 0x15, 0xbe, 0x82, 0x07, 0xae, 0xbc, 0x8e, 0x53, 0xcd, 0x49, 0x9e, 0x2a, 0xe1, 0xd1, 0xd5, 0xea, - 0xb0, 0xfb, 0x95, 0xfa, 0xa5, 0x12, 0xde, 0xe9, 0x1c, 0x9e, 0xc8, 0x64, 0x6d, 0xcb, 0x88, 0xce, - 0x4f, 0xef, 0x74, 0x99, 0xae, 0xca, 0x41, 0x7c, 0x3f, 0x5e, 0x07, 0xda, 0x4f, 0x97, 0xb6, 0x2b, - 0xaf, 0x9d, 0x1c, 0x72, 0xe8, 0x67, 0x4b, 0x3a, 0x6b, 0xe9, 0xd4, 0xde, 0xfd, 0xb2, 0x4b, 0xad, - 0x93, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5a, 0x8b, 0x44, 0xf1, 0x63, 0x04, 0x00, 0x00, +var File_flow_entities_block_execution_data_proto protoreflect.FileDescriptor + +const file_flow_entities_block_execution_data_proto_rawDesc = "" + + "\n" + + "(flow/entities/block_execution_data.proto\x12\rflow.entities\x1a\x19flow/entities/event.proto\x1a\x1fflow/entities/transaction.proto\"\x84\x01\n" + + "\x12BlockExecutionData\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12S\n" + + "\x14chunk_execution_data\x18\x02 \x03(\v2!.flow.entities.ChunkExecutionDataR\x12chunkExecutionData\"\xa5\x02\n" + + "\x12ChunkExecutionData\x12F\n" + + "\n" + + "collection\x18\x01 \x01(\v2&.flow.entities.ExecutionDataCollectionR\n" + + "collection\x12,\n" + + "\x06events\x18\x02 \x03(\v2\x14.flow.entities.EventR\x06events\x129\n" + + "\n" + + "trieUpdate\x18\x03 \x01(\v2\x19.flow.entities.TrieUpdateR\n" + + "trieUpdate\x12^\n" + + "\x13transaction_results\x18\x04 \x03(\v2-.flow.entities.ExecutionDataTransactionResultR\x12transactionResults\"Y\n" + + "\x17ExecutionDataCollection\x12>\n" + + "\ftransactions\x18\x01 \x03(\v2\x1a.flow.entities.TransactionR\ftransactions\"s\n" + + "\n" + + "TrieUpdate\x12\x1b\n" + + "\troot_hash\x18\x01 \x01(\fR\brootHash\x12\x14\n" + + "\x05paths\x18\x02 \x03(\fR\x05paths\x122\n" + + "\bpayloads\x18\x03 \x03(\v2\x16.flow.entities.PayloadR\bpayloads\"Q\n" + + "\aPayload\x120\n" + + "\akeyPart\x18\x01 \x03(\v2\x16.flow.entities.KeyPartR\akeyPart\x12\x14\n" + + "\x05value\x18\x02 \x01(\fR\x05value\"3\n" + + "\aKeyPart\x12\x12\n" + + "\x04type\x18\x01 \x01(\rR\x04type\x12\x14\n" + + "\x05value\x18\x02 \x01(\fR\x05value\"\x8a\x01\n" + + "\x1eExecutionDataTransactionResult\x12%\n" + + "\x0etransaction_id\x18\x01 \x01(\fR\rtransactionId\x12\x16\n" + + "\x06failed\x18\x02 \x01(\bR\x06failed\x12)\n" + + "\x10computation_used\x18\x03 \x01(\x04R\x0fcomputationUsedBP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_block_execution_data_proto_rawDescOnce sync.Once + file_flow_entities_block_execution_data_proto_rawDescData []byte +) + +func file_flow_entities_block_execution_data_proto_rawDescGZIP() []byte { + file_flow_entities_block_execution_data_proto_rawDescOnce.Do(func() { + file_flow_entities_block_execution_data_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_block_execution_data_proto_rawDesc), len(file_flow_entities_block_execution_data_proto_rawDesc))) + }) + return file_flow_entities_block_execution_data_proto_rawDescData +} + +var file_flow_entities_block_execution_data_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_flow_entities_block_execution_data_proto_goTypes = []any{ + (*BlockExecutionData)(nil), // 0: flow.entities.BlockExecutionData + (*ChunkExecutionData)(nil), // 1: flow.entities.ChunkExecutionData + (*ExecutionDataCollection)(nil), // 2: flow.entities.ExecutionDataCollection + (*TrieUpdate)(nil), // 3: flow.entities.TrieUpdate + (*Payload)(nil), // 4: flow.entities.Payload + (*KeyPart)(nil), // 5: flow.entities.KeyPart + (*ExecutionDataTransactionResult)(nil), // 6: flow.entities.ExecutionDataTransactionResult + (*Event)(nil), // 7: flow.entities.Event + (*Transaction)(nil), // 8: flow.entities.Transaction +} +var file_flow_entities_block_execution_data_proto_depIdxs = []int32{ + 1, // 0: flow.entities.BlockExecutionData.chunk_execution_data:type_name -> flow.entities.ChunkExecutionData + 2, // 1: flow.entities.ChunkExecutionData.collection:type_name -> flow.entities.ExecutionDataCollection + 7, // 2: flow.entities.ChunkExecutionData.events:type_name -> flow.entities.Event + 3, // 3: flow.entities.ChunkExecutionData.trieUpdate:type_name -> flow.entities.TrieUpdate + 6, // 4: flow.entities.ChunkExecutionData.transaction_results:type_name -> flow.entities.ExecutionDataTransactionResult + 8, // 5: flow.entities.ExecutionDataCollection.transactions:type_name -> flow.entities.Transaction + 4, // 6: flow.entities.TrieUpdate.payloads:type_name -> flow.entities.Payload + 5, // 7: flow.entities.Payload.keyPart:type_name -> flow.entities.KeyPart + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_flow_entities_block_execution_data_proto_init() } +func file_flow_entities_block_execution_data_proto_init() { + if File_flow_entities_block_execution_data_proto != nil { + return + } + file_flow_entities_event_proto_init() + file_flow_entities_transaction_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_block_execution_data_proto_rawDesc), len(file_flow_entities_block_execution_data_proto_rawDesc)), + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_block_execution_data_proto_goTypes, + DependencyIndexes: file_flow_entities_block_execution_data_proto_depIdxs, + MessageInfos: file_flow_entities_block_execution_data_proto_msgTypes, + }.Build() + File_flow_entities_block_execution_data_proto = out.File + file_flow_entities_block_execution_data_proto_goTypes = nil + file_flow_entities_block_execution_data_proto_depIdxs = nil } diff --git a/protobuf/go/flow/entities/block_header.pb.go b/protobuf/go/flow/entities/block_header.pb.go index 4b427edbb..e3b3c0cce 100644 --- a/protobuf/go/flow/entities/block_header.pb.go +++ b/protobuf/go/flow/entities/block_header.pb.go @@ -1,346 +1,407 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/block_header.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - math "math" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type BlockHeader struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - ParentId []byte `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` - Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` - Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - PayloadHash []byte `protobuf:"bytes,5,opt,name=payload_hash,json=payloadHash,proto3" json:"payload_hash,omitempty"` - View uint64 `protobuf:"varint,6,opt,name=view,proto3" json:"view,omitempty"` - ParentVoterIds [][]byte `protobuf:"bytes,7,rep,name=parent_voter_ids,json=parentVoterIds,proto3" json:"parent_voter_ids,omitempty"` - ParentVoterSigData []byte `protobuf:"bytes,8,opt,name=parent_voter_sig_data,json=parentVoterSigData,proto3" json:"parent_voter_sig_data,omitempty"` - ProposerId []byte `protobuf:"bytes,9,opt,name=proposer_id,json=proposerId,proto3" json:"proposer_id,omitempty"` - ProposerSigData []byte `protobuf:"bytes,10,opt,name=proposer_sig_data,json=proposerSigData,proto3" json:"proposer_sig_data,omitempty"` - ChainId string `protobuf:"bytes,11,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - ParentVoterIndices []byte `protobuf:"bytes,12,opt,name=parent_voter_indices,json=parentVoterIndices,proto3" json:"parent_voter_indices,omitempty"` - LastViewTc *TimeoutCertificate `protobuf:"bytes,13,opt,name=last_view_tc,json=lastViewTc,proto3" json:"last_view_tc,omitempty"` - ParentView uint64 `protobuf:"varint,14,opt,name=parent_view,json=parentView,proto3" json:"parent_view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BlockHeader) Reset() { *m = BlockHeader{} } -func (m *BlockHeader) String() string { return proto.CompactTextString(m) } -func (*BlockHeader) ProtoMessage() {} -func (*BlockHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_b9d8363da0276a74, []int{0} + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + ParentId []byte `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` + Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` + Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + PayloadHash []byte `protobuf:"bytes,5,opt,name=payload_hash,json=payloadHash,proto3" json:"payload_hash,omitempty"` + View uint64 `protobuf:"varint,6,opt,name=view,proto3" json:"view,omitempty"` + ParentVoterIds [][]byte `protobuf:"bytes,7,rep,name=parent_voter_ids,json=parentVoterIds,proto3" json:"parent_voter_ids,omitempty"` // deprecated!! value will be empty. replaced by parent_vote_indices + ParentVoterSigData []byte `protobuf:"bytes,8,opt,name=parent_voter_sig_data,json=parentVoterSigData,proto3" json:"parent_voter_sig_data,omitempty"` + ProposerId []byte `protobuf:"bytes,9,opt,name=proposer_id,json=proposerId,proto3" json:"proposer_id,omitempty"` + ProposerSigData []byte `protobuf:"bytes,10,opt,name=proposer_sig_data,json=proposerSigData,proto3" json:"proposer_sig_data,omitempty"` + ChainId string `protobuf:"bytes,11,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + ParentVoterIndices []byte `protobuf:"bytes,12,opt,name=parent_voter_indices,json=parentVoterIndices,proto3" json:"parent_voter_indices,omitempty"` + LastViewTc *TimeoutCertificate `protobuf:"bytes,13,opt,name=last_view_tc,json=lastViewTc,proto3" json:"last_view_tc,omitempty"` + ParentView uint64 `protobuf:"varint,14,opt,name=parent_view,json=parentView,proto3" json:"parent_view,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BlockHeader) Reset() { + *x = BlockHeader{} + mi := &file_flow_entities_block_header_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BlockHeader) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockHeader) ProtoMessage() {} + +func (x *BlockHeader) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_header_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *BlockHeader) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockHeader.Unmarshal(m, b) -} -func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockHeader.Marshal(b, m, deterministic) -} -func (m *BlockHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockHeader.Merge(m, src) -} -func (m *BlockHeader) XXX_Size() int { - return xxx_messageInfo_BlockHeader.Size(m) -} -func (m *BlockHeader) XXX_DiscardUnknown() { - xxx_messageInfo_BlockHeader.DiscardUnknown(m) +// Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead. +func (*BlockHeader) Descriptor() ([]byte, []int) { + return file_flow_entities_block_header_proto_rawDescGZIP(), []int{0} } -var xxx_messageInfo_BlockHeader proto.InternalMessageInfo - -func (m *BlockHeader) GetId() []byte { - if m != nil { - return m.Id +func (x *BlockHeader) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *BlockHeader) GetParentId() []byte { - if m != nil { - return m.ParentId +func (x *BlockHeader) GetParentId() []byte { + if x != nil { + return x.ParentId } return nil } -func (m *BlockHeader) GetHeight() uint64 { - if m != nil { - return m.Height +func (x *BlockHeader) GetHeight() uint64 { + if x != nil { + return x.Height } return 0 } -func (m *BlockHeader) GetTimestamp() *timestamppb.Timestamp { - if m != nil { - return m.Timestamp +func (x *BlockHeader) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp } return nil } -func (m *BlockHeader) GetPayloadHash() []byte { - if m != nil { - return m.PayloadHash +func (x *BlockHeader) GetPayloadHash() []byte { + if x != nil { + return x.PayloadHash } return nil } -func (m *BlockHeader) GetView() uint64 { - if m != nil { - return m.View +func (x *BlockHeader) GetView() uint64 { + if x != nil { + return x.View } return 0 } -func (m *BlockHeader) GetParentVoterIds() [][]byte { - if m != nil { - return m.ParentVoterIds +func (x *BlockHeader) GetParentVoterIds() [][]byte { + if x != nil { + return x.ParentVoterIds } return nil } -func (m *BlockHeader) GetParentVoterSigData() []byte { - if m != nil { - return m.ParentVoterSigData +func (x *BlockHeader) GetParentVoterSigData() []byte { + if x != nil { + return x.ParentVoterSigData } return nil } -func (m *BlockHeader) GetProposerId() []byte { - if m != nil { - return m.ProposerId +func (x *BlockHeader) GetProposerId() []byte { + if x != nil { + return x.ProposerId } return nil } -func (m *BlockHeader) GetProposerSigData() []byte { - if m != nil { - return m.ProposerSigData +func (x *BlockHeader) GetProposerSigData() []byte { + if x != nil { + return x.ProposerSigData } return nil } -func (m *BlockHeader) GetChainId() string { - if m != nil { - return m.ChainId +func (x *BlockHeader) GetChainId() string { + if x != nil { + return x.ChainId } return "" } -func (m *BlockHeader) GetParentVoterIndices() []byte { - if m != nil { - return m.ParentVoterIndices +func (x *BlockHeader) GetParentVoterIndices() []byte { + if x != nil { + return x.ParentVoterIndices } return nil } -func (m *BlockHeader) GetLastViewTc() *TimeoutCertificate { - if m != nil { - return m.LastViewTc +func (x *BlockHeader) GetLastViewTc() *TimeoutCertificate { + if x != nil { + return x.LastViewTc } return nil } -func (m *BlockHeader) GetParentView() uint64 { - if m != nil { - return m.ParentView +func (x *BlockHeader) GetParentView() uint64 { + if x != nil { + return x.ParentView } return 0 } type TimeoutCertificate struct { - View uint64 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` - HighQcViews []uint64 `protobuf:"varint,2,rep,packed,name=high_qc_views,json=highQcViews,proto3" json:"high_qc_views,omitempty"` - HighestQc *QuorumCertificate `protobuf:"bytes,3,opt,name=highest_qc,json=highestQc,proto3" json:"highest_qc,omitempty"` - SignerIndices []byte `protobuf:"bytes,4,opt,name=signer_indices,json=signerIndices,proto3" json:"signer_indices,omitempty"` - SigData []byte `protobuf:"bytes,5,opt,name=sig_data,json=sigData,proto3" json:"sig_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TimeoutCertificate) Reset() { *m = TimeoutCertificate{} } -func (m *TimeoutCertificate) String() string { return proto.CompactTextString(m) } -func (*TimeoutCertificate) ProtoMessage() {} -func (*TimeoutCertificate) Descriptor() ([]byte, []int) { - return fileDescriptor_b9d8363da0276a74, []int{1} + state protoimpl.MessageState `protogen:"open.v1"` + View uint64 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` + HighQcViews []uint64 `protobuf:"varint,2,rep,packed,name=high_qc_views,json=highQcViews,proto3" json:"high_qc_views,omitempty"` + HighestQc *QuorumCertificate `protobuf:"bytes,3,opt,name=highest_qc,json=highestQc,proto3" json:"highest_qc,omitempty"` + SignerIndices []byte `protobuf:"bytes,4,opt,name=signer_indices,json=signerIndices,proto3" json:"signer_indices,omitempty"` + SigData []byte `protobuf:"bytes,5,opt,name=sig_data,json=sigData,proto3" json:"sig_data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *TimeoutCertificate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimeoutCertificate.Unmarshal(m, b) -} -func (m *TimeoutCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimeoutCertificate.Marshal(b, m, deterministic) +func (x *TimeoutCertificate) Reset() { + *x = TimeoutCertificate{} + mi := &file_flow_entities_block_header_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *TimeoutCertificate) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeoutCertificate.Merge(m, src) -} -func (m *TimeoutCertificate) XXX_Size() int { - return xxx_messageInfo_TimeoutCertificate.Size(m) + +func (x *TimeoutCertificate) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TimeoutCertificate) XXX_DiscardUnknown() { - xxx_messageInfo_TimeoutCertificate.DiscardUnknown(m) + +func (*TimeoutCertificate) ProtoMessage() {} + +func (x *TimeoutCertificate) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_header_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TimeoutCertificate proto.InternalMessageInfo +// Deprecated: Use TimeoutCertificate.ProtoReflect.Descriptor instead. +func (*TimeoutCertificate) Descriptor() ([]byte, []int) { + return file_flow_entities_block_header_proto_rawDescGZIP(), []int{1} +} -func (m *TimeoutCertificate) GetView() uint64 { - if m != nil { - return m.View +func (x *TimeoutCertificate) GetView() uint64 { + if x != nil { + return x.View } return 0 } -func (m *TimeoutCertificate) GetHighQcViews() []uint64 { - if m != nil { - return m.HighQcViews +func (x *TimeoutCertificate) GetHighQcViews() []uint64 { + if x != nil { + return x.HighQcViews } return nil } -func (m *TimeoutCertificate) GetHighestQc() *QuorumCertificate { - if m != nil { - return m.HighestQc +func (x *TimeoutCertificate) GetHighestQc() *QuorumCertificate { + if x != nil { + return x.HighestQc } return nil } -func (m *TimeoutCertificate) GetSignerIndices() []byte { - if m != nil { - return m.SignerIndices +func (x *TimeoutCertificate) GetSignerIndices() []byte { + if x != nil { + return x.SignerIndices } return nil } -func (m *TimeoutCertificate) GetSigData() []byte { - if m != nil { - return m.SigData +func (x *TimeoutCertificate) GetSigData() []byte { + if x != nil { + return x.SigData } return nil } type QuorumCertificate struct { - View uint64 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` - BlockId []byte `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - SignerIndices []byte `protobuf:"bytes,3,opt,name=signer_indices,json=signerIndices,proto3" json:"signer_indices,omitempty"` - SigData []byte `protobuf:"bytes,4,opt,name=sig_data,json=sigData,proto3" json:"sig_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *QuorumCertificate) Reset() { *m = QuorumCertificate{} } -func (m *QuorumCertificate) String() string { return proto.CompactTextString(m) } -func (*QuorumCertificate) ProtoMessage() {} -func (*QuorumCertificate) Descriptor() ([]byte, []int) { - return fileDescriptor_b9d8363da0276a74, []int{2} + state protoimpl.MessageState `protogen:"open.v1"` + View uint64 `protobuf:"varint,1,opt,name=view,proto3" json:"view,omitempty"` + BlockId []byte `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + SignerIndices []byte `protobuf:"bytes,3,opt,name=signer_indices,json=signerIndices,proto3" json:"signer_indices,omitempty"` + SigData []byte `protobuf:"bytes,4,opt,name=sig_data,json=sigData,proto3" json:"sig_data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *QuorumCertificate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QuorumCertificate.Unmarshal(m, b) +func (x *QuorumCertificate) Reset() { + *x = QuorumCertificate{} + mi := &file_flow_entities_block_header_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *QuorumCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QuorumCertificate.Marshal(b, m, deterministic) -} -func (m *QuorumCertificate) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuorumCertificate.Merge(m, src) -} -func (m *QuorumCertificate) XXX_Size() int { - return xxx_messageInfo_QuorumCertificate.Size(m) + +func (x *QuorumCertificate) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *QuorumCertificate) XXX_DiscardUnknown() { - xxx_messageInfo_QuorumCertificate.DiscardUnknown(m) + +func (*QuorumCertificate) ProtoMessage() {} + +func (x *QuorumCertificate) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_header_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_QuorumCertificate proto.InternalMessageInfo +// Deprecated: Use QuorumCertificate.ProtoReflect.Descriptor instead. +func (*QuorumCertificate) Descriptor() ([]byte, []int) { + return file_flow_entities_block_header_proto_rawDescGZIP(), []int{2} +} -func (m *QuorumCertificate) GetView() uint64 { - if m != nil { - return m.View +func (x *QuorumCertificate) GetView() uint64 { + if x != nil { + return x.View } return 0 } -func (m *QuorumCertificate) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *QuorumCertificate) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *QuorumCertificate) GetSignerIndices() []byte { - if m != nil { - return m.SignerIndices +func (x *QuorumCertificate) GetSignerIndices() []byte { + if x != nil { + return x.SignerIndices } return nil } -func (m *QuorumCertificate) GetSigData() []byte { - if m != nil { - return m.SigData +func (x *QuorumCertificate) GetSigData() []byte { + if x != nil { + return x.SigData } return nil } -func init() { - proto.RegisterType((*BlockHeader)(nil), "flow.entities.BlockHeader") - proto.RegisterType((*TimeoutCertificate)(nil), "flow.entities.TimeoutCertificate") - proto.RegisterType((*QuorumCertificate)(nil), "flow.entities.QuorumCertificate") -} - -func init() { proto.RegisterFile("flow/entities/block_header.proto", fileDescriptor_b9d8363da0276a74) } - -var fileDescriptor_b9d8363da0276a74 = []byte{ - // 557 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0x95, 0x13, 0x7f, 0x4d, 0x72, 0x9d, 0xe4, 0xa3, 0x23, 0x40, 0x93, 0x82, 0x54, 0x37, 0x12, - 0x92, 0xc5, 0xc2, 0x2e, 0x65, 0xc3, 0x0e, 0xa9, 0x65, 0x51, 0xef, 0x88, 0xa9, 0xba, 0x60, 0x63, - 0x4d, 0x3c, 0x13, 0x7b, 0x44, 0xe2, 0x71, 0x3d, 0x93, 0x46, 0xec, 0x79, 0x10, 0xde, 0x88, 0x57, - 0x42, 0xbe, 0xfe, 0x21, 0x21, 0x95, 0xd8, 0x44, 0x99, 0x33, 0x67, 0xce, 0x3d, 0x73, 0xee, 0x1d, - 0x83, 0xbb, 0x5a, 0xab, 0x5d, 0x20, 0x72, 0x23, 0x8d, 0x14, 0x3a, 0x58, 0xae, 0x55, 0xf2, 0x2d, - 0xce, 0x04, 0xe3, 0xa2, 0xf4, 0x8b, 0x52, 0x19, 0x45, 0x26, 0x15, 0xc3, 0x6f, 0x19, 0x67, 0xe7, - 0xa9, 0x52, 0xe9, 0x5a, 0x04, 0xb8, 0xb9, 0xdc, 0xae, 0x02, 0x23, 0x37, 0x42, 0x1b, 0xb6, 0x29, - 0x6a, 0xfe, 0xfc, 0xa7, 0x0d, 0xce, 0x75, 0x25, 0x73, 0x8b, 0x2a, 0x64, 0x0a, 0x3d, 0xc9, 0xa9, - 0xe5, 0x5a, 0xde, 0x38, 0xea, 0x49, 0x4e, 0x5e, 0xc1, 0xa8, 0x60, 0xa5, 0xc8, 0x4d, 0x2c, 0x39, - 0xed, 0x21, 0x3c, 0xac, 0x81, 0x90, 0x93, 0x97, 0x70, 0x92, 0x09, 0x99, 0x66, 0x86, 0xf6, 0x5d, - 0xcb, 0xb3, 0xa3, 0x66, 0x45, 0x3e, 0xc0, 0xa8, 0xab, 0x43, 0x6d, 0xd7, 0xf2, 0x9c, 0xab, 0x33, - 0xbf, 0x76, 0xe2, 0xb7, 0x4e, 0xfc, 0xbb, 0x96, 0x11, 0xfd, 0x21, 0x93, 0x0b, 0x18, 0x17, 0xec, - 0xfb, 0x5a, 0x31, 0x1e, 0x67, 0x4c, 0x67, 0xf4, 0x3f, 0xac, 0xe8, 0x34, 0xd8, 0x2d, 0xd3, 0x19, - 0x21, 0x60, 0x3f, 0x4a, 0xb1, 0xa3, 0x27, 0x58, 0x12, 0xff, 0x13, 0x0f, 0x9e, 0x35, 0x2e, 0x1f, - 0x95, 0x11, 0x65, 0x2c, 0xb9, 0xa6, 0x03, 0xb7, 0xef, 0x8d, 0xa3, 0x69, 0x8d, 0xdf, 0x57, 0x70, - 0xc8, 0x35, 0x79, 0x07, 0x2f, 0x0e, 0x98, 0x5a, 0xa6, 0x31, 0x67, 0x86, 0xd1, 0x21, 0x56, 0x22, - 0x7b, 0xf4, 0x2f, 0x32, 0xfd, 0xc4, 0x0c, 0x23, 0xe7, 0xe0, 0x14, 0xa5, 0x2a, 0x94, 0x46, 0x61, - 0x3a, 0x42, 0x22, 0xb4, 0x50, 0xc8, 0xc9, 0x5b, 0x38, 0xed, 0x08, 0x9d, 0x1e, 0x20, 0xed, 0xff, - 0x76, 0xa3, 0x15, 0x9b, 0xc1, 0x30, 0xc9, 0x98, 0xcc, 0x2b, 0x25, 0xc7, 0xb5, 0xbc, 0x51, 0x34, - 0xc0, 0x75, 0xc8, 0xc9, 0x25, 0x3c, 0x3f, 0xbc, 0x44, 0xce, 0x65, 0x22, 0x34, 0x1d, 0x1f, 0x39, - 0x0b, 0xeb, 0x1d, 0x72, 0x03, 0xe3, 0x35, 0xd3, 0x26, 0xae, 0x32, 0x88, 0x4d, 0x42, 0x27, 0x18, - 0xf5, 0x85, 0x7f, 0x30, 0x03, 0x18, 0xb4, 0xda, 0x9a, 0x1b, 0x51, 0x1a, 0xb9, 0x92, 0x09, 0x33, - 0x22, 0x82, 0xea, 0xd8, 0xbd, 0x14, 0xbb, 0xbb, 0x04, 0xaf, 0xd7, 0x94, 0xad, 0x62, 0x9d, 0x62, - 0xac, 0xd0, 0x54, 0x93, 0x62, 0x37, 0xff, 0x65, 0x01, 0x39, 0xd6, 0xe8, 0xfa, 0x60, 0xed, 0xf5, - 0x61, 0x0e, 0x93, 0x4c, 0xa6, 0x59, 0xfc, 0x90, 0xa0, 0x98, 0xa6, 0x3d, 0xb7, 0xef, 0xd9, 0x91, - 0x53, 0x81, 0x8b, 0xa4, 0x52, 0xd3, 0xe4, 0x23, 0x40, 0xb5, 0x14, 0xda, 0xc4, 0x0f, 0x09, 0x0e, - 0x8e, 0x73, 0xe5, 0xfe, 0x65, 0x79, 0xb1, 0x55, 0xe5, 0x76, 0xb3, 0xef, 0x78, 0xd4, 0x9c, 0x59, - 0x24, 0xe4, 0x0d, 0x4c, 0xb5, 0x4c, 0xf3, 0xbd, 0x84, 0x6c, 0x4c, 0x68, 0x52, 0xa3, 0x6d, 0x38, - 0x33, 0x18, 0x76, 0xcd, 0xa8, 0xc7, 0x68, 0xa0, 0xeb, 0x26, 0xcc, 0x7f, 0x58, 0x70, 0x7a, 0x54, - 0xe2, 0xc9, 0x0b, 0xcd, 0x60, 0x58, 0x3f, 0xb2, 0x6e, 0xfa, 0x07, 0xb8, 0x0e, 0xf9, 0x13, 0x36, - 0xfa, 0xff, 0xb2, 0x61, 0x1f, 0xd8, 0xb8, 0xfe, 0x0c, 0xaf, 0x55, 0x99, 0xfa, 0x2a, 0xc7, 0xcb, - 0x77, 0x0f, 0xa3, 0x4d, 0xe1, 0xeb, 0x65, 0x2a, 0x4d, 0xb6, 0x5d, 0xfa, 0x89, 0xda, 0x04, 0x35, - 0x29, 0xc0, 0x9f, 0xee, 0x31, 0xa7, 0x2a, 0x38, 0xf8, 0x20, 0x2c, 0x4f, 0x70, 0xeb, 0xfd, 0xef, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xe2, 0xa7, 0xec, 0x4c, 0x28, 0x04, 0x00, 0x00, +var File_flow_entities_block_header_proto protoreflect.FileDescriptor + +const file_flow_entities_block_header_proto_rawDesc = "" + + "\n" + + " flow/entities/block_header.proto\x12\rflow.entities\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa0\x04\n" + + "\vBlockHeader\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x12\x1b\n" + + "\tparent_id\x18\x02 \x01(\fR\bparentId\x12\x16\n" + + "\x06height\x18\x03 \x01(\x04R\x06height\x128\n" + + "\ttimestamp\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestamp\x12!\n" + + "\fpayload_hash\x18\x05 \x01(\fR\vpayloadHash\x12\x12\n" + + "\x04view\x18\x06 \x01(\x04R\x04view\x12(\n" + + "\x10parent_voter_ids\x18\a \x03(\fR\x0eparentVoterIds\x121\n" + + "\x15parent_voter_sig_data\x18\b \x01(\fR\x12parentVoterSigData\x12\x1f\n" + + "\vproposer_id\x18\t \x01(\fR\n" + + "proposerId\x12*\n" + + "\x11proposer_sig_data\x18\n" + + " \x01(\fR\x0fproposerSigData\x12\x19\n" + + "\bchain_id\x18\v \x01(\tR\achainId\x120\n" + + "\x14parent_voter_indices\x18\f \x01(\fR\x12parentVoterIndices\x12C\n" + + "\flast_view_tc\x18\r \x01(\v2!.flow.entities.TimeoutCertificateR\n" + + "lastViewTc\x12\x1f\n" + + "\vparent_view\x18\x0e \x01(\x04R\n" + + "parentView\"\xcf\x01\n" + + "\x12TimeoutCertificate\x12\x12\n" + + "\x04view\x18\x01 \x01(\x04R\x04view\x12\"\n" + + "\rhigh_qc_views\x18\x02 \x03(\x04R\vhighQcViews\x12?\n" + + "\n" + + "highest_qc\x18\x03 \x01(\v2 .flow.entities.QuorumCertificateR\thighestQc\x12%\n" + + "\x0esigner_indices\x18\x04 \x01(\fR\rsignerIndices\x12\x19\n" + + "\bsig_data\x18\x05 \x01(\fR\asigData\"\x84\x01\n" + + "\x11QuorumCertificate\x12\x12\n" + + "\x04view\x18\x01 \x01(\x04R\x04view\x12\x19\n" + + "\bblock_id\x18\x02 \x01(\fR\ablockId\x12%\n" + + "\x0esigner_indices\x18\x03 \x01(\fR\rsignerIndices\x12\x19\n" + + "\bsig_data\x18\x04 \x01(\fR\asigDataBP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_block_header_proto_rawDescOnce sync.Once + file_flow_entities_block_header_proto_rawDescData []byte +) + +func file_flow_entities_block_header_proto_rawDescGZIP() []byte { + file_flow_entities_block_header_proto_rawDescOnce.Do(func() { + file_flow_entities_block_header_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_block_header_proto_rawDesc), len(file_flow_entities_block_header_proto_rawDesc))) + }) + return file_flow_entities_block_header_proto_rawDescData +} + +var file_flow_entities_block_header_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_flow_entities_block_header_proto_goTypes = []any{ + (*BlockHeader)(nil), // 0: flow.entities.BlockHeader + (*TimeoutCertificate)(nil), // 1: flow.entities.TimeoutCertificate + (*QuorumCertificate)(nil), // 2: flow.entities.QuorumCertificate + (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp +} +var file_flow_entities_block_header_proto_depIdxs = []int32{ + 3, // 0: flow.entities.BlockHeader.timestamp:type_name -> google.protobuf.Timestamp + 1, // 1: flow.entities.BlockHeader.last_view_tc:type_name -> flow.entities.TimeoutCertificate + 2, // 2: flow.entities.TimeoutCertificate.highest_qc:type_name -> flow.entities.QuorumCertificate + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_flow_entities_block_header_proto_init() } +func file_flow_entities_block_header_proto_init() { + if File_flow_entities_block_header_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_block_header_proto_rawDesc), len(file_flow_entities_block_header_proto_rawDesc)), + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_block_header_proto_goTypes, + DependencyIndexes: file_flow_entities_block_header_proto_depIdxs, + MessageInfos: file_flow_entities_block_header_proto_msgTypes, + }.Build() + File_flow_entities_block_header_proto = out.File + file_flow_entities_block_header_proto_goTypes = nil + file_flow_entities_block_header_proto_depIdxs = nil } diff --git a/protobuf/go/flow/entities/block_seal.pb.go b/protobuf/go/flow/entities/block_seal.pb.go index 07849b4b8..b4b564913 100644 --- a/protobuf/go/flow/entities/block_seal.pb.go +++ b/protobuf/go/flow/entities/block_seal.pb.go @@ -1,26 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/block_seal.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type BlockSeal struct { + state protoimpl.MessageState `protogen:"open.v1"` BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` ExecutionReceiptId []byte `protobuf:"bytes,2,opt,name=execution_receipt_id,json=executionReceiptId,proto3" json:"execution_receipt_id,omitempty"` ExecutionReceiptSignatures [][]byte `protobuf:"bytes,3,rep,name=execution_receipt_signatures,json=executionReceiptSignatures,proto3" json:"execution_receipt_signatures,omitempty"` @@ -28,161 +30,207 @@ type BlockSeal struct { FinalState []byte `protobuf:"bytes,5,opt,name=final_state,json=finalState,proto3" json:"final_state,omitempty"` ResultId []byte `protobuf:"bytes,6,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"` AggregatedApprovalSigs []*AggregatedSignature `protobuf:"bytes,7,rep,name=aggregated_approval_sigs,json=aggregatedApprovalSigs,proto3" json:"aggregated_approval_sigs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *BlockSeal) Reset() { *m = BlockSeal{} } -func (m *BlockSeal) String() string { return proto.CompactTextString(m) } -func (*BlockSeal) ProtoMessage() {} -func (*BlockSeal) Descriptor() ([]byte, []int) { - return fileDescriptor_e5bc0062689af71f, []int{0} +func (x *BlockSeal) Reset() { + *x = BlockSeal{} + mi := &file_flow_entities_block_seal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *BlockSeal) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockSeal.Unmarshal(m, b) -} -func (m *BlockSeal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockSeal.Marshal(b, m, deterministic) +func (x *BlockSeal) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockSeal) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockSeal.Merge(m, src) -} -func (m *BlockSeal) XXX_Size() int { - return xxx_messageInfo_BlockSeal.Size(m) -} -func (m *BlockSeal) XXX_DiscardUnknown() { - xxx_messageInfo_BlockSeal.DiscardUnknown(m) + +func (*BlockSeal) ProtoMessage() {} + +func (x *BlockSeal) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_seal_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlockSeal proto.InternalMessageInfo +// Deprecated: Use BlockSeal.ProtoReflect.Descriptor instead. +func (*BlockSeal) Descriptor() ([]byte, []int) { + return file_flow_entities_block_seal_proto_rawDescGZIP(), []int{0} +} -func (m *BlockSeal) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *BlockSeal) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *BlockSeal) GetExecutionReceiptId() []byte { - if m != nil { - return m.ExecutionReceiptId +func (x *BlockSeal) GetExecutionReceiptId() []byte { + if x != nil { + return x.ExecutionReceiptId } return nil } -func (m *BlockSeal) GetExecutionReceiptSignatures() [][]byte { - if m != nil { - return m.ExecutionReceiptSignatures +func (x *BlockSeal) GetExecutionReceiptSignatures() [][]byte { + if x != nil { + return x.ExecutionReceiptSignatures } return nil } -func (m *BlockSeal) GetResultApprovalSignatures() [][]byte { - if m != nil { - return m.ResultApprovalSignatures +func (x *BlockSeal) GetResultApprovalSignatures() [][]byte { + if x != nil { + return x.ResultApprovalSignatures } return nil } -func (m *BlockSeal) GetFinalState() []byte { - if m != nil { - return m.FinalState +func (x *BlockSeal) GetFinalState() []byte { + if x != nil { + return x.FinalState } return nil } -func (m *BlockSeal) GetResultId() []byte { - if m != nil { - return m.ResultId +func (x *BlockSeal) GetResultId() []byte { + if x != nil { + return x.ResultId } return nil } -func (m *BlockSeal) GetAggregatedApprovalSigs() []*AggregatedSignature { - if m != nil { - return m.AggregatedApprovalSigs +func (x *BlockSeal) GetAggregatedApprovalSigs() []*AggregatedSignature { + if x != nil { + return x.AggregatedApprovalSigs } return nil } type AggregatedSignature struct { - VerifierSignatures [][]byte `protobuf:"bytes,1,rep,name=verifier_signatures,json=verifierSignatures,proto3" json:"verifier_signatures,omitempty"` - SignerIds [][]byte `protobuf:"bytes,2,rep,name=signer_ids,json=signerIds,proto3" json:"signer_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + VerifierSignatures [][]byte `protobuf:"bytes,1,rep,name=verifier_signatures,json=verifierSignatures,proto3" json:"verifier_signatures,omitempty"` + SignerIds [][]byte `protobuf:"bytes,2,rep,name=signer_ids,json=signerIds,proto3" json:"signer_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *AggregatedSignature) Reset() { *m = AggregatedSignature{} } -func (m *AggregatedSignature) String() string { return proto.CompactTextString(m) } -func (*AggregatedSignature) ProtoMessage() {} -func (*AggregatedSignature) Descriptor() ([]byte, []int) { - return fileDescriptor_e5bc0062689af71f, []int{1} +func (x *AggregatedSignature) Reset() { + *x = AggregatedSignature{} + mi := &file_flow_entities_block_seal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *AggregatedSignature) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AggregatedSignature.Unmarshal(m, b) -} -func (m *AggregatedSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AggregatedSignature.Marshal(b, m, deterministic) -} -func (m *AggregatedSignature) XXX_Merge(src proto.Message) { - xxx_messageInfo_AggregatedSignature.Merge(m, src) +func (x *AggregatedSignature) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AggregatedSignature) XXX_Size() int { - return xxx_messageInfo_AggregatedSignature.Size(m) -} -func (m *AggregatedSignature) XXX_DiscardUnknown() { - xxx_messageInfo_AggregatedSignature.DiscardUnknown(m) + +func (*AggregatedSignature) ProtoMessage() {} + +func (x *AggregatedSignature) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_block_seal_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AggregatedSignature proto.InternalMessageInfo +// Deprecated: Use AggregatedSignature.ProtoReflect.Descriptor instead. +func (*AggregatedSignature) Descriptor() ([]byte, []int) { + return file_flow_entities_block_seal_proto_rawDescGZIP(), []int{1} +} -func (m *AggregatedSignature) GetVerifierSignatures() [][]byte { - if m != nil { - return m.VerifierSignatures +func (x *AggregatedSignature) GetVerifierSignatures() [][]byte { + if x != nil { + return x.VerifierSignatures } return nil } -func (m *AggregatedSignature) GetSignerIds() [][]byte { - if m != nil { - return m.SignerIds +func (x *AggregatedSignature) GetSignerIds() [][]byte { + if x != nil { + return x.SignerIds } return nil } -func init() { - proto.RegisterType((*BlockSeal)(nil), "flow.entities.BlockSeal") - proto.RegisterType((*AggregatedSignature)(nil), "flow.entities.AggregatedSignature") -} - -func init() { proto.RegisterFile("flow/entities/block_seal.proto", fileDescriptor_e5bc0062689af71f) } - -var fileDescriptor_e5bc0062689af71f = []byte{ - // 345 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x4f, 0x4f, 0xea, 0x40, - 0x14, 0xc5, 0x03, 0xbc, 0xc7, 0x9f, 0x0b, 0x6f, 0x33, 0xbc, 0x98, 0x11, 0x51, 0x09, 0x2b, 0x56, - 0x2d, 0xd1, 0xad, 0x0b, 0x61, 0xd7, 0x9d, 0x29, 0x3b, 0x63, 0xd2, 0x4c, 0x3b, 0xb7, 0xe3, 0xc4, - 0xda, 0x69, 0x66, 0xa6, 0xe8, 0x07, 0xf7, 0x03, 0x98, 0x4e, 0xa1, 0x16, 0x75, 0xd3, 0xa4, 0xe7, - 0xfc, 0xce, 0xed, 0xb9, 0xcd, 0x85, 0xab, 0x34, 0x53, 0x6f, 0x3e, 0xe6, 0x56, 0x5a, 0x89, 0xc6, - 0x8f, 0x33, 0x95, 0xbc, 0x44, 0x06, 0x59, 0xe6, 0x15, 0x5a, 0x59, 0x45, 0xfe, 0x55, 0xbe, 0x77, - 0xf4, 0x97, 0x1f, 0x5d, 0x18, 0x6d, 0x2b, 0x66, 0x87, 0x2c, 0x23, 0xe7, 0x30, 0xac, 0x03, 0x92, - 0xd3, 0xce, 0xa2, 0xb3, 0x9a, 0x84, 0x03, 0xf7, 0x1e, 0x70, 0xb2, 0x86, 0xff, 0xf8, 0x8e, 0x49, - 0x69, 0xa5, 0xca, 0x23, 0x8d, 0x09, 0xca, 0xc2, 0x56, 0x58, 0xd7, 0x61, 0xa4, 0xf1, 0xc2, 0xda, - 0x0a, 0x38, 0xb9, 0x87, 0xf9, 0xcf, 0x84, 0x91, 0x22, 0x67, 0xb6, 0xd4, 0x68, 0x68, 0x6f, 0xd1, - 0x5b, 0x4d, 0xc2, 0xd9, 0xf7, 0xe4, 0xae, 0x21, 0xc8, 0x1d, 0xcc, 0x34, 0x9a, 0x32, 0xb3, 0x11, - 0x2b, 0x0a, 0xad, 0xf6, 0x2c, 0x6b, 0xe7, 0xff, 0xb8, 0x3c, 0xad, 0x89, 0xcd, 0x01, 0x68, 0xa5, - 0xaf, 0x61, 0x9c, 0xca, 0xbc, 0xca, 0x58, 0x66, 0x91, 0xfe, 0x75, 0x45, 0xc1, 0x49, 0xbb, 0x4a, - 0x21, 0x17, 0x30, 0x3a, 0x8c, 0x97, 0x9c, 0xf6, 0x9d, 0x3d, 0xac, 0x85, 0x80, 0x93, 0x27, 0xa0, - 0x4c, 0x08, 0x8d, 0x82, 0x59, 0xe4, 0x27, 0xdf, 0x37, 0x74, 0xb0, 0xe8, 0xad, 0xc6, 0x37, 0x4b, - 0xef, 0xe4, 0x57, 0x7a, 0x9b, 0x06, 0x6f, 0x4a, 0x84, 0x67, 0x5f, 0x33, 0x5a, 0x0d, 0xcd, 0x12, - 0x61, 0xfa, 0x0b, 0x4e, 0x7c, 0x98, 0xee, 0x51, 0xcb, 0x54, 0xa2, 0x6e, 0x6f, 0xda, 0x71, 0x9b, - 0x92, 0xa3, 0xd5, 0xda, 0xf1, 0x12, 0xa0, 0xe2, 0x50, 0x47, 0x92, 0x1b, 0xda, 0x75, 0xdc, 0xa8, - 0x56, 0x02, 0x6e, 0xb6, 0x0f, 0x30, 0x57, 0x5a, 0x78, 0x2a, 0x77, 0x4d, 0xdd, 0x01, 0xc4, 0x65, - 0xda, 0x54, 0x7e, 0x5c, 0x0b, 0x69, 0x9f, 0xcb, 0xd8, 0x4b, 0xd4, 0xab, 0x5f, 0x43, 0xbe, 0x7b, - 0x1c, 0x49, 0x5f, 0x28, 0xff, 0xe4, 0x9e, 0xe2, 0xbe, 0xb3, 0x6e, 0x3f, 0x03, 0x00, 0x00, 0xff, - 0xff, 0x01, 0x20, 0xf8, 0xce, 0x67, 0x02, 0x00, 0x00, +var File_flow_entities_block_seal_proto protoreflect.FileDescriptor + +const file_flow_entities_block_seal_proto_rawDesc = "" + + "\n" + + "\x1eflow/entities/block_seal.proto\x12\rflow.entities\"\xf4\x02\n" + + "\tBlockSeal\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x120\n" + + "\x14execution_receipt_id\x18\x02 \x01(\fR\x12executionReceiptId\x12@\n" + + "\x1cexecution_receipt_signatures\x18\x03 \x03(\fR\x1aexecutionReceiptSignatures\x12<\n" + + "\x1aresult_approval_signatures\x18\x04 \x03(\fR\x18resultApprovalSignatures\x12\x1f\n" + + "\vfinal_state\x18\x05 \x01(\fR\n" + + "finalState\x12\x1b\n" + + "\tresult_id\x18\x06 \x01(\fR\bresultId\x12\\\n" + + "\x18aggregated_approval_sigs\x18\a \x03(\v2\".flow.entities.AggregatedSignatureR\x16aggregatedApprovalSigs\"e\n" + + "\x13AggregatedSignature\x12/\n" + + "\x13verifier_signatures\x18\x01 \x03(\fR\x12verifierSignatures\x12\x1d\n" + + "\n" + + "signer_ids\x18\x02 \x03(\fR\tsignerIdsBP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_block_seal_proto_rawDescOnce sync.Once + file_flow_entities_block_seal_proto_rawDescData []byte +) + +func file_flow_entities_block_seal_proto_rawDescGZIP() []byte { + file_flow_entities_block_seal_proto_rawDescOnce.Do(func() { + file_flow_entities_block_seal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_block_seal_proto_rawDesc), len(file_flow_entities_block_seal_proto_rawDesc))) + }) + return file_flow_entities_block_seal_proto_rawDescData +} + +var file_flow_entities_block_seal_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_flow_entities_block_seal_proto_goTypes = []any{ + (*BlockSeal)(nil), // 0: flow.entities.BlockSeal + (*AggregatedSignature)(nil), // 1: flow.entities.AggregatedSignature +} +var file_flow_entities_block_seal_proto_depIdxs = []int32{ + 1, // 0: flow.entities.BlockSeal.aggregated_approval_sigs:type_name -> flow.entities.AggregatedSignature + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_flow_entities_block_seal_proto_init() } +func file_flow_entities_block_seal_proto_init() { + if File_flow_entities_block_seal_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_block_seal_proto_rawDesc), len(file_flow_entities_block_seal_proto_rawDesc)), + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_block_seal_proto_goTypes, + DependencyIndexes: file_flow_entities_block_seal_proto_depIdxs, + MessageInfos: file_flow_entities_block_seal_proto_msgTypes, + }.Build() + File_flow_entities_block_seal_proto = out.File + file_flow_entities_block_seal_proto_goTypes = nil + file_flow_entities_block_seal_proto_depIdxs = nil } diff --git a/protobuf/go/flow/entities/collection.pb.go b/protobuf/go/flow/entities/collection.pb.go index 438bbec98..94d25998e 100644 --- a/protobuf/go/flow/entities/collection.pb.go +++ b/protobuf/go/flow/entities/collection.pb.go @@ -1,185 +1,237 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/collection.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type Collection struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - TransactionIds [][]byte `protobuf:"bytes,2,rep,name=transaction_ids,json=transactionIds,proto3" json:"transaction_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + TransactionIds [][]byte `protobuf:"bytes,2,rep,name=transaction_ids,json=transactionIds,proto3" json:"transaction_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Collection) Reset() { *m = Collection{} } -func (m *Collection) String() string { return proto.CompactTextString(m) } -func (*Collection) ProtoMessage() {} -func (*Collection) Descriptor() ([]byte, []int) { - return fileDescriptor_b302551359ed99bf, []int{0} +func (x *Collection) Reset() { + *x = Collection{} + mi := &file_flow_entities_collection_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Collection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Collection.Unmarshal(m, b) -} -func (m *Collection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Collection.Marshal(b, m, deterministic) +func (x *Collection) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Collection) XXX_Merge(src proto.Message) { - xxx_messageInfo_Collection.Merge(m, src) -} -func (m *Collection) XXX_Size() int { - return xxx_messageInfo_Collection.Size(m) -} -func (m *Collection) XXX_DiscardUnknown() { - xxx_messageInfo_Collection.DiscardUnknown(m) + +func (*Collection) ProtoMessage() {} + +func (x *Collection) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_collection_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Collection proto.InternalMessageInfo +// Deprecated: Use Collection.ProtoReflect.Descriptor instead. +func (*Collection) Descriptor() ([]byte, []int) { + return file_flow_entities_collection_proto_rawDescGZIP(), []int{0} +} -func (m *Collection) GetId() []byte { - if m != nil { - return m.Id +func (x *Collection) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *Collection) GetTransactionIds() [][]byte { - if m != nil { - return m.TransactionIds +func (x *Collection) GetTransactionIds() [][]byte { + if x != nil { + return x.TransactionIds } return nil } type CollectionGuarantee struct { - CollectionId []byte `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` - Signatures [][]byte `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` - ReferenceBlockId []byte `protobuf:"bytes,3,opt,name=reference_block_id,json=referenceBlockId,proto3" json:"reference_block_id,omitempty"` - Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` - SignerIds [][]byte `protobuf:"bytes,5,rep,name=signer_ids,json=signerIds,proto3" json:"signer_ids,omitempty"` - SignerIndices []byte `protobuf:"bytes,6,opt,name=signer_indices,json=signerIndices,proto3" json:"signer_indices,omitempty"` - ClusterChainId []byte `protobuf:"bytes,7,opt,name=cluster_chain_id,json=clusterChainId,proto3" json:"cluster_chain_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CollectionGuarantee) Reset() { *m = CollectionGuarantee{} } -func (m *CollectionGuarantee) String() string { return proto.CompactTextString(m) } -func (*CollectionGuarantee) ProtoMessage() {} -func (*CollectionGuarantee) Descriptor() ([]byte, []int) { - return fileDescriptor_b302551359ed99bf, []int{1} + state protoimpl.MessageState `protogen:"open.v1"` + CollectionId []byte `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` + Signatures [][]byte `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` + ReferenceBlockId []byte `protobuf:"bytes,3,opt,name=reference_block_id,json=referenceBlockId,proto3" json:"reference_block_id,omitempty"` + Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` + SignerIds [][]byte `protobuf:"bytes,5,rep,name=signer_ids,json=signerIds,proto3" json:"signer_ids,omitempty"` // deprecated!! value will be empty. replaced by signer_indices + SignerIndices []byte `protobuf:"bytes,6,opt,name=signer_indices,json=signerIndices,proto3" json:"signer_indices,omitempty"` + ClusterChainId []byte `protobuf:"bytes,7,opt,name=cluster_chain_id,json=clusterChainId,proto3" json:"cluster_chain_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CollectionGuarantee) Reset() { + *x = CollectionGuarantee{} + mi := &file_flow_entities_collection_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CollectionGuarantee) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CollectionGuarantee) ProtoMessage() {} + +func (x *CollectionGuarantee) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_collection_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *CollectionGuarantee) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CollectionGuarantee.Unmarshal(m, b) -} -func (m *CollectionGuarantee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CollectionGuarantee.Marshal(b, m, deterministic) -} -func (m *CollectionGuarantee) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectionGuarantee.Merge(m, src) -} -func (m *CollectionGuarantee) XXX_Size() int { - return xxx_messageInfo_CollectionGuarantee.Size(m) -} -func (m *CollectionGuarantee) XXX_DiscardUnknown() { - xxx_messageInfo_CollectionGuarantee.DiscardUnknown(m) +// Deprecated: Use CollectionGuarantee.ProtoReflect.Descriptor instead. +func (*CollectionGuarantee) Descriptor() ([]byte, []int) { + return file_flow_entities_collection_proto_rawDescGZIP(), []int{1} } -var xxx_messageInfo_CollectionGuarantee proto.InternalMessageInfo - -func (m *CollectionGuarantee) GetCollectionId() []byte { - if m != nil { - return m.CollectionId +func (x *CollectionGuarantee) GetCollectionId() []byte { + if x != nil { + return x.CollectionId } return nil } -func (m *CollectionGuarantee) GetSignatures() [][]byte { - if m != nil { - return m.Signatures +func (x *CollectionGuarantee) GetSignatures() [][]byte { + if x != nil { + return x.Signatures } return nil } -func (m *CollectionGuarantee) GetReferenceBlockId() []byte { - if m != nil { - return m.ReferenceBlockId +func (x *CollectionGuarantee) GetReferenceBlockId() []byte { + if x != nil { + return x.ReferenceBlockId } return nil } -func (m *CollectionGuarantee) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *CollectionGuarantee) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } -func (m *CollectionGuarantee) GetSignerIds() [][]byte { - if m != nil { - return m.SignerIds +func (x *CollectionGuarantee) GetSignerIds() [][]byte { + if x != nil { + return x.SignerIds } return nil } -func (m *CollectionGuarantee) GetSignerIndices() []byte { - if m != nil { - return m.SignerIndices +func (x *CollectionGuarantee) GetSignerIndices() []byte { + if x != nil { + return x.SignerIndices } return nil } -func (m *CollectionGuarantee) GetClusterChainId() []byte { - if m != nil { - return m.ClusterChainId +func (x *CollectionGuarantee) GetClusterChainId() []byte { + if x != nil { + return x.ClusterChainId } return nil } -func init() { - proto.RegisterType((*Collection)(nil), "flow.entities.Collection") - proto.RegisterType((*CollectionGuarantee)(nil), "flow.entities.CollectionGuarantee") -} - -func init() { proto.RegisterFile("flow/entities/collection.proto", fileDescriptor_b302551359ed99bf) } - -var fileDescriptor_b302551359ed99bf = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x91, 0xc1, 0x4e, 0xeb, 0x30, - 0x10, 0x45, 0xd5, 0xf4, 0xbd, 0xa2, 0x8e, 0xda, 0x50, 0x99, 0x4d, 0x16, 0xa5, 0xaa, 0x8a, 0x10, - 0x5d, 0xa0, 0x18, 0x89, 0x3f, 0x68, 0x85, 0x50, 0x76, 0xa8, 0x4b, 0x36, 0x91, 0x63, 0x4f, 0x53, - 0x8b, 0x60, 0x23, 0xdb, 0x11, 0x7f, 0xc2, 0xf7, 0xa2, 0x4c, 0x9a, 0xa4, 0x6c, 0xb2, 0x38, 0xe7, - 0xe6, 0x8e, 0xed, 0x81, 0xd5, 0xb1, 0xb2, 0xdf, 0x1c, 0x4d, 0xd0, 0x41, 0xa3, 0xe7, 0xd2, 0x56, - 0x15, 0xca, 0xa0, 0xad, 0x49, 0xbf, 0x9c, 0x0d, 0x96, 0xcd, 0x1b, 0x9f, 0x76, 0x7e, 0xf3, 0x02, - 0xb0, 0xef, 0x23, 0x2c, 0x86, 0x48, 0xab, 0x64, 0xb4, 0x1e, 0x6d, 0x67, 0x87, 0x48, 0x2b, 0xf6, - 0x00, 0xd7, 0xc1, 0x09, 0xe3, 0x05, 0xe9, 0x5c, 0x2b, 0x9f, 0x44, 0xeb, 0xf1, 0x76, 0x76, 0x88, - 0x2f, 0x70, 0xa6, 0xfc, 0xe6, 0x27, 0x82, 0x9b, 0xa1, 0xe7, 0xb5, 0x16, 0x4e, 0x98, 0x80, 0xc8, - 0xee, 0x60, 0x3e, 0x9c, 0x20, 0xef, 0xbb, 0x67, 0x03, 0xcc, 0x14, 0x5b, 0x01, 0x78, 0x5d, 0x1a, - 0x11, 0x6a, 0x87, 0xdd, 0x80, 0x0b, 0xc2, 0x1e, 0x81, 0x39, 0x3c, 0xa2, 0x43, 0x23, 0x31, 0x2f, - 0x2a, 0x2b, 0x3f, 0x9a, 0xa6, 0x31, 0x35, 0x2d, 0x7a, 0xb3, 0x6b, 0x44, 0xa6, 0xd8, 0x12, 0xa6, - 0xfd, 0xbf, 0xc9, 0x3f, 0x0a, 0x0d, 0x80, 0xdd, 0xb6, 0xb3, 0xd0, 0xd1, 0x65, 0xfe, 0xd3, 0xac, - 0x69, 0x4b, 0x32, 0xe5, 0xd9, 0x3d, 0xc4, 0x9d, 0x36, 0x4a, 0x4b, 0xf4, 0xc9, 0x84, 0x1a, 0xe6, - 0xe7, 0x48, 0x0b, 0xd9, 0x16, 0x16, 0xb2, 0xaa, 0x7d, 0x40, 0x97, 0xcb, 0x93, 0xd0, 0x74, 0xb3, - 0x2b, 0x0a, 0xc6, 0x67, 0xbe, 0x6f, 0x70, 0xa6, 0x76, 0x6f, 0xb0, 0xb4, 0xae, 0x4c, 0xad, 0xa1, - 0x67, 0xa7, 0x15, 0x14, 0xf5, 0xb1, 0x7f, 0xff, 0xf7, 0xa7, 0x52, 0x87, 0x53, 0x5d, 0xa4, 0xd2, - 0x7e, 0xf2, 0x36, 0xc4, 0xe9, 0xd3, 0x25, 0x79, 0x69, 0xf9, 0x9f, 0x8d, 0x16, 0x13, 0x52, 0xcf, - 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x69, 0xd9, 0xb3, 0x36, 0xe9, 0x01, 0x00, 0x00, +var File_flow_entities_collection_proto protoreflect.FileDescriptor + +const file_flow_entities_collection_proto_rawDesc = "" + + "\n" + + "\x1eflow/entities/collection.proto\x12\rflow.entities\"E\n" + + "\n" + + "Collection\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x12'\n" + + "\x0ftransaction_ids\x18\x02 \x03(\fR\x0etransactionIds\"\x96\x02\n" + + "\x13CollectionGuarantee\x12#\n" + + "\rcollection_id\x18\x01 \x01(\fR\fcollectionId\x12\x1e\n" + + "\n" + + "signatures\x18\x02 \x03(\fR\n" + + "signatures\x12,\n" + + "\x12reference_block_id\x18\x03 \x01(\fR\x10referenceBlockId\x12\x1c\n" + + "\tsignature\x18\x04 \x01(\fR\tsignature\x12\x1d\n" + + "\n" + + "signer_ids\x18\x05 \x03(\fR\tsignerIds\x12%\n" + + "\x0esigner_indices\x18\x06 \x01(\fR\rsignerIndices\x12(\n" + + "\x10cluster_chain_id\x18\a \x01(\fR\x0eclusterChainIdBP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_collection_proto_rawDescOnce sync.Once + file_flow_entities_collection_proto_rawDescData []byte +) + +func file_flow_entities_collection_proto_rawDescGZIP() []byte { + file_flow_entities_collection_proto_rawDescOnce.Do(func() { + file_flow_entities_collection_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_collection_proto_rawDesc), len(file_flow_entities_collection_proto_rawDesc))) + }) + return file_flow_entities_collection_proto_rawDescData +} + +var file_flow_entities_collection_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_flow_entities_collection_proto_goTypes = []any{ + (*Collection)(nil), // 0: flow.entities.Collection + (*CollectionGuarantee)(nil), // 1: flow.entities.CollectionGuarantee +} +var file_flow_entities_collection_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_flow_entities_collection_proto_init() } +func file_flow_entities_collection_proto_init() { + if File_flow_entities_collection_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_collection_proto_rawDesc), len(file_flow_entities_collection_proto_rawDesc)), + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_collection_proto_goTypes, + DependencyIndexes: file_flow_entities_collection_proto_depIdxs, + MessageInfos: file_flow_entities_collection_proto_msgTypes, + }.Build() + File_flow_entities_collection_proto = out.File + file_flow_entities_collection_proto_goTypes = nil + file_flow_entities_collection_proto_depIdxs = nil } diff --git a/protobuf/go/flow/entities/event.pb.go b/protobuf/go/flow/entities/event.pb.go index 13b1eebd7..29f756684 100644 --- a/protobuf/go/flow/entities/event.pb.go +++ b/protobuf/go/flow/entities/event.pb.go @@ -1,24 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/event.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type EventEncodingVersion int32 @@ -27,119 +28,186 @@ const ( EventEncodingVersion_CCF_V0 EventEncodingVersion = 1 ) -var EventEncodingVersion_name = map[int32]string{ - 0: "JSON_CDC_V0", - 1: "CCF_V0", -} +// Enum value maps for EventEncodingVersion. +var ( + EventEncodingVersion_name = map[int32]string{ + 0: "JSON_CDC_V0", + 1: "CCF_V0", + } + EventEncodingVersion_value = map[string]int32{ + "JSON_CDC_V0": 0, + "CCF_V0": 1, + } +) -var EventEncodingVersion_value = map[string]int32{ - "JSON_CDC_V0": 0, - "CCF_V0": 1, +func (x EventEncodingVersion) Enum() *EventEncodingVersion { + p := new(EventEncodingVersion) + *p = x + return p } func (x EventEncodingVersion) String() string { - return proto.EnumName(EventEncodingVersion_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (EventEncodingVersion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dcb08ee6f360364f, []int{0} +func (EventEncodingVersion) Descriptor() protoreflect.EnumDescriptor { + return file_flow_entities_event_proto_enumTypes[0].Descriptor() } -type Event struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` - TransactionIndex uint32 `protobuf:"varint,3,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` - EventIndex uint32 `protobuf:"varint,4,opt,name=event_index,json=eventIndex,proto3" json:"event_index,omitempty"` - Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Event) Reset() { *m = Event{} } -func (m *Event) String() string { return proto.CompactTextString(m) } -func (*Event) ProtoMessage() {} -func (*Event) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb08ee6f360364f, []int{0} +func (EventEncodingVersion) Type() protoreflect.EnumType { + return &file_flow_entities_event_proto_enumTypes[0] } -func (m *Event) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Event.Unmarshal(m, b) +func (x EventEncodingVersion) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Event.Marshal(b, m, deterministic) + +// Deprecated: Use EventEncodingVersion.Descriptor instead. +func (EventEncodingVersion) EnumDescriptor() ([]byte, []int) { + return file_flow_entities_event_proto_rawDescGZIP(), []int{0} +} + +type Event struct { + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + TransactionIndex uint32 `protobuf:"varint,3,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` + EventIndex uint32 `protobuf:"varint,4,opt,name=event_index,json=eventIndex,proto3" json:"event_index,omitempty"` + Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Event) XXX_Merge(src proto.Message) { - xxx_messageInfo_Event.Merge(m, src) + +func (x *Event) Reset() { + *x = Event{} + mi := &file_flow_entities_event_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Event) XXX_Size() int { - return xxx_messageInfo_Event.Size(m) + +func (x *Event) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Event) XXX_DiscardUnknown() { - xxx_messageInfo_Event.DiscardUnknown(m) + +func (*Event) ProtoMessage() {} + +func (x *Event) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_event_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Event proto.InternalMessageInfo +// Deprecated: Use Event.ProtoReflect.Descriptor instead. +func (*Event) Descriptor() ([]byte, []int) { + return file_flow_entities_event_proto_rawDescGZIP(), []int{0} +} -func (m *Event) GetType() string { - if m != nil { - return m.Type +func (x *Event) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *Event) GetTransactionId() []byte { - if m != nil { - return m.TransactionId +func (x *Event) GetTransactionId() []byte { + if x != nil { + return x.TransactionId } return nil } -func (m *Event) GetTransactionIndex() uint32 { - if m != nil { - return m.TransactionIndex +func (x *Event) GetTransactionIndex() uint32 { + if x != nil { + return x.TransactionIndex } return 0 } -func (m *Event) GetEventIndex() uint32 { - if m != nil { - return m.EventIndex +func (x *Event) GetEventIndex() uint32 { + if x != nil { + return x.EventIndex } return 0 } -func (m *Event) GetPayload() []byte { - if m != nil { - return m.Payload +func (x *Event) GetPayload() []byte { + if x != nil { + return x.Payload } return nil } -func init() { - proto.RegisterEnum("flow.entities.EventEncodingVersion", EventEncodingVersion_name, EventEncodingVersion_value) - proto.RegisterType((*Event)(nil), "flow.entities.Event") -} - -func init() { proto.RegisterFile("flow/entities/event.proto", fileDescriptor_dcb08ee6f360364f) } - -var fileDescriptor_dcb08ee6f360364f = []byte{ - // 262 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0x86, 0x8d, 0x6e, 0x13, 0xcf, 0xac, 0xce, 0xe0, 0x45, 0x05, 0xc1, 0x22, 0x08, 0x45, 0xa1, - 0x19, 0xec, 0x0d, 0xac, 0x13, 0xf4, 0x42, 0xa5, 0xc2, 0x2e, 0xbc, 0x29, 0x6d, 0x93, 0xd5, 0xc0, - 0x3c, 0xa7, 0xb4, 0x99, 0xba, 0x57, 0xf2, 0x29, 0xa5, 0x67, 0x56, 0xb6, 0x9b, 0x70, 0xf2, 0x7f, - 0x1f, 0xe4, 0xe4, 0x87, 0xb3, 0xf9, 0x82, 0xbe, 0x94, 0x41, 0x67, 0x9d, 0x35, 0x8d, 0x32, 0x9f, - 0x06, 0x5d, 0x54, 0xd5, 0xe4, 0x48, 0x7a, 0x2d, 0x8a, 0x3a, 0x74, 0xf9, 0x23, 0xa0, 0x3f, 0x6d, - 0xb1, 0x94, 0xd0, 0x73, 0xab, 0xca, 0xf8, 0x22, 0x10, 0xe1, 0x41, 0xc2, 0xb3, 0xbc, 0x82, 0x23, - 0x57, 0x67, 0xd8, 0x64, 0x85, 0xb3, 0x84, 0xa9, 0xd5, 0xfe, 0x6e, 0x20, 0xc2, 0xc3, 0xc4, 0xdb, - 0x48, 0x1f, 0xb4, 0xbc, 0x81, 0x93, 0x2d, 0x0d, 0xb5, 0xf9, 0xf6, 0xf7, 0x02, 0x11, 0x7a, 0xc9, - 0x68, 0xd3, 0x6c, 0x73, 0x79, 0x01, 0x43, 0xde, 0xe7, 0x4f, 0xeb, 0xb1, 0x06, 0x1c, 0xad, 0x05, - 0x1f, 0xf6, 0xab, 0x6c, 0xb5, 0xa0, 0x4c, 0xfb, 0x7d, 0x7e, 0xad, 0xbb, 0x5e, 0x4f, 0xe0, 0x94, - 0x77, 0x9d, 0x62, 0x41, 0xda, 0x62, 0x39, 0x33, 0x75, 0x63, 0x09, 0xe5, 0x31, 0x0c, 0x1f, 0x5f, - 0x9f, 0x9f, 0xd2, 0xf8, 0x2e, 0x4e, 0x67, 0xe3, 0xd1, 0x8e, 0x04, 0x18, 0xc4, 0xf1, 0x7d, 0x3b, - 0x8b, 0xdb, 0x17, 0x38, 0xa7, 0xba, 0x8c, 0x08, 0xf9, 0xe3, 0x5c, 0x42, 0xbe, 0x9c, 0xff, 0x37, - 0xf0, 0x36, 0x2e, 0xad, 0x7b, 0x5f, 0xe6, 0x51, 0x41, 0x1f, 0x6a, 0x2d, 0x29, 0x3e, 0x3a, 0x53, - 0x95, 0xa4, 0xb6, 0xea, 0xcc, 0x07, 0x8c, 0x26, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xfd, - 0x61, 0x43, 0x66, 0x01, 0x00, 0x00, +var File_flow_entities_event_proto protoreflect.FileDescriptor + +const file_flow_entities_event_proto_rawDesc = "" + + "\n" + + "\x19flow/entities/event.proto\x12\rflow.entities\"\xaa\x01\n" + + "\x05Event\x12\x12\n" + + "\x04type\x18\x01 \x01(\tR\x04type\x12%\n" + + "\x0etransaction_id\x18\x02 \x01(\fR\rtransactionId\x12+\n" + + "\x11transaction_index\x18\x03 \x01(\rR\x10transactionIndex\x12\x1f\n" + + "\vevent_index\x18\x04 \x01(\rR\n" + + "eventIndex\x12\x18\n" + + "\apayload\x18\x05 \x01(\fR\apayload*3\n" + + "\x14EventEncodingVersion\x12\x0f\n" + + "\vJSON_CDC_V0\x10\x00\x12\n" + + "\n" + + "\x06CCF_V0\x10\x01BP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_event_proto_rawDescOnce sync.Once + file_flow_entities_event_proto_rawDescData []byte +) + +func file_flow_entities_event_proto_rawDescGZIP() []byte { + file_flow_entities_event_proto_rawDescOnce.Do(func() { + file_flow_entities_event_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_event_proto_rawDesc), len(file_flow_entities_event_proto_rawDesc))) + }) + return file_flow_entities_event_proto_rawDescData +} + +var file_flow_entities_event_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flow_entities_event_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flow_entities_event_proto_goTypes = []any{ + (EventEncodingVersion)(0), // 0: flow.entities.EventEncodingVersion + (*Event)(nil), // 1: flow.entities.Event +} +var file_flow_entities_event_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_flow_entities_event_proto_init() } +func file_flow_entities_event_proto_init() { + if File_flow_entities_event_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_event_proto_rawDesc), len(file_flow_entities_event_proto_rawDesc)), + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_event_proto_goTypes, + DependencyIndexes: file_flow_entities_event_proto_depIdxs, + EnumInfos: file_flow_entities_event_proto_enumTypes, + MessageInfos: file_flow_entities_event_proto_msgTypes, + }.Build() + File_flow_entities_event_proto = out.File + file_flow_entities_event_proto_goTypes = nil + file_flow_entities_event_proto_depIdxs = nil } diff --git a/protobuf/go/flow/entities/execution_result.pb.go b/protobuf/go/flow/entities/execution_result.pb.go index 6a17bd2d5..9c493bf5b 100644 --- a/protobuf/go/flow/entities/execution_result.pb.go +++ b/protobuf/go/flow/entities/execution_result.pb.go @@ -1,374 +1,434 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/execution_result.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type ExecutionResult struct { - PreviousResultId []byte `protobuf:"bytes,1,opt,name=previous_result_id,json=previousResultId,proto3" json:"previous_result_id,omitempty"` - BlockId []byte `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - Chunks []*Chunk `protobuf:"bytes,3,rep,name=chunks,proto3" json:"chunks,omitempty"` - ServiceEvents []*ServiceEvent `protobuf:"bytes,4,rep,name=service_events,json=serviceEvents,proto3" json:"service_events,omitempty"` - ExecutionDataId []byte `protobuf:"bytes,5,opt,name=execution_data_id,json=executionDataId,proto3" json:"execution_data_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExecutionResult) Reset() { *m = ExecutionResult{} } -func (m *ExecutionResult) String() string { return proto.CompactTextString(m) } -func (*ExecutionResult) ProtoMessage() {} -func (*ExecutionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_806371cb5e5e336b, []int{0} + state protoimpl.MessageState `protogen:"open.v1"` + PreviousResultId []byte `protobuf:"bytes,1,opt,name=previous_result_id,json=previousResultId,proto3" json:"previous_result_id,omitempty"` + BlockId []byte `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + Chunks []*Chunk `protobuf:"bytes,3,rep,name=chunks,proto3" json:"chunks,omitempty"` + ServiceEvents []*ServiceEvent `protobuf:"bytes,4,rep,name=service_events,json=serviceEvents,proto3" json:"service_events,omitempty"` + ExecutionDataId []byte `protobuf:"bytes,5,opt,name=execution_data_id,json=executionDataId,proto3" json:"execution_data_id,omitempty"` // hash of execution data (internally partitioned chunk by chunk); + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecutionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionResult.Unmarshal(m, b) +func (x *ExecutionResult) Reset() { + *x = ExecutionResult{} + mi := &file_flow_entities_execution_result_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecutionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionResult.Marshal(b, m, deterministic) -} -func (m *ExecutionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionResult.Merge(m, src) -} -func (m *ExecutionResult) XXX_Size() int { - return xxx_messageInfo_ExecutionResult.Size(m) + +func (x *ExecutionResult) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionResult) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionResult.DiscardUnknown(m) + +func (*ExecutionResult) ProtoMessage() {} + +func (x *ExecutionResult) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_execution_result_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionResult proto.InternalMessageInfo +// Deprecated: Use ExecutionResult.ProtoReflect.Descriptor instead. +func (*ExecutionResult) Descriptor() ([]byte, []int) { + return file_flow_entities_execution_result_proto_rawDescGZIP(), []int{0} +} -func (m *ExecutionResult) GetPreviousResultId() []byte { - if m != nil { - return m.PreviousResultId +func (x *ExecutionResult) GetPreviousResultId() []byte { + if x != nil { + return x.PreviousResultId } return nil } -func (m *ExecutionResult) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *ExecutionResult) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *ExecutionResult) GetChunks() []*Chunk { - if m != nil { - return m.Chunks +func (x *ExecutionResult) GetChunks() []*Chunk { + if x != nil { + return x.Chunks } return nil } -func (m *ExecutionResult) GetServiceEvents() []*ServiceEvent { - if m != nil { - return m.ServiceEvents +func (x *ExecutionResult) GetServiceEvents() []*ServiceEvent { + if x != nil { + return x.ServiceEvents } return nil } -func (m *ExecutionResult) GetExecutionDataId() []byte { - if m != nil { - return m.ExecutionDataId +func (x *ExecutionResult) GetExecutionDataId() []byte { + if x != nil { + return x.ExecutionDataId } return nil } type Chunk struct { - CollectionIndex uint32 `protobuf:"varint,1,opt,name=CollectionIndex,proto3" json:"CollectionIndex,omitempty"` - StartState []byte `protobuf:"bytes,2,opt,name=start_state,json=startState,proto3" json:"start_state,omitempty"` - EventCollection []byte `protobuf:"bytes,3,opt,name=event_collection,json=eventCollection,proto3" json:"event_collection,omitempty"` - BlockId []byte `protobuf:"bytes,4,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - TotalComputationUsed uint64 `protobuf:"varint,5,opt,name=total_computation_used,json=totalComputationUsed,proto3" json:"total_computation_used,omitempty"` - NumberOfTransactions uint32 `protobuf:"varint,6,opt,name=number_of_transactions,json=numberOfTransactions,proto3" json:"number_of_transactions,omitempty"` - Index uint64 `protobuf:"varint,7,opt,name=index,proto3" json:"index,omitempty"` - EndState []byte `protobuf:"bytes,8,opt,name=end_state,json=endState,proto3" json:"end_state,omitempty"` - ExecutionDataId []byte `protobuf:"bytes,9,opt,name=execution_data_id,json=executionDataId,proto3" json:"execution_data_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + CollectionIndex uint32 `protobuf:"varint,1,opt,name=CollectionIndex,proto3" json:"CollectionIndex,omitempty"` + StartState []byte `protobuf:"bytes,2,opt,name=start_state,json=startState,proto3" json:"start_state,omitempty"` // state when starting executing this chunk + EventCollection []byte `protobuf:"bytes,3,opt,name=event_collection,json=eventCollection,proto3" json:"event_collection,omitempty"` // Events generated by executing results + BlockId []byte `protobuf:"bytes,4,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` // Block id of the execution result this chunk belongs to + TotalComputationUsed uint64 `protobuf:"varint,5,opt,name=total_computation_used,json=totalComputationUsed,proto3" json:"total_computation_used,omitempty"` // total amount of computation used by running all txs in this chunk + NumberOfTransactions uint32 `protobuf:"varint,6,opt,name=number_of_transactions,json=numberOfTransactions,proto3" json:"number_of_transactions,omitempty"` // number of transactions inside the collection + Index uint64 `protobuf:"varint,7,opt,name=index,proto3" json:"index,omitempty"` // chunk index inside the ER (starts from zero) + EndState []byte `protobuf:"bytes,8,opt,name=end_state,json=endState,proto3" json:"end_state,omitempty"` // EndState inferred from next chunk or from the ER + ExecutionDataId []byte `protobuf:"bytes,9,opt,name=execution_data_id,json=executionDataId,proto3" json:"execution_data_id,omitempty"` // ExecutionDataID for chunk. Currently unused and reserved for future // use. This representation has less surface for byzantine nodes to // create data inconsistencies compared to the `execution_data_id` // being included at the ExecutionResult's root level. - StateDeltaCommitment []byte `protobuf:"bytes,10,opt,name=state_delta_commitment,json=stateDeltaCommitment,proto3" json:"state_delta_commitment,omitempty"` - ServiceEventCount uint32 `protobuf:"varint,11,opt,name=service_event_count,json=serviceEventCount,proto3" json:"service_event_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + StateDeltaCommitment []byte `protobuf:"bytes,10,opt,name=state_delta_commitment,json=stateDeltaCommitment,proto3" json:"state_delta_commitment,omitempty"` // a commitment over sorted list of register changes + ServiceEventCount uint32 `protobuf:"varint,11,opt,name=service_event_count,json=serviceEventCount,proto3" json:"service_event_count,omitempty"` // number of service events emitted in this + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Chunk) Reset() { *m = Chunk{} } -func (m *Chunk) String() string { return proto.CompactTextString(m) } -func (*Chunk) ProtoMessage() {} -func (*Chunk) Descriptor() ([]byte, []int) { - return fileDescriptor_806371cb5e5e336b, []int{1} +func (x *Chunk) Reset() { + *x = Chunk{} + mi := &file_flow_entities_execution_result_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Chunk) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Chunk.Unmarshal(m, b) -} -func (m *Chunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Chunk.Marshal(b, m, deterministic) -} -func (m *Chunk) XXX_Merge(src proto.Message) { - xxx_messageInfo_Chunk.Merge(m, src) +func (x *Chunk) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Chunk) XXX_Size() int { - return xxx_messageInfo_Chunk.Size(m) -} -func (m *Chunk) XXX_DiscardUnknown() { - xxx_messageInfo_Chunk.DiscardUnknown(m) + +func (*Chunk) ProtoMessage() {} + +func (x *Chunk) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_execution_result_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Chunk proto.InternalMessageInfo +// Deprecated: Use Chunk.ProtoReflect.Descriptor instead. +func (*Chunk) Descriptor() ([]byte, []int) { + return file_flow_entities_execution_result_proto_rawDescGZIP(), []int{1} +} -func (m *Chunk) GetCollectionIndex() uint32 { - if m != nil { - return m.CollectionIndex +func (x *Chunk) GetCollectionIndex() uint32 { + if x != nil { + return x.CollectionIndex } return 0 } -func (m *Chunk) GetStartState() []byte { - if m != nil { - return m.StartState +func (x *Chunk) GetStartState() []byte { + if x != nil { + return x.StartState } return nil } -func (m *Chunk) GetEventCollection() []byte { - if m != nil { - return m.EventCollection +func (x *Chunk) GetEventCollection() []byte { + if x != nil { + return x.EventCollection } return nil } -func (m *Chunk) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *Chunk) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *Chunk) GetTotalComputationUsed() uint64 { - if m != nil { - return m.TotalComputationUsed +func (x *Chunk) GetTotalComputationUsed() uint64 { + if x != nil { + return x.TotalComputationUsed } return 0 } -func (m *Chunk) GetNumberOfTransactions() uint32 { - if m != nil { - return m.NumberOfTransactions +func (x *Chunk) GetNumberOfTransactions() uint32 { + if x != nil { + return x.NumberOfTransactions } return 0 } -func (m *Chunk) GetIndex() uint64 { - if m != nil { - return m.Index +func (x *Chunk) GetIndex() uint64 { + if x != nil { + return x.Index } return 0 } -func (m *Chunk) GetEndState() []byte { - if m != nil { - return m.EndState +func (x *Chunk) GetEndState() []byte { + if x != nil { + return x.EndState } return nil } -func (m *Chunk) GetExecutionDataId() []byte { - if m != nil { - return m.ExecutionDataId +func (x *Chunk) GetExecutionDataId() []byte { + if x != nil { + return x.ExecutionDataId } return nil } -func (m *Chunk) GetStateDeltaCommitment() []byte { - if m != nil { - return m.StateDeltaCommitment +func (x *Chunk) GetStateDeltaCommitment() []byte { + if x != nil { + return x.StateDeltaCommitment } return nil } -func (m *Chunk) GetServiceEventCount() uint32 { - if m != nil { - return m.ServiceEventCount +func (x *Chunk) GetServiceEventCount() uint32 { + if x != nil { + return x.ServiceEventCount } return 0 } type ServiceEvent struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ServiceEvent) Reset() { *m = ServiceEvent{} } -func (m *ServiceEvent) String() string { return proto.CompactTextString(m) } -func (*ServiceEvent) ProtoMessage() {} -func (*ServiceEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_806371cb5e5e336b, []int{2} +func (x *ServiceEvent) Reset() { + *x = ServiceEvent{} + mi := &file_flow_entities_execution_result_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ServiceEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceEvent.Unmarshal(m, b) +func (x *ServiceEvent) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServiceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceEvent.Marshal(b, m, deterministic) -} -func (m *ServiceEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceEvent.Merge(m, src) -} -func (m *ServiceEvent) XXX_Size() int { - return xxx_messageInfo_ServiceEvent.Size(m) -} -func (m *ServiceEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceEvent.DiscardUnknown(m) + +func (*ServiceEvent) ProtoMessage() {} + +func (x *ServiceEvent) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_execution_result_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ServiceEvent proto.InternalMessageInfo +// Deprecated: Use ServiceEvent.ProtoReflect.Descriptor instead. +func (*ServiceEvent) Descriptor() ([]byte, []int) { + return file_flow_entities_execution_result_proto_rawDescGZIP(), []int{2} +} -func (m *ServiceEvent) GetType() string { - if m != nil { - return m.Type +func (x *ServiceEvent) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *ServiceEvent) GetPayload() []byte { - if m != nil { - return m.Payload +func (x *ServiceEvent) GetPayload() []byte { + if x != nil { + return x.Payload } return nil } type ExecutionReceiptMeta struct { - ExecutorId []byte `protobuf:"bytes,1,opt,name=executor_id,json=executorId,proto3" json:"executor_id,omitempty"` - ResultId []byte `protobuf:"bytes,2,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"` - Spocks [][]byte `protobuf:"bytes,3,rep,name=spocks,proto3" json:"spocks,omitempty"` - ExecutorSignature []byte `protobuf:"bytes,4,opt,name=executor_signature,json=executorSignature,proto3" json:"executor_signature,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExecutionReceiptMeta) Reset() { *m = ExecutionReceiptMeta{} } -func (m *ExecutionReceiptMeta) String() string { return proto.CompactTextString(m) } -func (*ExecutionReceiptMeta) ProtoMessage() {} -func (*ExecutionReceiptMeta) Descriptor() ([]byte, []int) { - return fileDescriptor_806371cb5e5e336b, []int{3} + state protoimpl.MessageState `protogen:"open.v1"` + ExecutorId []byte `protobuf:"bytes,1,opt,name=executor_id,json=executorId,proto3" json:"executor_id,omitempty"` + ResultId []byte `protobuf:"bytes,2,opt,name=result_id,json=resultId,proto3" json:"result_id,omitempty"` + Spocks [][]byte `protobuf:"bytes,3,rep,name=spocks,proto3" json:"spocks,omitempty"` + ExecutorSignature []byte `protobuf:"bytes,4,opt,name=executor_signature,json=executorSignature,proto3" json:"executor_signature,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecutionReceiptMeta) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionReceiptMeta.Unmarshal(m, b) -} -func (m *ExecutionReceiptMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionReceiptMeta.Marshal(b, m, deterministic) +func (x *ExecutionReceiptMeta) Reset() { + *x = ExecutionReceiptMeta{} + mi := &file_flow_entities_execution_result_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecutionReceiptMeta) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionReceiptMeta.Merge(m, src) -} -func (m *ExecutionReceiptMeta) XXX_Size() int { - return xxx_messageInfo_ExecutionReceiptMeta.Size(m) + +func (x *ExecutionReceiptMeta) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionReceiptMeta) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionReceiptMeta.DiscardUnknown(m) + +func (*ExecutionReceiptMeta) ProtoMessage() {} + +func (x *ExecutionReceiptMeta) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_execution_result_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionReceiptMeta proto.InternalMessageInfo +// Deprecated: Use ExecutionReceiptMeta.ProtoReflect.Descriptor instead. +func (*ExecutionReceiptMeta) Descriptor() ([]byte, []int) { + return file_flow_entities_execution_result_proto_rawDescGZIP(), []int{3} +} -func (m *ExecutionReceiptMeta) GetExecutorId() []byte { - if m != nil { - return m.ExecutorId +func (x *ExecutionReceiptMeta) GetExecutorId() []byte { + if x != nil { + return x.ExecutorId } return nil } -func (m *ExecutionReceiptMeta) GetResultId() []byte { - if m != nil { - return m.ResultId +func (x *ExecutionReceiptMeta) GetResultId() []byte { + if x != nil { + return x.ResultId } return nil } -func (m *ExecutionReceiptMeta) GetSpocks() [][]byte { - if m != nil { - return m.Spocks +func (x *ExecutionReceiptMeta) GetSpocks() [][]byte { + if x != nil { + return x.Spocks } return nil } -func (m *ExecutionReceiptMeta) GetExecutorSignature() []byte { - if m != nil { - return m.ExecutorSignature +func (x *ExecutionReceiptMeta) GetExecutorSignature() []byte { + if x != nil { + return x.ExecutorSignature } return nil } -func init() { - proto.RegisterType((*ExecutionResult)(nil), "flow.entities.ExecutionResult") - proto.RegisterType((*Chunk)(nil), "flow.entities.Chunk") - proto.RegisterType((*ServiceEvent)(nil), "flow.entities.ServiceEvent") - proto.RegisterType((*ExecutionReceiptMeta)(nil), "flow.entities.ExecutionReceiptMeta") -} - -func init() { - proto.RegisterFile("flow/entities/execution_result.proto", fileDescriptor_806371cb5e5e336b) -} - -var fileDescriptor_806371cb5e5e336b = []byte{ - // 556 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x54, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0x56, 0x48, 0x9a, 0xa6, 0x93, 0x84, 0x34, 0x8b, 0x55, 0x19, 0x15, 0x89, 0x2a, 0xe2, 0x10, - 0x50, 0xb1, 0x11, 0x70, 0xe4, 0xd4, 0xb4, 0x87, 0x1c, 0x10, 0xc8, 0x81, 0x0b, 0x17, 0x6b, 0x63, - 0x4f, 0x52, 0xab, 0xce, 0xae, 0xe5, 0x1d, 0x87, 0xf6, 0x59, 0x78, 0x22, 0xde, 0x88, 0x23, 0xda, - 0xf1, 0x4f, 0x92, 0xaa, 0x97, 0x28, 0x33, 0xdf, 0x37, 0xb3, 0xf3, 0xcd, 0x8f, 0xe1, 0xcd, 0x2a, - 0xd5, 0xbf, 0x7d, 0x54, 0x94, 0x50, 0x82, 0xc6, 0xc7, 0x7b, 0x8c, 0x0a, 0x4a, 0xb4, 0x0a, 0x73, - 0x34, 0x45, 0x4a, 0x5e, 0x96, 0x6b, 0xd2, 0x62, 0x68, 0x59, 0x5e, 0xcd, 0x9a, 0xfc, 0x6b, 0xc1, - 0xe8, 0xa6, 0x66, 0x06, 0x4c, 0x14, 0x97, 0x20, 0xb2, 0x1c, 0xb7, 0x89, 0x2e, 0x4c, 0x15, 0x1b, - 0x26, 0xb1, 0xdb, 0xba, 0x68, 0x4d, 0x07, 0xc1, 0x69, 0x8d, 0x94, 0xdc, 0x79, 0x2c, 0x5e, 0x42, - 0x6f, 0x99, 0xea, 0xe8, 0xce, 0x72, 0x9e, 0x31, 0xe7, 0x98, 0xed, 0x79, 0x2c, 0x2e, 0xa1, 0x1b, - 0xdd, 0x16, 0xea, 0xce, 0xb8, 0xed, 0x8b, 0xf6, 0xb4, 0xff, 0xd1, 0xf1, 0x0e, 0x1e, 0xf7, 0x66, - 0x16, 0x0c, 0x2a, 0x8e, 0xb8, 0x82, 0xe7, 0x06, 0xf3, 0x6d, 0x12, 0x61, 0x88, 0x5b, 0x54, 0x64, - 0xdc, 0x0e, 0x47, 0x9d, 0x3f, 0x8a, 0x5a, 0x94, 0xa4, 0x1b, 0xcb, 0x09, 0x86, 0x66, 0xcf, 0x32, - 0xe2, 0x1d, 0x8c, 0x77, 0xba, 0x63, 0x49, 0xd2, 0x56, 0x75, 0xc4, 0x55, 0x8d, 0x1a, 0xe0, 0x5a, - 0x92, 0x9c, 0xc7, 0x93, 0xbf, 0x6d, 0x38, 0xe2, 0x0a, 0xc4, 0x14, 0x46, 0x33, 0x9d, 0xa6, 0x18, - 0x59, 0x74, 0xae, 0x62, 0xbc, 0x67, 0xb5, 0xc3, 0xe0, 0xb1, 0x5b, 0xbc, 0x86, 0xbe, 0x21, 0x99, - 0x53, 0x68, 0x48, 0x12, 0x56, 0x7a, 0x81, 0x5d, 0x0b, 0xeb, 0x11, 0x6f, 0xe1, 0x94, 0x8b, 0x0f, - 0xa3, 0x26, 0xd2, 0x6d, 0x57, 0xef, 0x5b, 0xff, 0x2e, 0xe1, 0x41, 0xe3, 0x3a, 0x87, 0x8d, 0xfb, - 0x0c, 0x67, 0xa4, 0x49, 0xa6, 0x61, 0xa4, 0x37, 0x59, 0x41, 0x92, 0xe5, 0x14, 0x06, 0x4b, 0x2d, - 0x9d, 0xc0, 0x61, 0x74, 0xb6, 0x03, 0x7f, 0x1a, 0xe4, 0x28, 0x55, 0x6c, 0x96, 0x98, 0x87, 0x7a, - 0x15, 0x52, 0x2e, 0x95, 0x91, 0xfc, 0x92, 0x71, 0xbb, 0xac, 0xc6, 0x29, 0xd1, 0x6f, 0xab, 0x1f, - 0x7b, 0x98, 0x70, 0xe0, 0x28, 0x61, 0xc9, 0xc7, 0x9c, 0xba, 0x34, 0xc4, 0x39, 0x9c, 0xa0, 0x8a, - 0x2b, 0x99, 0x3d, 0xae, 0xae, 0x87, 0x2a, 0x2e, 0x45, 0x3e, 0xd9, 0xe5, 0x93, 0x27, 0xbb, 0x6c, - 0x8b, 0xe2, 0x24, 0x61, 0x8c, 0x29, 0x49, 0x2b, 0x68, 0x93, 0xd0, 0x06, 0x15, 0xb9, 0xc0, 0x01, - 0x0e, 0xa3, 0xd7, 0x16, 0x9c, 0x35, 0x98, 0xf0, 0xe0, 0xc5, 0xc1, 0x2e, 0x84, 0x91, 0x2e, 0x14, - 0xb9, 0x7d, 0xd6, 0x31, 0xde, 0x9f, 0xf9, 0xcc, 0x02, 0x93, 0x2f, 0x30, 0xd8, 0x5f, 0x0b, 0x21, - 0xa0, 0x43, 0x0f, 0x19, 0xf2, 0x18, 0x4f, 0x02, 0xfe, 0x2f, 0x5c, 0x38, 0xce, 0xe4, 0x43, 0xaa, - 0x65, 0xb3, 0xa7, 0x95, 0x39, 0xf9, 0xd3, 0x02, 0x67, 0xef, 0x08, 0x22, 0x4c, 0x32, 0xfa, 0x8a, - 0x24, 0xed, 0xb8, 0x4b, 0x3d, 0x3a, 0xdf, 0x9d, 0x00, 0xd4, 0xae, 0x79, 0x6c, 0xdb, 0xb4, 0xbb, - 0x90, 0x32, 0x6b, 0x2f, 0xaf, 0x2f, 0xe3, 0x0c, 0xba, 0x26, 0xd3, 0x51, 0xb5, 0xfe, 0x83, 0xa0, - 0xb2, 0xc4, 0x7b, 0x10, 0x4d, 0x56, 0x93, 0xac, 0x95, 0xa4, 0x22, 0xc7, 0x6a, 0x05, 0xc6, 0x35, - 0xb2, 0xa8, 0x81, 0xab, 0xef, 0xf0, 0x4a, 0xe7, 0x6b, 0x4f, 0x2b, 0x3e, 0x03, 0xbe, 0xe2, 0x65, - 0xb1, 0x6a, 0xee, 0xe1, 0xd7, 0x87, 0x75, 0x42, 0xb7, 0xc5, 0xd2, 0x8b, 0xf4, 0xc6, 0x2f, 0x49, - 0x3e, 0xff, 0xd4, 0x4c, 0x7f, 0xad, 0xfd, 0x83, 0x4f, 0xc3, 0xb2, 0xcb, 0xd0, 0xa7, 0xff, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x3c, 0xd6, 0xae, 0xd9, 0x32, 0x04, 0x00, 0x00, +var File_flow_entities_execution_result_proto protoreflect.FileDescriptor + +const file_flow_entities_execution_result_proto_rawDesc = "" + + "\n" + + "$flow/entities/execution_result.proto\x12\rflow.entities\"\xf8\x01\n" + + "\x0fExecutionResult\x12,\n" + + "\x12previous_result_id\x18\x01 \x01(\fR\x10previousResultId\x12\x19\n" + + "\bblock_id\x18\x02 \x01(\fR\ablockId\x12,\n" + + "\x06chunks\x18\x03 \x03(\v2\x14.flow.entities.ChunkR\x06chunks\x12B\n" + + "\x0eservice_events\x18\x04 \x03(\v2\x1b.flow.entities.ServiceEventR\rserviceEvents\x12*\n" + + "\x11execution_data_id\x18\x05 \x01(\fR\x0fexecutionDataId\"\xc9\x03\n" + + "\x05Chunk\x12(\n" + + "\x0fCollectionIndex\x18\x01 \x01(\rR\x0fCollectionIndex\x12\x1f\n" + + "\vstart_state\x18\x02 \x01(\fR\n" + + "startState\x12)\n" + + "\x10event_collection\x18\x03 \x01(\fR\x0feventCollection\x12\x19\n" + + "\bblock_id\x18\x04 \x01(\fR\ablockId\x124\n" + + "\x16total_computation_used\x18\x05 \x01(\x04R\x14totalComputationUsed\x124\n" + + "\x16number_of_transactions\x18\x06 \x01(\rR\x14numberOfTransactions\x12\x14\n" + + "\x05index\x18\a \x01(\x04R\x05index\x12\x1b\n" + + "\tend_state\x18\b \x01(\fR\bendState\x12*\n" + + "\x11execution_data_id\x18\t \x01(\fR\x0fexecutionDataId\x124\n" + + "\x16state_delta_commitment\x18\n" + + " \x01(\fR\x14stateDeltaCommitment\x12.\n" + + "\x13service_event_count\x18\v \x01(\rR\x11serviceEventCount\"<\n" + + "\fServiceEvent\x12\x12\n" + + "\x04type\x18\x01 \x01(\tR\x04type\x12\x18\n" + + "\apayload\x18\x02 \x01(\fR\apayload\"\x9b\x01\n" + + "\x14ExecutionReceiptMeta\x12\x1f\n" + + "\vexecutor_id\x18\x01 \x01(\fR\n" + + "executorId\x12\x1b\n" + + "\tresult_id\x18\x02 \x01(\fR\bresultId\x12\x16\n" + + "\x06spocks\x18\x03 \x03(\fR\x06spocks\x12-\n" + + "\x12executor_signature\x18\x04 \x01(\fR\x11executorSignatureBP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_execution_result_proto_rawDescOnce sync.Once + file_flow_entities_execution_result_proto_rawDescData []byte +) + +func file_flow_entities_execution_result_proto_rawDescGZIP() []byte { + file_flow_entities_execution_result_proto_rawDescOnce.Do(func() { + file_flow_entities_execution_result_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_execution_result_proto_rawDesc), len(file_flow_entities_execution_result_proto_rawDesc))) + }) + return file_flow_entities_execution_result_proto_rawDescData +} + +var file_flow_entities_execution_result_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_flow_entities_execution_result_proto_goTypes = []any{ + (*ExecutionResult)(nil), // 0: flow.entities.ExecutionResult + (*Chunk)(nil), // 1: flow.entities.Chunk + (*ServiceEvent)(nil), // 2: flow.entities.ServiceEvent + (*ExecutionReceiptMeta)(nil), // 3: flow.entities.ExecutionReceiptMeta +} +var file_flow_entities_execution_result_proto_depIdxs = []int32{ + 1, // 0: flow.entities.ExecutionResult.chunks:type_name -> flow.entities.Chunk + 2, // 1: flow.entities.ExecutionResult.service_events:type_name -> flow.entities.ServiceEvent + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_flow_entities_execution_result_proto_init() } +func file_flow_entities_execution_result_proto_init() { + if File_flow_entities_execution_result_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_execution_result_proto_rawDesc), len(file_flow_entities_execution_result_proto_rawDesc)), + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_execution_result_proto_goTypes, + DependencyIndexes: file_flow_entities_execution_result_proto_depIdxs, + MessageInfos: file_flow_entities_execution_result_proto_msgTypes, + }.Build() + File_flow_entities_execution_result_proto = out.File + file_flow_entities_execution_result_proto_goTypes = nil + file_flow_entities_execution_result_proto_depIdxs = nil } diff --git a/protobuf/go/flow/entities/execution_state.pb.go b/protobuf/go/flow/entities/execution_state.pb.go index 2df823ae0..56084f8c4 100644 --- a/protobuf/go/flow/entities/execution_state.pb.go +++ b/protobuf/go/flow/entities/execution_state.pb.go @@ -1,109 +1,147 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/execution_state.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // ExecutionStateQuery defines the criteria to use when selecting the // ExecutionResult to use for the requested data. type ExecutionStateQuery struct { + state protoimpl.MessageState `protogen:"open.v1"` // Minimum number of execution receipts for the execution result. AgreeingExecutorsCount uint64 `protobuf:"varint,1,opt,name=agreeing_executors_count,json=agreeingExecutorsCount,proto3" json:"agreeing_executors_count,omitempty"` // Set of execution node IDs, one of which must have produced the execution // result. RequiredExecutorIds [][]byte `protobuf:"bytes,2,rep,name=required_executor_ids,json=requiredExecutorIds,proto3" json:"required_executor_ids,omitempty"` // Whether or not to include ExecutorMetadata in the response. - IncludeExecutorMetadata bool `protobuf:"varint,3,opt,name=include_executor_metadata,json=includeExecutorMetadata,proto3" json:"include_executor_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IncludeExecutorMetadata bool `protobuf:"varint,3,opt,name=include_executor_metadata,json=includeExecutorMetadata,proto3" json:"include_executor_metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecutionStateQuery) Reset() { *m = ExecutionStateQuery{} } -func (m *ExecutionStateQuery) String() string { return proto.CompactTextString(m) } -func (*ExecutionStateQuery) ProtoMessage() {} -func (*ExecutionStateQuery) Descriptor() ([]byte, []int) { - return fileDescriptor_43ff30d860a101d2, []int{0} +func (x *ExecutionStateQuery) Reset() { + *x = ExecutionStateQuery{} + mi := &file_flow_entities_execution_state_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecutionStateQuery) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutionStateQuery.Unmarshal(m, b) -} -func (m *ExecutionStateQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutionStateQuery.Marshal(b, m, deterministic) -} -func (m *ExecutionStateQuery) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutionStateQuery.Merge(m, src) +func (x *ExecutionStateQuery) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutionStateQuery) XXX_Size() int { - return xxx_messageInfo_ExecutionStateQuery.Size(m) -} -func (m *ExecutionStateQuery) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutionStateQuery.DiscardUnknown(m) + +func (*ExecutionStateQuery) ProtoMessage() {} + +func (x *ExecutionStateQuery) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_execution_state_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutionStateQuery proto.InternalMessageInfo +// Deprecated: Use ExecutionStateQuery.ProtoReflect.Descriptor instead. +func (*ExecutionStateQuery) Descriptor() ([]byte, []int) { + return file_flow_entities_execution_state_proto_rawDescGZIP(), []int{0} +} -func (m *ExecutionStateQuery) GetAgreeingExecutorsCount() uint64 { - if m != nil { - return m.AgreeingExecutorsCount +func (x *ExecutionStateQuery) GetAgreeingExecutorsCount() uint64 { + if x != nil { + return x.AgreeingExecutorsCount } return 0 } -func (m *ExecutionStateQuery) GetRequiredExecutorIds() [][]byte { - if m != nil { - return m.RequiredExecutorIds +func (x *ExecutionStateQuery) GetRequiredExecutorIds() [][]byte { + if x != nil { + return x.RequiredExecutorIds } return nil } -func (m *ExecutionStateQuery) GetIncludeExecutorMetadata() bool { - if m != nil { - return m.IncludeExecutorMetadata +func (x *ExecutionStateQuery) GetIncludeExecutorMetadata() bool { + if x != nil { + return x.IncludeExecutorMetadata } return false } -func init() { - proto.RegisterType((*ExecutionStateQuery)(nil), "flow.entities.ExecutionStateQuery") +var File_flow_entities_execution_state_proto protoreflect.FileDescriptor + +const file_flow_entities_execution_state_proto_rawDesc = "" + + "\n" + + "#flow/entities/execution_state.proto\x12\rflow.entities\"\xbf\x01\n" + + "\x13ExecutionStateQuery\x128\n" + + "\x18agreeing_executors_count\x18\x01 \x01(\x04R\x16agreeingExecutorsCount\x122\n" + + "\x15required_executor_ids\x18\x02 \x03(\fR\x13requiredExecutorIds\x12:\n" + + "\x19include_executor_metadata\x18\x03 \x01(\bR\x17includeExecutorMetadataBP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_execution_state_proto_rawDescOnce sync.Once + file_flow_entities_execution_state_proto_rawDescData []byte +) + +func file_flow_entities_execution_state_proto_rawDescGZIP() []byte { + file_flow_entities_execution_state_proto_rawDescOnce.Do(func() { + file_flow_entities_execution_state_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_execution_state_proto_rawDesc), len(file_flow_entities_execution_state_proto_rawDesc))) + }) + return file_flow_entities_execution_state_proto_rawDescData } -func init() { - proto.RegisterFile("flow/entities/execution_state.proto", fileDescriptor_43ff30d860a101d2) +var file_flow_entities_execution_state_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flow_entities_execution_state_proto_goTypes = []any{ + (*ExecutionStateQuery)(nil), // 0: flow.entities.ExecutionStateQuery +} +var file_flow_entities_execution_state_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } -var fileDescriptor_43ff30d860a101d2 = []byte{ - // 237 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x31, 0x4b, 0xc4, 0x40, - 0x10, 0x46, 0x89, 0x27, 0x22, 0x8b, 0x36, 0x39, 0xd4, 0x08, 0x16, 0x41, 0x9b, 0x54, 0x59, 0xd1, - 0x46, 0x2c, 0x95, 0x2b, 0x2c, 0x04, 0x8d, 0x9d, 0x4d, 0xd8, 0x64, 0xe7, 0xd6, 0x81, 0xbb, 0x1d, - 0xdd, 0x9d, 0x45, 0xfd, 0x75, 0xfe, 0x35, 0x49, 0xee, 0x26, 0x62, 0xb3, 0xcd, 0x7b, 0x6f, 0xe1, - 0x1b, 0x75, 0xb1, 0x5c, 0xd1, 0xa7, 0x06, 0xcf, 0xc8, 0x08, 0x51, 0xc3, 0x17, 0xf4, 0x89, 0x91, - 0x7c, 0x1b, 0xd9, 0x30, 0xd4, 0xef, 0x81, 0x98, 0xf2, 0xc3, 0x41, 0xaa, 0x45, 0x3a, 0xff, 0xc9, - 0xd4, 0x7c, 0x21, 0xe2, 0xcb, 0xe0, 0x3d, 0x27, 0x08, 0xdf, 0xf9, 0x8d, 0x2a, 0x8c, 0x0b, 0x00, - 0xe8, 0x5d, 0xbb, 0xf9, 0x88, 0x42, 0x6c, 0x7b, 0x4a, 0x9e, 0x8b, 0xac, 0xcc, 0xaa, 0xdd, 0xe6, - 0x58, 0xf8, 0x42, 0xf0, 0xfd, 0x40, 0xf3, 0x2b, 0x75, 0x14, 0xe0, 0x23, 0x61, 0x00, 0x3b, 0x95, - 0x2d, 0xda, 0x58, 0xec, 0x94, 0xb3, 0xea, 0xa0, 0x99, 0x0b, 0x94, 0xec, 0xc1, 0xc6, 0xfc, 0x56, - 0x9d, 0xa2, 0xef, 0x57, 0xc9, 0xc2, 0x5f, 0xb2, 0x06, 0x36, 0xd6, 0xb0, 0x29, 0x66, 0x65, 0x56, - 0xed, 0x37, 0x27, 0x5b, 0x41, 0xb2, 0xc7, 0x2d, 0xbe, 0x7b, 0x52, 0x67, 0x14, 0x5c, 0x4d, 0x7e, - 0x1c, 0x36, 0x8e, 0xec, 0xd2, 0x72, 0x5a, 0xf8, 0x7a, 0xe9, 0x90, 0xdf, 0x52, 0x57, 0xf7, 0xb4, - 0xd6, 0x1b, 0x49, 0x8f, 0x8f, 0x98, 0xda, 0x91, 0xfe, 0x77, 0xb8, 0x6e, 0x6f, 0x44, 0xd7, 0xbf, - 0x01, 0x00, 0x00, 0xff, 0xff, 0xa4, 0x9c, 0x97, 0x0c, 0x50, 0x01, 0x00, 0x00, +func init() { file_flow_entities_execution_state_proto_init() } +func file_flow_entities_execution_state_proto_init() { + if File_flow_entities_execution_state_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_execution_state_proto_rawDesc), len(file_flow_entities_execution_state_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_execution_state_proto_goTypes, + DependencyIndexes: file_flow_entities_execution_state_proto_depIdxs, + MessageInfos: file_flow_entities_execution_state_proto_msgTypes, + }.Build() + File_flow_entities_execution_state_proto = out.File + file_flow_entities_execution_state_proto_goTypes = nil + file_flow_entities_execution_state_proto_depIdxs = nil } diff --git a/protobuf/go/flow/entities/metadata.pb.go b/protobuf/go/flow/entities/metadata.pb.go index b9758c348..9e78830f7 100644 --- a/protobuf/go/flow/entities/metadata.pb.go +++ b/protobuf/go/flow/entities/metadata.pb.go @@ -1,78 +1,85 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/metadata.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // ExecutorMetadata contains data about the execution result used to serve the // request. type ExecutorMetadata struct { + state protoimpl.MessageState `protogen:"open.v1"` // ID of the ExecutionResult used to serve the request ExecutionResultId []byte `protobuf:"bytes,1,opt,name=execution_result_id,json=executionResultId,proto3" json:"execution_result_id,omitempty"` // Node IDs of Execution nodes that produced the result - ExecutorIds [][]byte `protobuf:"bytes,2,rep,name=executor_ids,json=executorIds,proto3" json:"executor_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutorIds [][]byte `protobuf:"bytes,2,rep,name=executor_ids,json=executorIds,proto3" json:"executor_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecutorMetadata) Reset() { *m = ExecutorMetadata{} } -func (m *ExecutorMetadata) String() string { return proto.CompactTextString(m) } -func (*ExecutorMetadata) ProtoMessage() {} -func (*ExecutorMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_f6b3c67afa624bc0, []int{0} +func (x *ExecutorMetadata) Reset() { + *x = ExecutorMetadata{} + mi := &file_flow_entities_metadata_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecutorMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecutorMetadata.Unmarshal(m, b) -} -func (m *ExecutorMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecutorMetadata.Marshal(b, m, deterministic) +func (x *ExecutorMetadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecutorMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecutorMetadata.Merge(m, src) -} -func (m *ExecutorMetadata) XXX_Size() int { - return xxx_messageInfo_ExecutorMetadata.Size(m) -} -func (m *ExecutorMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ExecutorMetadata.DiscardUnknown(m) + +func (*ExecutorMetadata) ProtoMessage() {} + +func (x *ExecutorMetadata) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_metadata_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecutorMetadata proto.InternalMessageInfo +// Deprecated: Use ExecutorMetadata.ProtoReflect.Descriptor instead. +func (*ExecutorMetadata) Descriptor() ([]byte, []int) { + return file_flow_entities_metadata_proto_rawDescGZIP(), []int{0} +} -func (m *ExecutorMetadata) GetExecutionResultId() []byte { - if m != nil { - return m.ExecutionResultId +func (x *ExecutorMetadata) GetExecutionResultId() []byte { + if x != nil { + return x.ExecutionResultId } return nil } -func (m *ExecutorMetadata) GetExecutorIds() [][]byte { - if m != nil { - return m.ExecutorIds +func (x *ExecutorMetadata) GetExecutorIds() [][]byte { + if x != nil { + return x.ExecutorIds } return nil } // Metadata contains data about the node's state at the time of the request. type Metadata struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the latest finalized block LatestFinalizedBlockId []byte `protobuf:"bytes,1,opt,name=latest_finalized_block_id,json=latestFinalizedBlockId,proto3" json:"latest_finalized_block_id,omitempty"` // Height of the latest finalized block @@ -82,99 +89,138 @@ type Metadata struct { // Height of the latest block who's execution state data is fully indexed HighestIndexedHeight uint64 `protobuf:"varint,4,opt,name=highest_indexed_height,json=highestIndexedHeight,proto3" json:"highest_indexed_height,omitempty"` // Metadata about the execution result used to serve the request. - ExecutorMetadata *ExecutorMetadata `protobuf:"bytes,5,opt,name=executor_metadata,json=executorMetadata,proto3" json:"executor_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutorMetadata *ExecutorMetadata `protobuf:"bytes,5,opt,name=executor_metadata,json=executorMetadata,proto3" json:"executor_metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Metadata) Reset() { *m = Metadata{} } -func (m *Metadata) String() string { return proto.CompactTextString(m) } -func (*Metadata) ProtoMessage() {} -func (*Metadata) Descriptor() ([]byte, []int) { - return fileDescriptor_f6b3c67afa624bc0, []int{1} +func (x *Metadata) Reset() { + *x = Metadata{} + mi := &file_flow_entities_metadata_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Metadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Metadata.Unmarshal(m, b) -} -func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Metadata.Marshal(b, m, deterministic) -} -func (m *Metadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metadata.Merge(m, src) +func (x *Metadata) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Metadata) XXX_Size() int { - return xxx_messageInfo_Metadata.Size(m) -} -func (m *Metadata) XXX_DiscardUnknown() { - xxx_messageInfo_Metadata.DiscardUnknown(m) + +func (*Metadata) ProtoMessage() {} + +func (x *Metadata) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_metadata_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Metadata proto.InternalMessageInfo +// Deprecated: Use Metadata.ProtoReflect.Descriptor instead. +func (*Metadata) Descriptor() ([]byte, []int) { + return file_flow_entities_metadata_proto_rawDescGZIP(), []int{1} +} -func (m *Metadata) GetLatestFinalizedBlockId() []byte { - if m != nil { - return m.LatestFinalizedBlockId +func (x *Metadata) GetLatestFinalizedBlockId() []byte { + if x != nil { + return x.LatestFinalizedBlockId } return nil } -func (m *Metadata) GetLatestFinalizedHeight() uint64 { - if m != nil { - return m.LatestFinalizedHeight +func (x *Metadata) GetLatestFinalizedHeight() uint64 { + if x != nil { + return x.LatestFinalizedHeight } return 0 } -func (m *Metadata) GetNodeId() []byte { - if m != nil { - return m.NodeId +func (x *Metadata) GetNodeId() []byte { + if x != nil { + return x.NodeId } return nil } -func (m *Metadata) GetHighestIndexedHeight() uint64 { - if m != nil { - return m.HighestIndexedHeight +func (x *Metadata) GetHighestIndexedHeight() uint64 { + if x != nil { + return x.HighestIndexedHeight } return 0 } -func (m *Metadata) GetExecutorMetadata() *ExecutorMetadata { - if m != nil { - return m.ExecutorMetadata +func (x *Metadata) GetExecutorMetadata() *ExecutorMetadata { + if x != nil { + return x.ExecutorMetadata } return nil } -func init() { - proto.RegisterType((*ExecutorMetadata)(nil), "flow.entities.ExecutorMetadata") - proto.RegisterType((*Metadata)(nil), "flow.entities.Metadata") -} - -func init() { proto.RegisterFile("flow/entities/metadata.proto", fileDescriptor_f6b3c67afa624bc0) } - -var fileDescriptor_f6b3c67afa624bc0 = []byte{ - // 313 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xcf, 0x4a, 0xc3, 0x40, - 0x10, 0x87, 0x49, 0x5a, 0xab, 0x6c, 0x23, 0xb4, 0xab, 0xb6, 0x11, 0x0a, 0xc6, 0x9e, 0x72, 0xda, - 0x15, 0x15, 0xc1, 0x6b, 0x41, 0x31, 0xa0, 0x20, 0x39, 0x7a, 0x09, 0x49, 0x76, 0x92, 0x2c, 0xa6, - 0xbb, 0x92, 0x6c, 0xb0, 0xf8, 0x28, 0x3e, 0xad, 0x64, 0xf3, 0xa7, 0x34, 0x5e, 0x02, 0x99, 0xef, - 0x37, 0xdf, 0xb0, 0x33, 0x68, 0x95, 0xe4, 0xf2, 0x9b, 0x82, 0x50, 0x5c, 0x71, 0x28, 0xe9, 0x16, - 0x54, 0xc8, 0x42, 0x15, 0x92, 0xaf, 0x42, 0x2a, 0x89, 0x4f, 0x6b, 0x4a, 0x3a, 0xba, 0x06, 0x34, - 0x7b, 0xda, 0x41, 0x5c, 0x29, 0x59, 0xbc, 0xb5, 0x41, 0x4c, 0xd0, 0x19, 0xe8, 0x1a, 0x97, 0x22, - 0x28, 0xa0, 0xac, 0x72, 0x15, 0x70, 0x66, 0x1b, 0x8e, 0xe1, 0x5a, 0xfe, 0xbc, 0x47, 0xbe, 0x26, - 0x1e, 0xc3, 0xd7, 0xc8, 0x82, 0xd6, 0x11, 0x70, 0x56, 0xda, 0xa6, 0x33, 0x72, 0x2d, 0x7f, 0xda, - 0xd5, 0x3c, 0x56, 0xae, 0x7f, 0x4d, 0x74, 0xd2, 0xfb, 0x1f, 0xd1, 0x65, 0x1e, 0x2a, 0x28, 0x55, - 0x90, 0x70, 0x11, 0xe6, 0xfc, 0x07, 0x58, 0x10, 0xe5, 0x32, 0xfe, 0xdc, 0x4f, 0x59, 0x34, 0x81, - 0xe7, 0x8e, 0x6f, 0x6a, 0xec, 0x31, 0xfc, 0x80, 0x96, 0xff, 0x5a, 0x33, 0xe0, 0x69, 0xa6, 0x6c, - 0xd3, 0x31, 0xdc, 0xb1, 0x7f, 0x31, 0x68, 0x7c, 0xd1, 0x10, 0x2f, 0xd1, 0xb1, 0x90, 0x0c, 0xea, - 0x01, 0x23, 0x3d, 0x60, 0x52, 0xff, 0x7a, 0x0c, 0xdf, 0xa3, 0x45, 0xc6, 0xd3, 0xac, 0x36, 0x72, - 0xc1, 0x60, 0xb7, 0xf7, 0x8d, 0xb5, 0xef, 0xbc, 0xa5, 0x5e, 0x03, 0x5b, 0xdd, 0x2b, 0x9a, 0xf7, - 0x2f, 0xee, 0xf6, 0x6b, 0x1f, 0x39, 0x86, 0x3b, 0xbd, 0xbd, 0x22, 0x07, 0x0b, 0x26, 0xc3, 0xed, - 0xfa, 0x33, 0x18, 0x54, 0x36, 0xef, 0x68, 0x25, 0x8b, 0x94, 0x48, 0xa1, 0x3b, 0xf5, 0x99, 0xa2, - 0x2a, 0xe9, 0x15, 0x1f, 0x37, 0x29, 0x57, 0x59, 0x15, 0x91, 0x58, 0x6e, 0x69, 0x13, 0xa2, 0xfa, - 0xd3, 0x25, 0x69, 0x2a, 0xe9, 0xc1, 0xcd, 0xa3, 0x89, 0x46, 0x77, 0x7f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x6c, 0x0d, 0xf0, 0x39, 0x0b, 0x02, 0x00, 0x00, +var File_flow_entities_metadata_proto protoreflect.FileDescriptor + +const file_flow_entities_metadata_proto_rawDesc = "" + + "\n" + + "\x1cflow/entities/metadata.proto\x12\rflow.entities\"e\n" + + "\x10ExecutorMetadata\x12.\n" + + "\x13execution_result_id\x18\x01 \x01(\fR\x11executionResultId\x12!\n" + + "\fexecutor_ids\x18\x02 \x03(\fR\vexecutorIds\"\x9a\x02\n" + + "\bMetadata\x129\n" + + "\x19latest_finalized_block_id\x18\x01 \x01(\fR\x16latestFinalizedBlockId\x126\n" + + "\x17latest_finalized_height\x18\x02 \x01(\x04R\x15latestFinalizedHeight\x12\x17\n" + + "\anode_id\x18\x03 \x01(\fR\x06nodeId\x124\n" + + "\x16highest_indexed_height\x18\x04 \x01(\x04R\x14highestIndexedHeight\x12L\n" + + "\x11executor_metadata\x18\x05 \x01(\v2\x1f.flow.entities.ExecutorMetadataR\x10executorMetadataBP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_metadata_proto_rawDescOnce sync.Once + file_flow_entities_metadata_proto_rawDescData []byte +) + +func file_flow_entities_metadata_proto_rawDescGZIP() []byte { + file_flow_entities_metadata_proto_rawDescOnce.Do(func() { + file_flow_entities_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_metadata_proto_rawDesc), len(file_flow_entities_metadata_proto_rawDesc))) + }) + return file_flow_entities_metadata_proto_rawDescData +} + +var file_flow_entities_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_flow_entities_metadata_proto_goTypes = []any{ + (*ExecutorMetadata)(nil), // 0: flow.entities.ExecutorMetadata + (*Metadata)(nil), // 1: flow.entities.Metadata +} +var file_flow_entities_metadata_proto_depIdxs = []int32{ + 0, // 0: flow.entities.Metadata.executor_metadata:type_name -> flow.entities.ExecutorMetadata + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_flow_entities_metadata_proto_init() } +func file_flow_entities_metadata_proto_init() { + if File_flow_entities_metadata_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_metadata_proto_rawDesc), len(file_flow_entities_metadata_proto_rawDesc)), + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_metadata_proto_goTypes, + DependencyIndexes: file_flow_entities_metadata_proto_depIdxs, + MessageInfos: file_flow_entities_metadata_proto_msgTypes, + }.Build() + File_flow_entities_metadata_proto = out.File + file_flow_entities_metadata_proto_goTypes = nil + file_flow_entities_metadata_proto_depIdxs = nil } diff --git a/protobuf/go/flow/entities/node_version_info.pb.go b/protobuf/go/flow/entities/node_version_info.pb.go index 1f9b2c74c..75fc973f2 100644 --- a/protobuf/go/flow/entities/node_version_info.pb.go +++ b/protobuf/go/flow/entities/node_version_info.pb.go @@ -1,75 +1,82 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/node_version_info.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type CompatibleRange struct { + state protoimpl.MessageState `protogen:"open.v1"` // The first block that the version supports. StartHeight uint64 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` // The last block that the version supports. - EndHeight uint64 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EndHeight uint64 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *CompatibleRange) Reset() { *m = CompatibleRange{} } -func (m *CompatibleRange) String() string { return proto.CompactTextString(m) } -func (*CompatibleRange) ProtoMessage() {} -func (*CompatibleRange) Descriptor() ([]byte, []int) { - return fileDescriptor_ff9e447351cb4a8a, []int{0} +func (x *CompatibleRange) Reset() { + *x = CompatibleRange{} + mi := &file_flow_entities_node_version_info_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *CompatibleRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompatibleRange.Unmarshal(m, b) -} -func (m *CompatibleRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompatibleRange.Marshal(b, m, deterministic) +func (x *CompatibleRange) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CompatibleRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompatibleRange.Merge(m, src) -} -func (m *CompatibleRange) XXX_Size() int { - return xxx_messageInfo_CompatibleRange.Size(m) -} -func (m *CompatibleRange) XXX_DiscardUnknown() { - xxx_messageInfo_CompatibleRange.DiscardUnknown(m) + +func (*CompatibleRange) ProtoMessage() {} + +func (x *CompatibleRange) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_node_version_info_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CompatibleRange proto.InternalMessageInfo +// Deprecated: Use CompatibleRange.ProtoReflect.Descriptor instead. +func (*CompatibleRange) Descriptor() ([]byte, []int) { + return file_flow_entities_node_version_info_proto_rawDescGZIP(), []int{0} +} -func (m *CompatibleRange) GetStartHeight() uint64 { - if m != nil { - return m.StartHeight +func (x *CompatibleRange) GetStartHeight() uint64 { + if x != nil { + return x.StartHeight } return 0 } -func (m *CompatibleRange) GetEndHeight() uint64 { - if m != nil { - return m.EndHeight +func (x *CompatibleRange) GetEndHeight() uint64 { + if x != nil { + return x.EndHeight } return 0 } type NodeVersionInfo struct { + state protoimpl.MessageState `protogen:"open.v1"` // The currently running node software version. Semver string `protobuf:"bytes,1,opt,name=semver,proto3" json:"semver,omitempty"` // The git commit hash of the currently running node software. @@ -79,7 +86,9 @@ type NodeVersionInfo struct { // The deprecated protocol version number. // Previously this referred to the major software version as of the most // recent spork. Replaced by protocol_state_version. - ProtocolVersion uint64 `protobuf:"varint,4,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Marked as deprecated in flow/entities/node_version_info.proto. + ProtocolVersion uint64 `protobuf:"varint,4,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` // The spork root block height. This is the height of the first sealed block // in the spork network. SporkRootBlockHeight uint64 `protobuf:"varint,5,opt,name=spork_root_block_height,json=sporkRootBlockHeight,proto3" json:"spork_root_block_height,omitempty"` @@ -94,126 +103,164 @@ type NodeVersionInfo struct { // This tracks the schema version of the Protocol State and is used to // coordinate breaking changes in the Protocol. Version numbers are // monotonically increasing. - ProtocolStateVersion uint64 `protobuf:"varint,8,opt,name=protocol_state_version,json=protocolStateVersion,proto3" json:"protocol_state_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ProtocolStateVersion uint64 `protobuf:"varint,8,opt,name=protocol_state_version,json=protocolStateVersion,proto3" json:"protocol_state_version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *NodeVersionInfo) Reset() { *m = NodeVersionInfo{} } -func (m *NodeVersionInfo) String() string { return proto.CompactTextString(m) } -func (*NodeVersionInfo) ProtoMessage() {} -func (*NodeVersionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ff9e447351cb4a8a, []int{1} +func (x *NodeVersionInfo) Reset() { + *x = NodeVersionInfo{} + mi := &file_flow_entities_node_version_info_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *NodeVersionInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeVersionInfo.Unmarshal(m, b) -} -func (m *NodeVersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeVersionInfo.Marshal(b, m, deterministic) -} -func (m *NodeVersionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeVersionInfo.Merge(m, src) -} -func (m *NodeVersionInfo) XXX_Size() int { - return xxx_messageInfo_NodeVersionInfo.Size(m) +func (x *NodeVersionInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeVersionInfo) XXX_DiscardUnknown() { - xxx_messageInfo_NodeVersionInfo.DiscardUnknown(m) + +func (*NodeVersionInfo) ProtoMessage() {} + +func (x *NodeVersionInfo) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_node_version_info_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeVersionInfo proto.InternalMessageInfo +// Deprecated: Use NodeVersionInfo.ProtoReflect.Descriptor instead. +func (*NodeVersionInfo) Descriptor() ([]byte, []int) { + return file_flow_entities_node_version_info_proto_rawDescGZIP(), []int{1} +} -func (m *NodeVersionInfo) GetSemver() string { - if m != nil { - return m.Semver +func (x *NodeVersionInfo) GetSemver() string { + if x != nil { + return x.Semver } return "" } -func (m *NodeVersionInfo) GetCommit() string { - if m != nil { - return m.Commit +func (x *NodeVersionInfo) GetCommit() string { + if x != nil { + return x.Commit } return "" } -func (m *NodeVersionInfo) GetSporkId() []byte { - if m != nil { - return m.SporkId +func (x *NodeVersionInfo) GetSporkId() []byte { + if x != nil { + return x.SporkId } return nil } -// Deprecated: Do not use. -func (m *NodeVersionInfo) GetProtocolVersion() uint64 { - if m != nil { - return m.ProtocolVersion +// Deprecated: Marked as deprecated in flow/entities/node_version_info.proto. +func (x *NodeVersionInfo) GetProtocolVersion() uint64 { + if x != nil { + return x.ProtocolVersion } return 0 } -func (m *NodeVersionInfo) GetSporkRootBlockHeight() uint64 { - if m != nil { - return m.SporkRootBlockHeight +func (x *NodeVersionInfo) GetSporkRootBlockHeight() uint64 { + if x != nil { + return x.SporkRootBlockHeight } return 0 } -func (m *NodeVersionInfo) GetNodeRootBlockHeight() uint64 { - if m != nil { - return m.NodeRootBlockHeight +func (x *NodeVersionInfo) GetNodeRootBlockHeight() uint64 { + if x != nil { + return x.NodeRootBlockHeight } return 0 } -func (m *NodeVersionInfo) GetCompatibleRange() *CompatibleRange { - if m != nil { - return m.CompatibleRange +func (x *NodeVersionInfo) GetCompatibleRange() *CompatibleRange { + if x != nil { + return x.CompatibleRange } return nil } -func (m *NodeVersionInfo) GetProtocolStateVersion() uint64 { - if m != nil { - return m.ProtocolStateVersion +func (x *NodeVersionInfo) GetProtocolStateVersion() uint64 { + if x != nil { + return x.ProtocolStateVersion } return 0 } -func init() { - proto.RegisterType((*CompatibleRange)(nil), "flow.entities.CompatibleRange") - proto.RegisterType((*NodeVersionInfo)(nil), "flow.entities.NodeVersionInfo") -} - -func init() { - proto.RegisterFile("flow/entities/node_version_info.proto", fileDescriptor_ff9e447351cb4a8a) -} - -var fileDescriptor_ff9e447351cb4a8a = []byte{ - // 359 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0xcb, 0x6a, 0xe3, 0x40, - 0x10, 0x44, 0x5e, 0xaf, 0x1f, 0x6d, 0x2f, 0x32, 0xda, 0xc5, 0xab, 0x40, 0x12, 0x1c, 0x43, 0xc0, - 0x97, 0x48, 0x21, 0x4e, 0x7e, 0xc0, 0xb9, 0xc4, 0x97, 0x10, 0xc6, 0x90, 0x43, 0x2e, 0x42, 0x8f, - 0x91, 0x3c, 0x58, 0x9a, 0x36, 0xa3, 0xb1, 0xf3, 0xeb, 0x39, 0x06, 0xb5, 0x34, 0x02, 0x3b, 0x17, - 0x41, 0x77, 0x55, 0x77, 0x57, 0xd5, 0x08, 0x6e, 0xd3, 0x1c, 0x3f, 0x7d, 0x2e, 0xb5, 0xd0, 0x82, - 0x97, 0xbe, 0xc4, 0x84, 0x07, 0x47, 0xae, 0x4a, 0x81, 0x32, 0x10, 0x32, 0x45, 0x6f, 0xaf, 0x50, - 0xa3, 0xf3, 0xa7, 0xa2, 0x79, 0x86, 0x36, 0xdf, 0x80, 0xfd, 0x8c, 0xc5, 0x3e, 0xd4, 0x22, 0xca, - 0x39, 0x0b, 0x65, 0xc6, 0x9d, 0x1b, 0x18, 0x97, 0x3a, 0x54, 0x3a, 0xd8, 0x72, 0x91, 0x6d, 0xb5, - 0x6b, 0xcd, 0xac, 0x45, 0x97, 0x8d, 0xa8, 0xf7, 0x42, 0x2d, 0xe7, 0x0a, 0x80, 0xcb, 0xc4, 0x10, - 0x3a, 0x44, 0x18, 0x72, 0x99, 0xd4, 0xf0, 0xfc, 0xab, 0x03, 0xf6, 0x2b, 0x26, 0xfc, 0xbd, 0x3e, - 0xbf, 0x96, 0x29, 0x3a, 0x53, 0xe8, 0x95, 0xbc, 0x38, 0x72, 0x45, 0xfb, 0x86, 0xac, 0xa9, 0xaa, - 0x7e, 0x8c, 0x45, 0x21, 0xea, 0x35, 0x43, 0xd6, 0x54, 0xce, 0x05, 0x0c, 0xca, 0x3d, 0xaa, 0x5d, - 0x20, 0x12, 0xf7, 0xd7, 0xcc, 0x5a, 0x8c, 0x59, 0x9f, 0xea, 0x75, 0xe2, 0xdc, 0xc1, 0x84, 0xbc, - 0xc4, 0x98, 0x1b, 0x87, 0x6e, 0xb7, 0xd2, 0xb0, 0xea, 0xb8, 0x16, 0xb3, 0x0d, 0xd6, 0x5c, 0x77, - 0x9e, 0xe0, 0x7f, 0xbd, 0x49, 0x21, 0xea, 0x20, 0xca, 0x31, 0xde, 0x19, 0xe5, 0xbf, 0x49, 0xf9, - 0x3f, 0x82, 0x19, 0xa2, 0x5e, 0x55, 0x60, 0xe3, 0x71, 0x09, 0x53, 0xca, 0xf0, 0xe7, 0x54, 0x8f, - 0xa6, 0xfe, 0x56, 0xe8, 0xf9, 0xd0, 0x1a, 0x26, 0x71, 0x1b, 0x67, 0xa0, 0xaa, 0x3c, 0xdd, 0xfe, - 0xcc, 0x5a, 0x8c, 0x1e, 0xae, 0xbd, 0x93, 0xe0, 0xbd, 0xb3, 0xd4, 0x99, 0x1d, 0x9f, 0x3d, 0xc3, - 0x23, 0x4c, 0x5b, 0x97, 0xa5, 0x0e, 0x75, 0xfb, 0x9a, 0xee, 0xa0, 0x56, 0x6d, 0xd0, 0x4d, 0x05, - 0x36, 0x66, 0x57, 0x6f, 0x70, 0x89, 0x2a, 0xf3, 0x50, 0xd2, 0x35, 0xa2, 0x44, 0x87, 0xb4, 0x3d, - 0xfb, 0x71, 0x9f, 0x09, 0xbd, 0x3d, 0x44, 0x5e, 0x8c, 0x85, 0x5f, 0x93, 0x7c, 0xfa, 0x18, 0xa6, - 0x9f, 0xa1, 0x7f, 0xf2, 0x23, 0x45, 0x3d, 0x82, 0x96, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x82, - 0xdb, 0x38, 0xe9, 0x60, 0x02, 0x00, 0x00, +var File_flow_entities_node_version_info_proto protoreflect.FileDescriptor + +const file_flow_entities_node_version_info_proto_rawDesc = "" + + "\n" + + "%flow/entities/node_version_info.proto\x12\rflow.entities\"S\n" + + "\x0fCompatibleRange\x12!\n" + + "\fstart_height\x18\x01 \x01(\x04R\vstartHeight\x12\x1d\n" + + "\n" + + "end_height\x18\x02 \x01(\x04R\tendHeight\"\xf8\x02\n" + + "\x0fNodeVersionInfo\x12\x16\n" + + "\x06semver\x18\x01 \x01(\tR\x06semver\x12\x16\n" + + "\x06commit\x18\x02 \x01(\tR\x06commit\x12\x19\n" + + "\bspork_id\x18\x03 \x01(\fR\asporkId\x12-\n" + + "\x10protocol_version\x18\x04 \x01(\x04B\x02\x18\x01R\x0fprotocolVersion\x125\n" + + "\x17spork_root_block_height\x18\x05 \x01(\x04R\x14sporkRootBlockHeight\x123\n" + + "\x16node_root_block_height\x18\x06 \x01(\x04R\x13nodeRootBlockHeight\x12I\n" + + "\x10compatible_range\x18\a \x01(\v2\x1e.flow.entities.CompatibleRangeR\x0fcompatibleRange\x124\n" + + "\x16protocol_state_version\x18\b \x01(\x04R\x14protocolStateVersionBP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_node_version_info_proto_rawDescOnce sync.Once + file_flow_entities_node_version_info_proto_rawDescData []byte +) + +func file_flow_entities_node_version_info_proto_rawDescGZIP() []byte { + file_flow_entities_node_version_info_proto_rawDescOnce.Do(func() { + file_flow_entities_node_version_info_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_node_version_info_proto_rawDesc), len(file_flow_entities_node_version_info_proto_rawDesc))) + }) + return file_flow_entities_node_version_info_proto_rawDescData +} + +var file_flow_entities_node_version_info_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_flow_entities_node_version_info_proto_goTypes = []any{ + (*CompatibleRange)(nil), // 0: flow.entities.CompatibleRange + (*NodeVersionInfo)(nil), // 1: flow.entities.NodeVersionInfo +} +var file_flow_entities_node_version_info_proto_depIdxs = []int32{ + 0, // 0: flow.entities.NodeVersionInfo.compatible_range:type_name -> flow.entities.CompatibleRange + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_flow_entities_node_version_info_proto_init() } +func file_flow_entities_node_version_info_proto_init() { + if File_flow_entities_node_version_info_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_node_version_info_proto_rawDesc), len(file_flow_entities_node_version_info_proto_rawDesc)), + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_node_version_info_proto_goTypes, + DependencyIndexes: file_flow_entities_node_version_info_proto_depIdxs, + MessageInfos: file_flow_entities_node_version_info_proto_msgTypes, + }.Build() + File_flow_entities_node_version_info_proto = out.File + file_flow_entities_node_version_info_proto_goTypes = nil + file_flow_entities_node_version_info_proto_depIdxs = nil } diff --git a/protobuf/go/flow/entities/register.pb.go b/protobuf/go/flow/entities/register.pb.go index 3db995308..ca13eb5f2 100644 --- a/protobuf/go/flow/entities/register.pb.go +++ b/protobuf/go/flow/entities/register.pb.go @@ -1,88 +1,133 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/register.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type RegisterID struct { - Owner []byte `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` - Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Owner []byte `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *RegisterID) Reset() { *m = RegisterID{} } -func (m *RegisterID) String() string { return proto.CompactTextString(m) } -func (*RegisterID) ProtoMessage() {} -func (*RegisterID) Descriptor() ([]byte, []int) { - return fileDescriptor_6a0154cacbb20826, []int{0} +func (x *RegisterID) Reset() { + *x = RegisterID{} + mi := &file_flow_entities_register_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *RegisterID) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RegisterID.Unmarshal(m, b) -} -func (m *RegisterID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RegisterID.Marshal(b, m, deterministic) -} -func (m *RegisterID) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegisterID.Merge(m, src) +func (x *RegisterID) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RegisterID) XXX_Size() int { - return xxx_messageInfo_RegisterID.Size(m) -} -func (m *RegisterID) XXX_DiscardUnknown() { - xxx_messageInfo_RegisterID.DiscardUnknown(m) + +func (*RegisterID) ProtoMessage() {} + +func (x *RegisterID) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_register_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RegisterID proto.InternalMessageInfo +// Deprecated: Use RegisterID.ProtoReflect.Descriptor instead. +func (*RegisterID) Descriptor() ([]byte, []int) { + return file_flow_entities_register_proto_rawDescGZIP(), []int{0} +} -func (m *RegisterID) GetOwner() []byte { - if m != nil { - return m.Owner +func (x *RegisterID) GetOwner() []byte { + if x != nil { + return x.Owner } return nil } -func (m *RegisterID) GetKey() []byte { - if m != nil { - return m.Key +func (x *RegisterID) GetKey() []byte { + if x != nil { + return x.Key } return nil } -func init() { - proto.RegisterType((*RegisterID)(nil), "flow.entities.RegisterID") +var File_flow_entities_register_proto protoreflect.FileDescriptor + +const file_flow_entities_register_proto_rawDesc = "" + + "\n" + + "\x1cflow/entities/register.proto\x12\rflow.entities\"4\n" + + "\n" + + "RegisterID\x12\x14\n" + + "\x05owner\x18\x01 \x01(\fR\x05owner\x12\x10\n" + + "\x03key\x18\x02 \x01(\fR\x03keyBP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_register_proto_rawDescOnce sync.Once + file_flow_entities_register_proto_rawDescData []byte +) + +func file_flow_entities_register_proto_rawDescGZIP() []byte { + file_flow_entities_register_proto_rawDescOnce.Do(func() { + file_flow_entities_register_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_register_proto_rawDesc), len(file_flow_entities_register_proto_rawDesc))) + }) + return file_flow_entities_register_proto_rawDescData } -func init() { proto.RegisterFile("flow/entities/register.proto", fileDescriptor_6a0154cacbb20826) } - -var fileDescriptor_6a0154cacbb20826 = []byte{ - // 150 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0xcb, 0xc9, 0x2f, - 0xd7, 0x4f, 0xcd, 0x2b, 0xc9, 0x2c, 0xc9, 0x4c, 0x2d, 0xd6, 0x2f, 0x4a, 0x4d, 0xcf, 0x2c, 0x2e, - 0x49, 0x2d, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x05, 0xc9, 0xea, 0xc1, 0x64, 0x95, - 0x4c, 0xb8, 0xb8, 0x82, 0xa0, 0x0a, 0x3c, 0x5d, 0x84, 0x44, 0xb8, 0x58, 0xf3, 0xcb, 0xf3, 0x52, - 0x8b, 0x24, 0x18, 0x15, 0x18, 0x35, 0x78, 0x82, 0x20, 0x1c, 0x21, 0x01, 0x2e, 0xe6, 0xec, 0xd4, - 0x4a, 0x09, 0x26, 0xb0, 0x18, 0x88, 0xe9, 0x14, 0xc0, 0x25, 0x93, 0x5f, 0x94, 0xae, 0x97, 0x9f, - 0x07, 0x36, 0x0c, 0x6c, 0x70, 0x52, 0x69, 0x1a, 0xdc, 0xd4, 0x28, 0x83, 0xf4, 0xcc, 0x92, 0x8c, - 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0x22, 0x7d, 0x30, 0x01, 0x53, 0xa9, 0x9f, 0x9e, - 0xaf, 0x8f, 0xe2, 0xca, 0x24, 0x36, 0xb0, 0x94, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x29, 0xce, - 0xb4, 0xc0, 0xbd, 0x00, 0x00, 0x00, +var file_flow_entities_register_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flow_entities_register_proto_goTypes = []any{ + (*RegisterID)(nil), // 0: flow.entities.RegisterID +} +var file_flow_entities_register_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_flow_entities_register_proto_init() } +func file_flow_entities_register_proto_init() { + if File_flow_entities_register_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_register_proto_rawDesc), len(file_flow_entities_register_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_register_proto_goTypes, + DependencyIndexes: file_flow_entities_register_proto_depIdxs, + MessageInfos: file_flow_entities_register_proto_msgTypes, + }.Build() + File_flow_entities_register_proto = out.File + file_flow_entities_register_proto_goTypes = nil + file_flow_entities_register_proto_depIdxs = nil } diff --git a/protobuf/go/flow/entities/transaction.pb.go b/protobuf/go/flow/entities/transaction.pb.go index 982f79bbd..21467f702 100644 --- a/protobuf/go/flow/entities/transaction.pb.go +++ b/protobuf/go/flow/entities/transaction.pb.go @@ -1,24 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/entities/transaction.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type TransactionStatus int32 @@ -31,296 +32,376 @@ const ( TransactionStatus_EXPIRED TransactionStatus = 5 ) -var TransactionStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "PENDING", - 2: "FINALIZED", - 3: "EXECUTED", - 4: "SEALED", - 5: "EXPIRED", -} +// Enum value maps for TransactionStatus. +var ( + TransactionStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "PENDING", + 2: "FINALIZED", + 3: "EXECUTED", + 4: "SEALED", + 5: "EXPIRED", + } + TransactionStatus_value = map[string]int32{ + "UNKNOWN": 0, + "PENDING": 1, + "FINALIZED": 2, + "EXECUTED": 3, + "SEALED": 4, + "EXPIRED": 5, + } +) -var TransactionStatus_value = map[string]int32{ - "UNKNOWN": 0, - "PENDING": 1, - "FINALIZED": 2, - "EXECUTED": 3, - "SEALED": 4, - "EXPIRED": 5, +func (x TransactionStatus) Enum() *TransactionStatus { + p := new(TransactionStatus) + *p = x + return p } func (x TransactionStatus) String() string { - return proto.EnumName(TransactionStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (TransactionStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_84361b1ad2e0936e, []int{0} +func (TransactionStatus) Descriptor() protoreflect.EnumDescriptor { + return file_flow_entities_transaction_proto_enumTypes[0].Descriptor() } -type Transaction struct { - Script []byte `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` - Arguments [][]byte `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` - ReferenceBlockId []byte `protobuf:"bytes,3,opt,name=reference_block_id,json=referenceBlockId,proto3" json:"reference_block_id,omitempty"` - GasLimit uint64 `protobuf:"varint,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` - ProposalKey *Transaction_ProposalKey `protobuf:"bytes,5,opt,name=proposal_key,json=proposalKey,proto3" json:"proposal_key,omitempty"` - Payer []byte `protobuf:"bytes,6,opt,name=payer,proto3" json:"payer,omitempty"` - Authorizers [][]byte `protobuf:"bytes,7,rep,name=authorizers,proto3" json:"authorizers,omitempty"` - PayloadSignatures []*Transaction_Signature `protobuf:"bytes,8,rep,name=payload_signatures,json=payloadSignatures,proto3" json:"payload_signatures,omitempty"` - EnvelopeSignatures []*Transaction_Signature `protobuf:"bytes,9,rep,name=envelope_signatures,json=envelopeSignatures,proto3" json:"envelope_signatures,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Transaction) Reset() { *m = Transaction{} } -func (m *Transaction) String() string { return proto.CompactTextString(m) } -func (*Transaction) ProtoMessage() {} -func (*Transaction) Descriptor() ([]byte, []int) { - return fileDescriptor_84361b1ad2e0936e, []int{0} +func (TransactionStatus) Type() protoreflect.EnumType { + return &file_flow_entities_transaction_proto_enumTypes[0] } -func (m *Transaction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Transaction.Unmarshal(m, b) +func (x TransactionStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Transaction.Marshal(b, m, deterministic) -} -func (m *Transaction) XXX_Merge(src proto.Message) { - xxx_messageInfo_Transaction.Merge(m, src) -} -func (m *Transaction) XXX_Size() int { - return xxx_messageInfo_Transaction.Size(m) + +// Deprecated: Use TransactionStatus.Descriptor instead. +func (TransactionStatus) EnumDescriptor() ([]byte, []int) { + return file_flow_entities_transaction_proto_rawDescGZIP(), []int{0} } -func (m *Transaction) XXX_DiscardUnknown() { - xxx_messageInfo_Transaction.DiscardUnknown(m) + +type Transaction struct { + state protoimpl.MessageState `protogen:"open.v1"` + Script []byte `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` + Arguments [][]byte `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` + ReferenceBlockId []byte `protobuf:"bytes,3,opt,name=reference_block_id,json=referenceBlockId,proto3" json:"reference_block_id,omitempty"` + GasLimit uint64 `protobuf:"varint,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` + ProposalKey *Transaction_ProposalKey `protobuf:"bytes,5,opt,name=proposal_key,json=proposalKey,proto3" json:"proposal_key,omitempty"` + Payer []byte `protobuf:"bytes,6,opt,name=payer,proto3" json:"payer,omitempty"` + Authorizers [][]byte `protobuf:"bytes,7,rep,name=authorizers,proto3" json:"authorizers,omitempty"` + PayloadSignatures []*Transaction_Signature `protobuf:"bytes,8,rep,name=payload_signatures,json=payloadSignatures,proto3" json:"payload_signatures,omitempty"` + EnvelopeSignatures []*Transaction_Signature `protobuf:"bytes,9,rep,name=envelope_signatures,json=envelopeSignatures,proto3" json:"envelope_signatures,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Transaction) Reset() { + *x = Transaction{} + mi := &file_flow_entities_transaction_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Transaction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Transaction) ProtoMessage() {} + +func (x *Transaction) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_transaction_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Transaction proto.InternalMessageInfo +// Deprecated: Use Transaction.ProtoReflect.Descriptor instead. +func (*Transaction) Descriptor() ([]byte, []int) { + return file_flow_entities_transaction_proto_rawDescGZIP(), []int{0} +} -func (m *Transaction) GetScript() []byte { - if m != nil { - return m.Script +func (x *Transaction) GetScript() []byte { + if x != nil { + return x.Script } return nil } -func (m *Transaction) GetArguments() [][]byte { - if m != nil { - return m.Arguments +func (x *Transaction) GetArguments() [][]byte { + if x != nil { + return x.Arguments } return nil } -func (m *Transaction) GetReferenceBlockId() []byte { - if m != nil { - return m.ReferenceBlockId +func (x *Transaction) GetReferenceBlockId() []byte { + if x != nil { + return x.ReferenceBlockId } return nil } -func (m *Transaction) GetGasLimit() uint64 { - if m != nil { - return m.GasLimit +func (x *Transaction) GetGasLimit() uint64 { + if x != nil { + return x.GasLimit } return 0 } -func (m *Transaction) GetProposalKey() *Transaction_ProposalKey { - if m != nil { - return m.ProposalKey +func (x *Transaction) GetProposalKey() *Transaction_ProposalKey { + if x != nil { + return x.ProposalKey } return nil } -func (m *Transaction) GetPayer() []byte { - if m != nil { - return m.Payer +func (x *Transaction) GetPayer() []byte { + if x != nil { + return x.Payer } return nil } -func (m *Transaction) GetAuthorizers() [][]byte { - if m != nil { - return m.Authorizers +func (x *Transaction) GetAuthorizers() [][]byte { + if x != nil { + return x.Authorizers } return nil } -func (m *Transaction) GetPayloadSignatures() []*Transaction_Signature { - if m != nil { - return m.PayloadSignatures +func (x *Transaction) GetPayloadSignatures() []*Transaction_Signature { + if x != nil { + return x.PayloadSignatures } return nil } -func (m *Transaction) GetEnvelopeSignatures() []*Transaction_Signature { - if m != nil { - return m.EnvelopeSignatures +func (x *Transaction) GetEnvelopeSignatures() []*Transaction_Signature { + if x != nil { + return x.EnvelopeSignatures } return nil } type Transaction_ProposalKey struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` - SequenceNumber uint64 `protobuf:"varint,3,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + SequenceNumber uint64 `protobuf:"varint,3,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Transaction_ProposalKey) Reset() { *m = Transaction_ProposalKey{} } -func (m *Transaction_ProposalKey) String() string { return proto.CompactTextString(m) } -func (*Transaction_ProposalKey) ProtoMessage() {} -func (*Transaction_ProposalKey) Descriptor() ([]byte, []int) { - return fileDescriptor_84361b1ad2e0936e, []int{0, 0} +func (x *Transaction_ProposalKey) Reset() { + *x = Transaction_ProposalKey{} + mi := &file_flow_entities_transaction_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Transaction_ProposalKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Transaction_ProposalKey.Unmarshal(m, b) +func (x *Transaction_ProposalKey) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Transaction_ProposalKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Transaction_ProposalKey.Marshal(b, m, deterministic) -} -func (m *Transaction_ProposalKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_Transaction_ProposalKey.Merge(m, src) -} -func (m *Transaction_ProposalKey) XXX_Size() int { - return xxx_messageInfo_Transaction_ProposalKey.Size(m) -} -func (m *Transaction_ProposalKey) XXX_DiscardUnknown() { - xxx_messageInfo_Transaction_ProposalKey.DiscardUnknown(m) + +func (*Transaction_ProposalKey) ProtoMessage() {} + +func (x *Transaction_ProposalKey) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_transaction_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Transaction_ProposalKey proto.InternalMessageInfo +// Deprecated: Use Transaction_ProposalKey.ProtoReflect.Descriptor instead. +func (*Transaction_ProposalKey) Descriptor() ([]byte, []int) { + return file_flow_entities_transaction_proto_rawDescGZIP(), []int{0, 0} +} -func (m *Transaction_ProposalKey) GetAddress() []byte { - if m != nil { - return m.Address +func (x *Transaction_ProposalKey) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *Transaction_ProposalKey) GetKeyId() uint32 { - if m != nil { - return m.KeyId +func (x *Transaction_ProposalKey) GetKeyId() uint32 { + if x != nil { + return x.KeyId } return 0 } -func (m *Transaction_ProposalKey) GetSequenceNumber() uint64 { - if m != nil { - return m.SequenceNumber +func (x *Transaction_ProposalKey) GetSequenceNumber() uint64 { + if x != nil { + return x.SequenceNumber } return 0 } type Transaction_Signature struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` - Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` - ExtensionData []byte `protobuf:"bytes,4,opt,name=extension_data,json=extensionData,proto3" json:"extension_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Transaction_Signature) Reset() { *m = Transaction_Signature{} } -func (m *Transaction_Signature) String() string { return proto.CompactTextString(m) } -func (*Transaction_Signature) ProtoMessage() {} -func (*Transaction_Signature) Descriptor() ([]byte, []int) { - return fileDescriptor_84361b1ad2e0936e, []int{0, 1} + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` + ExtensionData []byte `protobuf:"bytes,4,opt,name=extension_data,json=extensionData,proto3" json:"extension_data,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Transaction_Signature) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Transaction_Signature.Unmarshal(m, b) -} -func (m *Transaction_Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Transaction_Signature.Marshal(b, m, deterministic) +func (x *Transaction_Signature) Reset() { + *x = Transaction_Signature{} + mi := &file_flow_entities_transaction_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Transaction_Signature) XXX_Merge(src proto.Message) { - xxx_messageInfo_Transaction_Signature.Merge(m, src) -} -func (m *Transaction_Signature) XXX_Size() int { - return xxx_messageInfo_Transaction_Signature.Size(m) + +func (x *Transaction_Signature) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Transaction_Signature) XXX_DiscardUnknown() { - xxx_messageInfo_Transaction_Signature.DiscardUnknown(m) + +func (*Transaction_Signature) ProtoMessage() {} + +func (x *Transaction_Signature) ProtoReflect() protoreflect.Message { + mi := &file_flow_entities_transaction_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Transaction_Signature proto.InternalMessageInfo +// Deprecated: Use Transaction_Signature.ProtoReflect.Descriptor instead. +func (*Transaction_Signature) Descriptor() ([]byte, []int) { + return file_flow_entities_transaction_proto_rawDescGZIP(), []int{0, 1} +} -func (m *Transaction_Signature) GetAddress() []byte { - if m != nil { - return m.Address +func (x *Transaction_Signature) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *Transaction_Signature) GetKeyId() uint32 { - if m != nil { - return m.KeyId +func (x *Transaction_Signature) GetKeyId() uint32 { + if x != nil { + return x.KeyId } return 0 } -func (m *Transaction_Signature) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *Transaction_Signature) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } -func (m *Transaction_Signature) GetExtensionData() []byte { - if m != nil { - return m.ExtensionData +func (x *Transaction_Signature) GetExtensionData() []byte { + if x != nil { + return x.ExtensionData } return nil } -func init() { - proto.RegisterEnum("flow.entities.TransactionStatus", TransactionStatus_name, TransactionStatus_value) - proto.RegisterType((*Transaction)(nil), "flow.entities.Transaction") - proto.RegisterType((*Transaction_ProposalKey)(nil), "flow.entities.Transaction.ProposalKey") - proto.RegisterType((*Transaction_Signature)(nil), "flow.entities.Transaction.Signature") -} - -func init() { proto.RegisterFile("flow/entities/transaction.proto", fileDescriptor_84361b1ad2e0936e) } - -var fileDescriptor_84361b1ad2e0936e = []byte{ - // 534 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xdd, 0x6e, 0x9b, 0x4c, - 0x10, 0xfd, 0x88, 0x7f, 0x12, 0x0f, 0x76, 0x3e, 0xb2, 0xfd, 0x11, 0x4d, 0x23, 0x15, 0x55, 0xfd, - 0xb1, 0xaa, 0x0a, 0x57, 0xe9, 0x13, 0x24, 0x85, 0x56, 0x28, 0x11, 0xb5, 0x70, 0xa2, 0x46, 0xb9, - 0x41, 0x6b, 0x98, 0x10, 0x64, 0xbc, 0x4b, 0x77, 0x97, 0xb4, 0xf4, 0xae, 0xaf, 0xd3, 0xa7, 0xac, - 0x20, 0x06, 0xdb, 0x37, 0x95, 0x72, 0x83, 0x74, 0xce, 0x9c, 0x39, 0x3b, 0xc3, 0xd9, 0x85, 0x17, - 0x37, 0x19, 0xff, 0x31, 0x41, 0xa6, 0x52, 0x95, 0xa2, 0x9c, 0x28, 0x41, 0x99, 0xa4, 0x91, 0x4a, - 0x39, 0xb3, 0x73, 0xc1, 0x15, 0x27, 0xa3, 0x4a, 0x60, 0x37, 0x82, 0xc3, 0x67, 0xdb, 0x7a, 0xbc, - 0x43, 0xa6, 0xee, 0x95, 0x2f, 0xff, 0xf4, 0x40, 0xbf, 0x58, 0xf7, 0x93, 0xa7, 0xd0, 0x97, 0x91, - 0x48, 0x73, 0x65, 0x6a, 0x96, 0x36, 0x1e, 0x06, 0x2b, 0x44, 0x8e, 0x60, 0x40, 0x45, 0x52, 0x2c, - 0x91, 0x29, 0x69, 0xee, 0x58, 0x9d, 0xf1, 0x30, 0x58, 0x13, 0xe4, 0x3d, 0x10, 0x81, 0x37, 0x28, - 0x90, 0x45, 0x18, 0xce, 0x33, 0x1e, 0x2d, 0xc2, 0x34, 0x36, 0x3b, 0xb5, 0x83, 0xd1, 0x56, 0x4e, - 0xab, 0x82, 0x17, 0x93, 0xe7, 0x30, 0x48, 0xa8, 0x0c, 0xb3, 0x74, 0x99, 0x2a, 0xb3, 0x6b, 0x69, - 0xe3, 0x6e, 0xb0, 0x97, 0x50, 0x79, 0x5e, 0x61, 0xe2, 0xc1, 0x30, 0x17, 0x3c, 0xe7, 0x92, 0x66, - 0xe1, 0x02, 0x4b, 0xb3, 0x67, 0x69, 0x63, 0xfd, 0xf8, 0x8d, 0xbd, 0xb5, 0x91, 0xbd, 0x31, 0xb2, - 0x3d, 0x5d, 0xc9, 0xcf, 0xb0, 0x0c, 0xf4, 0x7c, 0x0d, 0xc8, 0x63, 0xe8, 0xe5, 0xb4, 0x44, 0x61, - 0xf6, 0xeb, 0x41, 0xee, 0x01, 0xb1, 0x40, 0xa7, 0x85, 0xba, 0xe5, 0x22, 0xfd, 0x85, 0x42, 0x9a, - 0xbb, 0xf5, 0x2e, 0x9b, 0x14, 0x99, 0x01, 0xc9, 0x69, 0x99, 0x71, 0x1a, 0x87, 0x32, 0x4d, 0x18, - 0x55, 0x85, 0x40, 0x69, 0xee, 0x59, 0x9d, 0xb1, 0x7e, 0xfc, 0xea, 0x1f, 0x83, 0xcc, 0x1a, 0x71, - 0x70, 0xb0, 0xea, 0x6f, 0x19, 0x49, 0x2e, 0xe1, 0x11, 0xb2, 0x3b, 0xcc, 0x78, 0x8e, 0x9b, 0xae, - 0x83, 0x07, 0xb8, 0x92, 0xc6, 0x60, 0x6d, 0x7b, 0x98, 0x80, 0xbe, 0xb1, 0x3f, 0x31, 0x61, 0x97, - 0xc6, 0xb1, 0x40, 0x29, 0x57, 0xf9, 0x35, 0x90, 0x3c, 0x81, 0xfe, 0x02, 0xcb, 0x2a, 0x96, 0x1d, - 0x4b, 0x1b, 0x8f, 0x82, 0xde, 0x02, 0x4b, 0x2f, 0x26, 0x6f, 0xe1, 0x7f, 0x89, 0xdf, 0x8b, 0x3a, - 0x38, 0x56, 0x2c, 0xe7, 0x28, 0xea, 0xd8, 0xba, 0xc1, 0x7e, 0x43, 0xfb, 0x35, 0x7b, 0xf8, 0x5b, - 0x83, 0x41, 0x7b, 0xee, 0xc3, 0xcf, 0x39, 0x82, 0x41, 0xbb, 0xf5, 0xea, 0x62, 0xac, 0x09, 0xf2, - 0x1a, 0xf6, 0xf1, 0xa7, 0x42, 0x26, 0x53, 0xce, 0xc2, 0x98, 0x2a, 0x5a, 0x5f, 0x8b, 0x61, 0x30, - 0x6a, 0x59, 0x87, 0x2a, 0xfa, 0x2e, 0x82, 0x83, 0x8d, 0x3f, 0x33, 0x53, 0x54, 0x15, 0x92, 0xe8, - 0xb0, 0x7b, 0xe9, 0x9f, 0xf9, 0x5f, 0xbf, 0xf9, 0xc6, 0x7f, 0x15, 0x98, 0xba, 0xbe, 0xe3, 0xf9, - 0x5f, 0x0c, 0x8d, 0x8c, 0x60, 0xf0, 0xd9, 0xf3, 0x4f, 0xce, 0xbd, 0x6b, 0xd7, 0x31, 0x76, 0xc8, - 0x10, 0xf6, 0xdc, 0x2b, 0xf7, 0xd3, 0xe5, 0x85, 0xeb, 0x18, 0x1d, 0x02, 0xd0, 0x9f, 0xb9, 0x27, - 0xe7, 0xae, 0x63, 0x74, 0xab, 0x2e, 0xf7, 0x6a, 0xea, 0x05, 0xae, 0x63, 0xf4, 0x4e, 0xa7, 0x70, - 0xc4, 0x45, 0x62, 0x73, 0x56, 0x47, 0x52, 0xbf, 0x92, 0x79, 0x71, 0xd3, 0x66, 0x73, 0xfd, 0x21, - 0x49, 0xd5, 0x6d, 0x31, 0xb7, 0x23, 0xbe, 0x9c, 0xdc, 0x8b, 0x26, 0xf5, 0xa7, 0x51, 0x4e, 0x12, - 0x3e, 0xd9, 0x7a, 0x6f, 0xf3, 0x7e, 0x5d, 0xfa, 0xf8, 0x37, 0x00, 0x00, 0xff, 0xff, 0xbf, 0x46, - 0x7e, 0x0b, 0xb7, 0x03, 0x00, 0x00, +var File_flow_entities_transaction_proto protoreflect.FileDescriptor + +const file_flow_entities_transaction_proto_rawDesc = "" + + "\n" + + "\x1fflow/entities/transaction.proto\x12\rflow.entities\x1a\x19flow/entities/event.proto\"\xaa\x05\n" + + "\vTransaction\x12\x16\n" + + "\x06script\x18\x01 \x01(\fR\x06script\x12\x1c\n" + + "\targuments\x18\x02 \x03(\fR\targuments\x12,\n" + + "\x12reference_block_id\x18\x03 \x01(\fR\x10referenceBlockId\x12\x1b\n" + + "\tgas_limit\x18\x04 \x01(\x04R\bgasLimit\x12I\n" + + "\fproposal_key\x18\x05 \x01(\v2&.flow.entities.Transaction.ProposalKeyR\vproposalKey\x12\x14\n" + + "\x05payer\x18\x06 \x01(\fR\x05payer\x12 \n" + + "\vauthorizers\x18\a \x03(\fR\vauthorizers\x12S\n" + + "\x12payload_signatures\x18\b \x03(\v2$.flow.entities.Transaction.SignatureR\x11payloadSignatures\x12U\n" + + "\x13envelope_signatures\x18\t \x03(\v2$.flow.entities.Transaction.SignatureR\x12envelopeSignatures\x1ag\n" + + "\vProposalKey\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12\x15\n" + + "\x06key_id\x18\x02 \x01(\rR\x05keyId\x12'\n" + + "\x0fsequence_number\x18\x03 \x01(\x04R\x0esequenceNumber\x1a\x81\x01\n" + + "\tSignature\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12\x15\n" + + "\x06key_id\x18\x02 \x01(\rR\x05keyId\x12\x1c\n" + + "\tsignature\x18\x03 \x01(\fR\tsignature\x12%\n" + + "\x0eextension_data\x18\x04 \x01(\fR\rextensionData*c\n" + + "\x11TransactionStatus\x12\v\n" + + "\aUNKNOWN\x10\x00\x12\v\n" + + "\aPENDING\x10\x01\x12\r\n" + + "\tFINALIZED\x10\x02\x12\f\n" + + "\bEXECUTED\x10\x03\x12\n" + + "\n" + + "\x06SEALED\x10\x04\x12\v\n" + + "\aEXPIRED\x10\x05BP\n" + + "\x1corg.onflow.protobuf.entitiesZ0github.com/onflow/flow/protobuf/go/flow/entitiesb\x06proto3" + +var ( + file_flow_entities_transaction_proto_rawDescOnce sync.Once + file_flow_entities_transaction_proto_rawDescData []byte +) + +func file_flow_entities_transaction_proto_rawDescGZIP() []byte { + file_flow_entities_transaction_proto_rawDescOnce.Do(func() { + file_flow_entities_transaction_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_entities_transaction_proto_rawDesc), len(file_flow_entities_transaction_proto_rawDesc))) + }) + return file_flow_entities_transaction_proto_rawDescData +} + +var file_flow_entities_transaction_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flow_entities_transaction_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_flow_entities_transaction_proto_goTypes = []any{ + (TransactionStatus)(0), // 0: flow.entities.TransactionStatus + (*Transaction)(nil), // 1: flow.entities.Transaction + (*Transaction_ProposalKey)(nil), // 2: flow.entities.Transaction.ProposalKey + (*Transaction_Signature)(nil), // 3: flow.entities.Transaction.Signature +} +var file_flow_entities_transaction_proto_depIdxs = []int32{ + 2, // 0: flow.entities.Transaction.proposal_key:type_name -> flow.entities.Transaction.ProposalKey + 3, // 1: flow.entities.Transaction.payload_signatures:type_name -> flow.entities.Transaction.Signature + 3, // 2: flow.entities.Transaction.envelope_signatures:type_name -> flow.entities.Transaction.Signature + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_flow_entities_transaction_proto_init() } +func file_flow_entities_transaction_proto_init() { + if File_flow_entities_transaction_proto != nil { + return + } + file_flow_entities_event_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_entities_transaction_proto_rawDesc), len(file_flow_entities_transaction_proto_rawDesc)), + NumEnums: 1, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_entities_transaction_proto_goTypes, + DependencyIndexes: file_flow_entities_transaction_proto_depIdxs, + EnumInfos: file_flow_entities_transaction_proto_enumTypes, + MessageInfos: file_flow_entities_transaction_proto_msgTypes, + }.Build() + File_flow_entities_transaction_proto = out.File + file_flow_entities_transaction_proto_goTypes = nil + file_flow_entities_transaction_proto_depIdxs = nil } diff --git a/protobuf/go/flow/execution/execution.pb.go b/protobuf/go/flow/execution/execution.pb.go index 84105ab77..257a024b6 100644 --- a/protobuf/go/flow/execution/execution.pb.go +++ b/protobuf/go/flow/execution/execution.pb.go @@ -1,1214 +1,1211 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/execution/execution.proto package execution import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" entities "github.com/onflow/flow/protobuf/go/flow/entities" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type PingRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *PingRequest) Reset() { *m = PingRequest{} } -func (m *PingRequest) String() string { return proto.CompactTextString(m) } -func (*PingRequest) ProtoMessage() {} -func (*PingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{0} +func (x *PingRequest) Reset() { + *x = PingRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *PingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PingRequest.Unmarshal(m, b) -} -func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PingRequest.Marshal(b, m, deterministic) -} -func (m *PingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PingRequest.Merge(m, src) -} -func (m *PingRequest) XXX_Size() int { - return xxx_messageInfo_PingRequest.Size(m) -} -func (m *PingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PingRequest.DiscardUnknown(m) +func (x *PingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PingRequest proto.InternalMessageInfo +func (*PingRequest) ProtoMessage() {} -type PingResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *PingRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *PingResponse) Reset() { *m = PingResponse{} } -func (m *PingResponse) String() string { return proto.CompactTextString(m) } -func (*PingResponse) ProtoMessage() {} -func (*PingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{1} +// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead. +func (*PingRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{0} } -func (m *PingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PingResponse.Unmarshal(m, b) -} -func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PingResponse.Marshal(b, m, deterministic) -} -func (m *PingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PingResponse.Merge(m, src) +type PingResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *PingResponse) XXX_Size() int { - return xxx_messageInfo_PingResponse.Size(m) + +func (x *PingResponse) Reset() { + *x = PingResponse{} + mi := &file_flow_execution_execution_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *PingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PingResponse.DiscardUnknown(m) + +func (x *PingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PingResponse proto.InternalMessageInfo +func (*PingResponse) ProtoMessage() {} -type GetAccountAtBlockIDRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *PingResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *GetAccountAtBlockIDRequest) Reset() { *m = GetAccountAtBlockIDRequest{} } -func (m *GetAccountAtBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountAtBlockIDRequest) ProtoMessage() {} -func (*GetAccountAtBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{2} +// Deprecated: Use PingResponse.ProtoReflect.Descriptor instead. +func (*PingResponse) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{1} } -func (m *GetAccountAtBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountAtBlockIDRequest.Unmarshal(m, b) -} -func (m *GetAccountAtBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountAtBlockIDRequest.Marshal(b, m, deterministic) +type GetAccountAtBlockIDRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountAtBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountAtBlockIDRequest.Merge(m, src) + +func (x *GetAccountAtBlockIDRequest) Reset() { + *x = GetAccountAtBlockIDRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountAtBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountAtBlockIDRequest.Size(m) + +func (x *GetAccountAtBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountAtBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountAtBlockIDRequest.DiscardUnknown(m) + +func (*GetAccountAtBlockIDRequest) ProtoMessage() {} + +func (x *GetAccountAtBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountAtBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountAtBlockIDRequest.ProtoReflect.Descriptor instead. +func (*GetAccountAtBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{2} +} -func (m *GetAccountAtBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetAccountAtBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetAccountAtBlockIDRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountAtBlockIDRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } type GetAccountAtBlockIDResponse struct { - Account *entities.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Account *entities.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountAtBlockIDResponse) Reset() { *m = GetAccountAtBlockIDResponse{} } -func (m *GetAccountAtBlockIDResponse) String() string { return proto.CompactTextString(m) } -func (*GetAccountAtBlockIDResponse) ProtoMessage() {} -func (*GetAccountAtBlockIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{3} +func (x *GetAccountAtBlockIDResponse) Reset() { + *x = GetAccountAtBlockIDResponse{} + mi := &file_flow_execution_execution_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountAtBlockIDResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountAtBlockIDResponse.Unmarshal(m, b) -} -func (m *GetAccountAtBlockIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountAtBlockIDResponse.Marshal(b, m, deterministic) -} -func (m *GetAccountAtBlockIDResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountAtBlockIDResponse.Merge(m, src) -} -func (m *GetAccountAtBlockIDResponse) XXX_Size() int { - return xxx_messageInfo_GetAccountAtBlockIDResponse.Size(m) +func (x *GetAccountAtBlockIDResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountAtBlockIDResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountAtBlockIDResponse.DiscardUnknown(m) + +func (*GetAccountAtBlockIDResponse) ProtoMessage() {} + +func (x *GetAccountAtBlockIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountAtBlockIDResponse proto.InternalMessageInfo +// Deprecated: Use GetAccountAtBlockIDResponse.ProtoReflect.Descriptor instead. +func (*GetAccountAtBlockIDResponse) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{3} +} -func (m *GetAccountAtBlockIDResponse) GetAccount() *entities.Account { - if m != nil { - return m.Account +func (x *GetAccountAtBlockIDResponse) GetAccount() *entities.Account { + if x != nil { + return x.Account } return nil } type ExecuteScriptAtBlockIDRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` - Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` + Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecuteScriptAtBlockIDRequest) Reset() { *m = ExecuteScriptAtBlockIDRequest{} } -func (m *ExecuteScriptAtBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*ExecuteScriptAtBlockIDRequest) ProtoMessage() {} -func (*ExecuteScriptAtBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{4} +func (x *ExecuteScriptAtBlockIDRequest) Reset() { + *x = ExecuteScriptAtBlockIDRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecuteScriptAtBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Unmarshal(m, b) +func (x *ExecuteScriptAtBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecuteScriptAtBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Marshal(b, m, deterministic) -} -func (m *ExecuteScriptAtBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Merge(m, src) -} -func (m *ExecuteScriptAtBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Size(m) -} -func (m *ExecuteScriptAtBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteScriptAtBlockIDRequest.DiscardUnknown(m) + +func (*ExecuteScriptAtBlockIDRequest) ProtoMessage() {} + +func (x *ExecuteScriptAtBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecuteScriptAtBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use ExecuteScriptAtBlockIDRequest.ProtoReflect.Descriptor instead. +func (*ExecuteScriptAtBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{4} +} -func (m *ExecuteScriptAtBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *ExecuteScriptAtBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *ExecuteScriptAtBlockIDRequest) GetScript() []byte { - if m != nil { - return m.Script +func (x *ExecuteScriptAtBlockIDRequest) GetScript() []byte { + if x != nil { + return x.Script } return nil } -func (m *ExecuteScriptAtBlockIDRequest) GetArguments() [][]byte { - if m != nil { - return m.Arguments +func (x *ExecuteScriptAtBlockIDRequest) GetArguments() [][]byte { + if x != nil { + return x.Arguments } return nil } type ExecuteScriptAtBlockIDResponse struct { - Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - ComputationUsage uint64 `protobuf:"varint,2,opt,name=computation_usage,json=computationUsage,proto3" json:"computation_usage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + ComputationUsage uint64 `protobuf:"varint,2,opt,name=computation_usage,json=computationUsage,proto3" json:"computation_usage,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecuteScriptAtBlockIDResponse) Reset() { *m = ExecuteScriptAtBlockIDResponse{} } -func (m *ExecuteScriptAtBlockIDResponse) String() string { return proto.CompactTextString(m) } -func (*ExecuteScriptAtBlockIDResponse) ProtoMessage() {} -func (*ExecuteScriptAtBlockIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{5} +func (x *ExecuteScriptAtBlockIDResponse) Reset() { + *x = ExecuteScriptAtBlockIDResponse{} + mi := &file_flow_execution_execution_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecuteScriptAtBlockIDResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteScriptAtBlockIDResponse.Unmarshal(m, b) -} -func (m *ExecuteScriptAtBlockIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteScriptAtBlockIDResponse.Marshal(b, m, deterministic) -} -func (m *ExecuteScriptAtBlockIDResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteScriptAtBlockIDResponse.Merge(m, src) +func (x *ExecuteScriptAtBlockIDResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecuteScriptAtBlockIDResponse) XXX_Size() int { - return xxx_messageInfo_ExecuteScriptAtBlockIDResponse.Size(m) -} -func (m *ExecuteScriptAtBlockIDResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteScriptAtBlockIDResponse.DiscardUnknown(m) + +func (*ExecuteScriptAtBlockIDResponse) ProtoMessage() {} + +func (x *ExecuteScriptAtBlockIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecuteScriptAtBlockIDResponse proto.InternalMessageInfo +// Deprecated: Use ExecuteScriptAtBlockIDResponse.ProtoReflect.Descriptor instead. +func (*ExecuteScriptAtBlockIDResponse) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{5} +} -func (m *ExecuteScriptAtBlockIDResponse) GetValue() []byte { - if m != nil { - return m.Value +func (x *ExecuteScriptAtBlockIDResponse) GetValue() []byte { + if x != nil { + return x.Value } return nil } -func (m *ExecuteScriptAtBlockIDResponse) GetComputationUsage() uint64 { - if m != nil { - return m.ComputationUsage +func (x *ExecuteScriptAtBlockIDResponse) GetComputationUsage() uint64 { + if x != nil { + return x.ComputationUsage } return 0 } type GetEventsForBlockIDsResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` Results []*GetEventsForBlockIDsResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,2,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetEventsForBlockIDsResponse) Reset() { *m = GetEventsForBlockIDsResponse{} } -func (m *GetEventsForBlockIDsResponse) String() string { return proto.CompactTextString(m) } -func (*GetEventsForBlockIDsResponse) ProtoMessage() {} -func (*GetEventsForBlockIDsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{6} +func (x *GetEventsForBlockIDsResponse) Reset() { + *x = GetEventsForBlockIDsResponse{} + mi := &file_flow_execution_execution_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetEventsForBlockIDsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEventsForBlockIDsResponse.Unmarshal(m, b) -} -func (m *GetEventsForBlockIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEventsForBlockIDsResponse.Marshal(b, m, deterministic) -} -func (m *GetEventsForBlockIDsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEventsForBlockIDsResponse.Merge(m, src) -} -func (m *GetEventsForBlockIDsResponse) XXX_Size() int { - return xxx_messageInfo_GetEventsForBlockIDsResponse.Size(m) -} -func (m *GetEventsForBlockIDsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetEventsForBlockIDsResponse.DiscardUnknown(m) +func (x *GetEventsForBlockIDsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetEventsForBlockIDsResponse proto.InternalMessageInfo +func (*GetEventsForBlockIDsResponse) ProtoMessage() {} -func (m *GetEventsForBlockIDsResponse) GetResults() []*GetEventsForBlockIDsResponse_Result { - if m != nil { - return m.Results +func (x *GetEventsForBlockIDsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *GetEventsForBlockIDsResponse) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion - } - return entities.EventEncodingVersion_JSON_CDC_V0 -} - -type GetEventsForBlockIDsResponse_Result struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - Events []*entities.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetEventsForBlockIDsResponse_Result) Reset() { *m = GetEventsForBlockIDsResponse_Result{} } -func (m *GetEventsForBlockIDsResponse_Result) String() string { return proto.CompactTextString(m) } -func (*GetEventsForBlockIDsResponse_Result) ProtoMessage() {} -func (*GetEventsForBlockIDsResponse_Result) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{6, 0} -} - -func (m *GetEventsForBlockIDsResponse_Result) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEventsForBlockIDsResponse_Result.Unmarshal(m, b) -} -func (m *GetEventsForBlockIDsResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEventsForBlockIDsResponse_Result.Marshal(b, m, deterministic) -} -func (m *GetEventsForBlockIDsResponse_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEventsForBlockIDsResponse_Result.Merge(m, src) -} -func (m *GetEventsForBlockIDsResponse_Result) XXX_Size() int { - return xxx_messageInfo_GetEventsForBlockIDsResponse_Result.Size(m) -} -func (m *GetEventsForBlockIDsResponse_Result) XXX_DiscardUnknown() { - xxx_messageInfo_GetEventsForBlockIDsResponse_Result.DiscardUnknown(m) +// Deprecated: Use GetEventsForBlockIDsResponse.ProtoReflect.Descriptor instead. +func (*GetEventsForBlockIDsResponse) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{6} } -var xxx_messageInfo_GetEventsForBlockIDsResponse_Result proto.InternalMessageInfo - -func (m *GetEventsForBlockIDsResponse_Result) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetEventsForBlockIDsResponse) GetResults() []*GetEventsForBlockIDsResponse_Result { + if x != nil { + return x.Results } return nil } -func (m *GetEventsForBlockIDsResponse_Result) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *GetEventsForBlockIDsResponse) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return 0 -} - -func (m *GetEventsForBlockIDsResponse_Result) GetEvents() []*entities.Event { - if m != nil { - return m.Events - } - return nil + return entities.EventEncodingVersion(0) } type GetEventsForBlockIDsRequest struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - BlockIds [][]byte `protobuf:"bytes,2,rep,name=block_ids,json=blockIds,proto3" json:"block_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + BlockIds [][]byte `protobuf:"bytes,2,rep,name=block_ids,json=blockIds,proto3" json:"block_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetEventsForBlockIDsRequest) Reset() { *m = GetEventsForBlockIDsRequest{} } -func (m *GetEventsForBlockIDsRequest) String() string { return proto.CompactTextString(m) } -func (*GetEventsForBlockIDsRequest) ProtoMessage() {} -func (*GetEventsForBlockIDsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{7} +func (x *GetEventsForBlockIDsRequest) Reset() { + *x = GetEventsForBlockIDsRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetEventsForBlockIDsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEventsForBlockIDsRequest.Unmarshal(m, b) -} -func (m *GetEventsForBlockIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEventsForBlockIDsRequest.Marshal(b, m, deterministic) -} -func (m *GetEventsForBlockIDsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEventsForBlockIDsRequest.Merge(m, src) +func (x *GetEventsForBlockIDsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEventsForBlockIDsRequest) XXX_Size() int { - return xxx_messageInfo_GetEventsForBlockIDsRequest.Size(m) -} -func (m *GetEventsForBlockIDsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEventsForBlockIDsRequest.DiscardUnknown(m) + +func (*GetEventsForBlockIDsRequest) ProtoMessage() {} + +func (x *GetEventsForBlockIDsRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetEventsForBlockIDsRequest proto.InternalMessageInfo +// Deprecated: Use GetEventsForBlockIDsRequest.ProtoReflect.Descriptor instead. +func (*GetEventsForBlockIDsRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{7} +} -func (m *GetEventsForBlockIDsRequest) GetType() string { - if m != nil { - return m.Type +func (x *GetEventsForBlockIDsRequest) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *GetEventsForBlockIDsRequest) GetBlockIds() [][]byte { - if m != nil { - return m.BlockIds +func (x *GetEventsForBlockIDsRequest) GetBlockIds() [][]byte { + if x != nil { + return x.BlockIds } return nil } type GetTransactionResultRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionResultRequest) Reset() { *m = GetTransactionResultRequest{} } -func (m *GetTransactionResultRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransactionResultRequest) ProtoMessage() {} -func (*GetTransactionResultRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{8} +func (x *GetTransactionResultRequest) Reset() { + *x = GetTransactionResultRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionResultRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionResultRequest.Unmarshal(m, b) -} -func (m *GetTransactionResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionResultRequest.Marshal(b, m, deterministic) +func (x *GetTransactionResultRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionResultRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionResultRequest.Merge(m, src) -} -func (m *GetTransactionResultRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionResultRequest.Size(m) -} -func (m *GetTransactionResultRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionResultRequest.DiscardUnknown(m) + +func (*GetTransactionResultRequest) ProtoMessage() {} + +func (x *GetTransactionResultRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionResultRequest proto.InternalMessageInfo +// Deprecated: Use GetTransactionResultRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionResultRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{8} +} -func (m *GetTransactionResultRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetTransactionResultRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetTransactionResultRequest) GetTransactionId() []byte { - if m != nil { - return m.TransactionId +func (x *GetTransactionResultRequest) GetTransactionId() []byte { + if x != nil { + return x.TransactionId } return nil } type GetTransactionByIndexRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionByIndexRequest) Reset() { *m = GetTransactionByIndexRequest{} } -func (m *GetTransactionByIndexRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransactionByIndexRequest) ProtoMessage() {} -func (*GetTransactionByIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{9} +func (x *GetTransactionByIndexRequest) Reset() { + *x = GetTransactionByIndexRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionByIndexRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionByIndexRequest.Unmarshal(m, b) -} -func (m *GetTransactionByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionByIndexRequest.Marshal(b, m, deterministic) -} -func (m *GetTransactionByIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionByIndexRequest.Merge(m, src) -} -func (m *GetTransactionByIndexRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionByIndexRequest.Size(m) +func (x *GetTransactionByIndexRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionByIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionByIndexRequest.DiscardUnknown(m) + +func (*GetTransactionByIndexRequest) ProtoMessage() {} + +func (x *GetTransactionByIndexRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionByIndexRequest proto.InternalMessageInfo +// Deprecated: Use GetTransactionByIndexRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionByIndexRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{9} +} -func (m *GetTransactionByIndexRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetTransactionByIndexRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetTransactionByIndexRequest) GetIndex() uint32 { - if m != nil { - return m.Index +func (x *GetTransactionByIndexRequest) GetIndex() uint32 { + if x != nil { + return x.Index } return 0 } type GetTransactionResultResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` StatusCode uint32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` Events []*entities.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,4,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` ComputationUsage uint64 `protobuf:"varint,5,opt,name=computation_usage,json=computationUsage,proto3" json:"computation_usage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionResultResponse) Reset() { *m = GetTransactionResultResponse{} } -func (m *GetTransactionResultResponse) String() string { return proto.CompactTextString(m) } -func (*GetTransactionResultResponse) ProtoMessage() {} -func (*GetTransactionResultResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{10} +func (x *GetTransactionResultResponse) Reset() { + *x = GetTransactionResultResponse{} + mi := &file_flow_execution_execution_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionResultResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionResultResponse.Unmarshal(m, b) -} -func (m *GetTransactionResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionResultResponse.Marshal(b, m, deterministic) -} -func (m *GetTransactionResultResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionResultResponse.Merge(m, src) +func (x *GetTransactionResultResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionResultResponse) XXX_Size() int { - return xxx_messageInfo_GetTransactionResultResponse.Size(m) -} -func (m *GetTransactionResultResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionResultResponse.DiscardUnknown(m) + +func (*GetTransactionResultResponse) ProtoMessage() {} + +func (x *GetTransactionResultResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionResultResponse proto.InternalMessageInfo +// Deprecated: Use GetTransactionResultResponse.ProtoReflect.Descriptor instead. +func (*GetTransactionResultResponse) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{10} +} -func (m *GetTransactionResultResponse) GetStatusCode() uint32 { - if m != nil { - return m.StatusCode +func (x *GetTransactionResultResponse) GetStatusCode() uint32 { + if x != nil { + return x.StatusCode } return 0 } -func (m *GetTransactionResultResponse) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage +func (x *GetTransactionResultResponse) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage } return "" } -func (m *GetTransactionResultResponse) GetEvents() []*entities.Event { - if m != nil { - return m.Events +func (x *GetTransactionResultResponse) GetEvents() []*entities.Event { + if x != nil { + return x.Events } return nil } -func (m *GetTransactionResultResponse) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *GetTransactionResultResponse) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *GetTransactionResultResponse) GetComputationUsage() uint64 { - if m != nil { - return m.ComputationUsage +func (x *GetTransactionResultResponse) GetComputationUsage() uint64 { + if x != nil { + return x.ComputationUsage } return 0 } type GetTransactionsByBlockIDRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionsByBlockIDRequest) Reset() { *m = GetTransactionsByBlockIDRequest{} } -func (m *GetTransactionsByBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransactionsByBlockIDRequest) ProtoMessage() {} -func (*GetTransactionsByBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{11} +func (x *GetTransactionsByBlockIDRequest) Reset() { + *x = GetTransactionsByBlockIDRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionsByBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionsByBlockIDRequest.Unmarshal(m, b) -} -func (m *GetTransactionsByBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionsByBlockIDRequest.Marshal(b, m, deterministic) +func (x *GetTransactionsByBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionsByBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionsByBlockIDRequest.Merge(m, src) -} -func (m *GetTransactionsByBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionsByBlockIDRequest.Size(m) -} -func (m *GetTransactionsByBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionsByBlockIDRequest.DiscardUnknown(m) + +func (*GetTransactionsByBlockIDRequest) ProtoMessage() {} + +func (x *GetTransactionsByBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionsByBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use GetTransactionsByBlockIDRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionsByBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{11} +} -func (m *GetTransactionsByBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetTransactionsByBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } type GetTransactionResultsResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` TransactionResults []*GetTransactionResultResponse `protobuf:"bytes,1,rep,name=transaction_results,json=transactionResults,proto3" json:"transaction_results,omitempty"` EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,2,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionResultsResponse) Reset() { *m = GetTransactionResultsResponse{} } -func (m *GetTransactionResultsResponse) String() string { return proto.CompactTextString(m) } -func (*GetTransactionResultsResponse) ProtoMessage() {} -func (*GetTransactionResultsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{12} +func (x *GetTransactionResultsResponse) Reset() { + *x = GetTransactionResultsResponse{} + mi := &file_flow_execution_execution_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionResultsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionResultsResponse.Unmarshal(m, b) -} -func (m *GetTransactionResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionResultsResponse.Marshal(b, m, deterministic) -} -func (m *GetTransactionResultsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionResultsResponse.Merge(m, src) +func (x *GetTransactionResultsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionResultsResponse) XXX_Size() int { - return xxx_messageInfo_GetTransactionResultsResponse.Size(m) -} -func (m *GetTransactionResultsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionResultsResponse.DiscardUnknown(m) + +func (*GetTransactionResultsResponse) ProtoMessage() {} + +func (x *GetTransactionResultsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionResultsResponse proto.InternalMessageInfo +// Deprecated: Use GetTransactionResultsResponse.ProtoReflect.Descriptor instead. +func (*GetTransactionResultsResponse) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{12} +} -func (m *GetTransactionResultsResponse) GetTransactionResults() []*GetTransactionResultResponse { - if m != nil { - return m.TransactionResults +func (x *GetTransactionResultsResponse) GetTransactionResults() []*GetTransactionResultResponse { + if x != nil { + return x.TransactionResults } return nil } -func (m *GetTransactionResultsResponse) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *GetTransactionResultsResponse) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } type GetTransactionErrorMessageRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionErrorMessageRequest) Reset() { *m = GetTransactionErrorMessageRequest{} } -func (m *GetTransactionErrorMessageRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransactionErrorMessageRequest) ProtoMessage() {} -func (*GetTransactionErrorMessageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{13} +func (x *GetTransactionErrorMessageRequest) Reset() { + *x = GetTransactionErrorMessageRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionErrorMessageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionErrorMessageRequest.Unmarshal(m, b) -} -func (m *GetTransactionErrorMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionErrorMessageRequest.Marshal(b, m, deterministic) -} -func (m *GetTransactionErrorMessageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionErrorMessageRequest.Merge(m, src) +func (x *GetTransactionErrorMessageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionErrorMessageRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionErrorMessageRequest.Size(m) -} -func (m *GetTransactionErrorMessageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionErrorMessageRequest.DiscardUnknown(m) + +func (*GetTransactionErrorMessageRequest) ProtoMessage() {} + +func (x *GetTransactionErrorMessageRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionErrorMessageRequest proto.InternalMessageInfo +// Deprecated: Use GetTransactionErrorMessageRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionErrorMessageRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{13} +} -func (m *GetTransactionErrorMessageRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetTransactionErrorMessageRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetTransactionErrorMessageRequest) GetTransactionId() []byte { - if m != nil { - return m.TransactionId +func (x *GetTransactionErrorMessageRequest) GetTransactionId() []byte { + if x != nil { + return x.TransactionId } return nil } type GetTransactionErrorMessageByIndexRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionErrorMessageByIndexRequest) Reset() { - *m = GetTransactionErrorMessageByIndexRequest{} -} -func (m *GetTransactionErrorMessageByIndexRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransactionErrorMessageByIndexRequest) ProtoMessage() {} -func (*GetTransactionErrorMessageByIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{14} +func (x *GetTransactionErrorMessageByIndexRequest) Reset() { + *x = GetTransactionErrorMessageByIndexRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionErrorMessageByIndexRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionErrorMessageByIndexRequest.Unmarshal(m, b) +func (x *GetTransactionErrorMessageByIndexRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionErrorMessageByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionErrorMessageByIndexRequest.Marshal(b, m, deterministic) -} -func (m *GetTransactionErrorMessageByIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionErrorMessageByIndexRequest.Merge(m, src) -} -func (m *GetTransactionErrorMessageByIndexRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionErrorMessageByIndexRequest.Size(m) -} -func (m *GetTransactionErrorMessageByIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionErrorMessageByIndexRequest.DiscardUnknown(m) + +func (*GetTransactionErrorMessageByIndexRequest) ProtoMessage() {} + +func (x *GetTransactionErrorMessageByIndexRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionErrorMessageByIndexRequest proto.InternalMessageInfo +// Deprecated: Use GetTransactionErrorMessageByIndexRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionErrorMessageByIndexRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{14} +} -func (m *GetTransactionErrorMessageByIndexRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetTransactionErrorMessageByIndexRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetTransactionErrorMessageByIndexRequest) GetIndex() uint32 { - if m != nil { - return m.Index +func (x *GetTransactionErrorMessageByIndexRequest) GetIndex() uint32 { + if x != nil { + return x.Index } return 0 } type GetTransactionErrorMessageResponse struct { - TransactionId []byte `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` - ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + TransactionId []byte `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionErrorMessageResponse) Reset() { *m = GetTransactionErrorMessageResponse{} } -func (m *GetTransactionErrorMessageResponse) String() string { return proto.CompactTextString(m) } -func (*GetTransactionErrorMessageResponse) ProtoMessage() {} -func (*GetTransactionErrorMessageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{15} +func (x *GetTransactionErrorMessageResponse) Reset() { + *x = GetTransactionErrorMessageResponse{} + mi := &file_flow_execution_execution_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionErrorMessageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionErrorMessageResponse.Unmarshal(m, b) -} -func (m *GetTransactionErrorMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionErrorMessageResponse.Marshal(b, m, deterministic) -} -func (m *GetTransactionErrorMessageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionErrorMessageResponse.Merge(m, src) +func (x *GetTransactionErrorMessageResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionErrorMessageResponse) XXX_Size() int { - return xxx_messageInfo_GetTransactionErrorMessageResponse.Size(m) -} -func (m *GetTransactionErrorMessageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionErrorMessageResponse.DiscardUnknown(m) + +func (*GetTransactionErrorMessageResponse) ProtoMessage() {} + +func (x *GetTransactionErrorMessageResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionErrorMessageResponse proto.InternalMessageInfo +// Deprecated: Use GetTransactionErrorMessageResponse.ProtoReflect.Descriptor instead. +func (*GetTransactionErrorMessageResponse) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{15} +} -func (m *GetTransactionErrorMessageResponse) GetTransactionId() []byte { - if m != nil { - return m.TransactionId +func (x *GetTransactionErrorMessageResponse) GetTransactionId() []byte { + if x != nil { + return x.TransactionId } return nil } -func (m *GetTransactionErrorMessageResponse) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage +func (x *GetTransactionErrorMessageResponse) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage } return "" } type GetTransactionErrorMessagesByBlockIDRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionErrorMessagesByBlockIDRequest) Reset() { - *m = GetTransactionErrorMessagesByBlockIDRequest{} -} -func (m *GetTransactionErrorMessagesByBlockIDRequest) String() string { - return proto.CompactTextString(m) -} -func (*GetTransactionErrorMessagesByBlockIDRequest) ProtoMessage() {} -func (*GetTransactionErrorMessagesByBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{16} +func (x *GetTransactionErrorMessagesByBlockIDRequest) Reset() { + *x = GetTransactionErrorMessagesByBlockIDRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionErrorMessagesByBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionErrorMessagesByBlockIDRequest.Unmarshal(m, b) -} -func (m *GetTransactionErrorMessagesByBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionErrorMessagesByBlockIDRequest.Marshal(b, m, deterministic) -} -func (m *GetTransactionErrorMessagesByBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionErrorMessagesByBlockIDRequest.Merge(m, src) -} -func (m *GetTransactionErrorMessagesByBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionErrorMessagesByBlockIDRequest.Size(m) -} -func (m *GetTransactionErrorMessagesByBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionErrorMessagesByBlockIDRequest.DiscardUnknown(m) +func (x *GetTransactionErrorMessagesByBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetTransactionErrorMessagesByBlockIDRequest proto.InternalMessageInfo +func (*GetTransactionErrorMessagesByBlockIDRequest) ProtoMessage() {} -func (m *GetTransactionErrorMessagesByBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetTransactionErrorMessagesByBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil -} - -type GetTransactionErrorMessagesResponse struct { - Results []*GetTransactionErrorMessagesResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + return mi.MessageOf(x) } -func (m *GetTransactionErrorMessagesResponse) Reset() { *m = GetTransactionErrorMessagesResponse{} } -func (m *GetTransactionErrorMessagesResponse) String() string { return proto.CompactTextString(m) } -func (*GetTransactionErrorMessagesResponse) ProtoMessage() {} -func (*GetTransactionErrorMessagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{17} -} - -func (m *GetTransactionErrorMessagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionErrorMessagesResponse.Unmarshal(m, b) -} -func (m *GetTransactionErrorMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionErrorMessagesResponse.Marshal(b, m, deterministic) -} -func (m *GetTransactionErrorMessagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionErrorMessagesResponse.Merge(m, src) -} -func (m *GetTransactionErrorMessagesResponse) XXX_Size() int { - return xxx_messageInfo_GetTransactionErrorMessagesResponse.Size(m) -} -func (m *GetTransactionErrorMessagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionErrorMessagesResponse.DiscardUnknown(m) +// Deprecated: Use GetTransactionErrorMessagesByBlockIDRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionErrorMessagesByBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{16} } -var xxx_messageInfo_GetTransactionErrorMessagesResponse proto.InternalMessageInfo - -func (m *GetTransactionErrorMessagesResponse) GetResults() []*GetTransactionErrorMessagesResponse_Result { - if m != nil { - return m.Results +func (x *GetTransactionErrorMessagesByBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -type GetTransactionErrorMessagesResponse_Result struct { - TransactionId []byte `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` - Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` - ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetTransactionErrorMessagesResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + Results []*GetTransactionErrorMessagesResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionErrorMessagesResponse_Result) Reset() { - *m = GetTransactionErrorMessagesResponse_Result{} -} -func (m *GetTransactionErrorMessagesResponse_Result) String() string { - return proto.CompactTextString(m) -} -func (*GetTransactionErrorMessagesResponse_Result) ProtoMessage() {} -func (*GetTransactionErrorMessagesResponse_Result) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{17, 0} +func (x *GetTransactionErrorMessagesResponse) Reset() { + *x = GetTransactionErrorMessagesResponse{} + mi := &file_flow_execution_execution_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionErrorMessagesResponse_Result) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionErrorMessagesResponse_Result.Unmarshal(m, b) -} -func (m *GetTransactionErrorMessagesResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionErrorMessagesResponse_Result.Marshal(b, m, deterministic) -} -func (m *GetTransactionErrorMessagesResponse_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionErrorMessagesResponse_Result.Merge(m, src) -} -func (m *GetTransactionErrorMessagesResponse_Result) XXX_Size() int { - return xxx_messageInfo_GetTransactionErrorMessagesResponse_Result.Size(m) -} -func (m *GetTransactionErrorMessagesResponse_Result) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionErrorMessagesResponse_Result.DiscardUnknown(m) +func (x *GetTransactionErrorMessagesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetTransactionErrorMessagesResponse_Result proto.InternalMessageInfo +func (*GetTransactionErrorMessagesResponse) ProtoMessage() {} -func (m *GetTransactionErrorMessagesResponse_Result) GetTransactionId() []byte { - if m != nil { - return m.TransactionId +func (x *GetTransactionErrorMessagesResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *GetTransactionErrorMessagesResponse_Result) GetIndex() uint32 { - if m != nil { - return m.Index - } - return 0 +// Deprecated: Use GetTransactionErrorMessagesResponse.ProtoReflect.Descriptor instead. +func (*GetTransactionErrorMessagesResponse) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{17} } -func (m *GetTransactionErrorMessagesResponse_Result) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage +func (x *GetTransactionErrorMessagesResponse) GetResults() []*GetTransactionErrorMessagesResponse_Result { + if x != nil { + return x.Results } - return "" + return nil } type GetRegisterAtBlockIDRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - RegisterOwner []byte `protobuf:"bytes,2,opt,name=register_owner,json=registerOwner,proto3" json:"register_owner,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + RegisterOwner []byte `protobuf:"bytes,2,opt,name=register_owner,json=registerOwner,proto3" json:"register_owner,omitempty"` // bytes register_controller = 3; @deprecated - RegisterKey []byte `protobuf:"bytes,4,opt,name=register_key,json=registerKey,proto3" json:"register_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RegisterKey []byte `protobuf:"bytes,4,opt,name=register_key,json=registerKey,proto3" json:"register_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetRegisterAtBlockIDRequest) Reset() { *m = GetRegisterAtBlockIDRequest{} } -func (m *GetRegisterAtBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetRegisterAtBlockIDRequest) ProtoMessage() {} -func (*GetRegisterAtBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{18} +func (x *GetRegisterAtBlockIDRequest) Reset() { + *x = GetRegisterAtBlockIDRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetRegisterAtBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRegisterAtBlockIDRequest.Unmarshal(m, b) -} -func (m *GetRegisterAtBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRegisterAtBlockIDRequest.Marshal(b, m, deterministic) -} -func (m *GetRegisterAtBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRegisterAtBlockIDRequest.Merge(m, src) -} -func (m *GetRegisterAtBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_GetRegisterAtBlockIDRequest.Size(m) +func (x *GetRegisterAtBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRegisterAtBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRegisterAtBlockIDRequest.DiscardUnknown(m) + +func (*GetRegisterAtBlockIDRequest) ProtoMessage() {} + +func (x *GetRegisterAtBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetRegisterAtBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use GetRegisterAtBlockIDRequest.ProtoReflect.Descriptor instead. +func (*GetRegisterAtBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{18} +} -func (m *GetRegisterAtBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetRegisterAtBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetRegisterAtBlockIDRequest) GetRegisterOwner() []byte { - if m != nil { - return m.RegisterOwner +func (x *GetRegisterAtBlockIDRequest) GetRegisterOwner() []byte { + if x != nil { + return x.RegisterOwner } return nil } -func (m *GetRegisterAtBlockIDRequest) GetRegisterKey() []byte { - if m != nil { - return m.RegisterKey +func (x *GetRegisterAtBlockIDRequest) GetRegisterKey() []byte { + if x != nil { + return x.RegisterKey } return nil } type GetRegisterAtBlockIDResponse struct { - Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetRegisterAtBlockIDResponse) Reset() { *m = GetRegisterAtBlockIDResponse{} } -func (m *GetRegisterAtBlockIDResponse) String() string { return proto.CompactTextString(m) } -func (*GetRegisterAtBlockIDResponse) ProtoMessage() {} -func (*GetRegisterAtBlockIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{19} +func (x *GetRegisterAtBlockIDResponse) Reset() { + *x = GetRegisterAtBlockIDResponse{} + mi := &file_flow_execution_execution_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetRegisterAtBlockIDResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRegisterAtBlockIDResponse.Unmarshal(m, b) +func (x *GetRegisterAtBlockIDResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRegisterAtBlockIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRegisterAtBlockIDResponse.Marshal(b, m, deterministic) -} -func (m *GetRegisterAtBlockIDResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRegisterAtBlockIDResponse.Merge(m, src) -} -func (m *GetRegisterAtBlockIDResponse) XXX_Size() int { - return xxx_messageInfo_GetRegisterAtBlockIDResponse.Size(m) -} -func (m *GetRegisterAtBlockIDResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetRegisterAtBlockIDResponse.DiscardUnknown(m) + +func (*GetRegisterAtBlockIDResponse) ProtoMessage() {} + +func (x *GetRegisterAtBlockIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetRegisterAtBlockIDResponse proto.InternalMessageInfo +// Deprecated: Use GetRegisterAtBlockIDResponse.ProtoReflect.Descriptor instead. +func (*GetRegisterAtBlockIDResponse) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{19} +} -func (m *GetRegisterAtBlockIDResponse) GetValue() []byte { - if m != nil { - return m.Value +func (x *GetRegisterAtBlockIDResponse) GetValue() []byte { + if x != nil { + return x.Value } return nil } type GetLatestBlockHeaderRequest struct { - IsSealed bool `protobuf:"varint,1,opt,name=is_sealed,json=isSealed,proto3" json:"is_sealed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + IsSealed bool `protobuf:"varint,1,opt,name=is_sealed,json=isSealed,proto3" json:"is_sealed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetLatestBlockHeaderRequest) Reset() { *m = GetLatestBlockHeaderRequest{} } -func (m *GetLatestBlockHeaderRequest) String() string { return proto.CompactTextString(m) } -func (*GetLatestBlockHeaderRequest) ProtoMessage() {} -func (*GetLatestBlockHeaderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{20} +func (x *GetLatestBlockHeaderRequest) Reset() { + *x = GetLatestBlockHeaderRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetLatestBlockHeaderRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLatestBlockHeaderRequest.Unmarshal(m, b) -} -func (m *GetLatestBlockHeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLatestBlockHeaderRequest.Marshal(b, m, deterministic) -} -func (m *GetLatestBlockHeaderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLatestBlockHeaderRequest.Merge(m, src) +func (x *GetLatestBlockHeaderRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetLatestBlockHeaderRequest) XXX_Size() int { - return xxx_messageInfo_GetLatestBlockHeaderRequest.Size(m) -} -func (m *GetLatestBlockHeaderRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLatestBlockHeaderRequest.DiscardUnknown(m) + +func (*GetLatestBlockHeaderRequest) ProtoMessage() {} + +func (x *GetLatestBlockHeaderRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetLatestBlockHeaderRequest proto.InternalMessageInfo +// Deprecated: Use GetLatestBlockHeaderRequest.ProtoReflect.Descriptor instead. +func (*GetLatestBlockHeaderRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{20} +} -func (m *GetLatestBlockHeaderRequest) GetIsSealed() bool { - if m != nil { - return m.IsSealed +func (x *GetLatestBlockHeaderRequest) GetIsSealed() bool { + if x != nil { + return x.IsSealed } return false } type GetBlockHeaderByIDRequest struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetBlockHeaderByIDRequest) Reset() { *m = GetBlockHeaderByIDRequest{} } -func (m *GetBlockHeaderByIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlockHeaderByIDRequest) ProtoMessage() {} -func (*GetBlockHeaderByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{21} +func (x *GetBlockHeaderByIDRequest) Reset() { + *x = GetBlockHeaderByIDRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetBlockHeaderByIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlockHeaderByIDRequest.Unmarshal(m, b) -} -func (m *GetBlockHeaderByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlockHeaderByIDRequest.Marshal(b, m, deterministic) +func (x *GetBlockHeaderByIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlockHeaderByIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlockHeaderByIDRequest.Merge(m, src) -} -func (m *GetBlockHeaderByIDRequest) XXX_Size() int { - return xxx_messageInfo_GetBlockHeaderByIDRequest.Size(m) -} -func (m *GetBlockHeaderByIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlockHeaderByIDRequest.DiscardUnknown(m) + +func (*GetBlockHeaderByIDRequest) ProtoMessage() {} + +func (x *GetBlockHeaderByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetBlockHeaderByIDRequest proto.InternalMessageInfo +// Deprecated: Use GetBlockHeaderByIDRequest.ProtoReflect.Descriptor instead. +func (*GetBlockHeaderByIDRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{21} +} -func (m *GetBlockHeaderByIDRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetBlockHeaderByIDRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } type BlockHeaderResponse struct { - Block *entities.BlockHeader `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Block *entities.BlockHeader `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *BlockHeaderResponse) Reset() { *m = BlockHeaderResponse{} } -func (m *BlockHeaderResponse) String() string { return proto.CompactTextString(m) } -func (*BlockHeaderResponse) ProtoMessage() {} -func (*BlockHeaderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{22} +func (x *BlockHeaderResponse) Reset() { + *x = BlockHeaderResponse{} + mi := &file_flow_execution_execution_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *BlockHeaderResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockHeaderResponse.Unmarshal(m, b) +func (x *BlockHeaderResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockHeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockHeaderResponse.Marshal(b, m, deterministic) -} -func (m *BlockHeaderResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockHeaderResponse.Merge(m, src) -} -func (m *BlockHeaderResponse) XXX_Size() int { - return xxx_messageInfo_BlockHeaderResponse.Size(m) -} -func (m *BlockHeaderResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BlockHeaderResponse.DiscardUnknown(m) + +func (*BlockHeaderResponse) ProtoMessage() {} + +func (x *BlockHeaderResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlockHeaderResponse proto.InternalMessageInfo +// Deprecated: Use BlockHeaderResponse.ProtoReflect.Descriptor instead. +func (*BlockHeaderResponse) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{22} +} -func (m *BlockHeaderResponse) GetBlock() *entities.BlockHeader { - if m != nil { - return m.Block +func (x *BlockHeaderResponse) GetBlock() *entities.BlockHeader { + if x != nil { + return x.Block } return nil } // The request for GetTransactionExecutionMetricsAfter type GetTransactionExecutionMetricsAfterRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block height after which to get transaction execution metrics. // this block height will not be included in the response. - BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionExecutionMetricsAfterRequest) Reset() { - *m = GetTransactionExecutionMetricsAfterRequest{} +func (x *GetTransactionExecutionMetricsAfterRequest) Reset() { + *x = GetTransactionExecutionMetricsAfterRequest{} + mi := &file_flow_execution_execution_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionExecutionMetricsAfterRequest) String() string { - return proto.CompactTextString(m) + +func (x *GetTransactionExecutionMetricsAfterRequest) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*GetTransactionExecutionMetricsAfterRequest) ProtoMessage() {} -func (*GetTransactionExecutionMetricsAfterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{23} -} -func (m *GetTransactionExecutionMetricsAfterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterRequest.Unmarshal(m, b) -} -func (m *GetTransactionExecutionMetricsAfterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterRequest.Marshal(b, m, deterministic) -} -func (m *GetTransactionExecutionMetricsAfterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionExecutionMetricsAfterRequest.Merge(m, src) -} -func (m *GetTransactionExecutionMetricsAfterRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterRequest.Size(m) -} -func (m *GetTransactionExecutionMetricsAfterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionExecutionMetricsAfterRequest.DiscardUnknown(m) +func (x *GetTransactionExecutionMetricsAfterRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionExecutionMetricsAfterRequest proto.InternalMessageInfo +// Deprecated: Use GetTransactionExecutionMetricsAfterRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionExecutionMetricsAfterRequest) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{23} +} -func (m *GetTransactionExecutionMetricsAfterRequest) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *GetTransactionExecutionMetricsAfterRequest) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } @@ -1220,337 +1217,570 @@ func (m *GetTransactionExecutionMetricsAfterRequest) GetBlockHeight() uint64 { // metrics for all blocks. Only finalized and executed blocks will be in the // response. The blocks are sorted by block height in descending order. type GetTransactionExecutionMetricsAfterResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` // a list of results for each block sorted by block height in // descending order - Results []*GetTransactionExecutionMetricsAfterResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Results []*GetTransactionExecutionMetricsAfterResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionExecutionMetricsAfterResponse) Reset() { - *m = GetTransactionExecutionMetricsAfterResponse{} +func (x *GetTransactionExecutionMetricsAfterResponse) Reset() { + *x = GetTransactionExecutionMetricsAfterResponse{} + mi := &file_flow_execution_execution_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionExecutionMetricsAfterResponse) String() string { - return proto.CompactTextString(m) + +func (x *GetTransactionExecutionMetricsAfterResponse) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*GetTransactionExecutionMetricsAfterResponse) ProtoMessage() {} + +func (x *GetTransactionExecutionMetricsAfterResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTransactionExecutionMetricsAfterResponse.ProtoReflect.Descriptor instead. func (*GetTransactionExecutionMetricsAfterResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{24} + return file_flow_execution_execution_proto_rawDescGZIP(), []int{24} } -func (m *GetTransactionExecutionMetricsAfterResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse.Unmarshal(m, b) +func (x *GetTransactionExecutionMetricsAfterResponse) GetResults() []*GetTransactionExecutionMetricsAfterResponse_Result { + if x != nil { + return x.Results + } + return nil } -func (m *GetTransactionExecutionMetricsAfterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse.Marshal(b, m, deterministic) + +type GetEventsForBlockIDsResponse_Result struct { + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Events []*entities.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionExecutionMetricsAfterResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse.Merge(m, src) + +func (x *GetEventsForBlockIDsResponse_Result) Reset() { + *x = GetEventsForBlockIDsResponse_Result{} + mi := &file_flow_execution_execution_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionExecutionMetricsAfterResponse) XXX_Size() int { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse.Size(m) + +func (x *GetEventsForBlockIDsResponse_Result) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionExecutionMetricsAfterResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse.DiscardUnknown(m) + +func (*GetEventsForBlockIDsResponse_Result) ProtoMessage() {} + +func (x *GetEventsForBlockIDsResponse_Result) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse proto.InternalMessageInfo +// Deprecated: Use GetEventsForBlockIDsResponse_Result.ProtoReflect.Descriptor instead. +func (*GetEventsForBlockIDsResponse_Result) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{6, 0} +} -func (m *GetTransactionExecutionMetricsAfterResponse) GetResults() []*GetTransactionExecutionMetricsAfterResponse_Result { - if m != nil { - return m.Results +func (x *GetEventsForBlockIDsResponse_Result) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } +func (x *GetEventsForBlockIDsResponse_Result) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *GetEventsForBlockIDsResponse_Result) GetEvents() []*entities.Event { + if x != nil { + return x.Events + } + return nil +} + +type GetTransactionErrorMessagesResponse_Result struct { + state protoimpl.MessageState `protogen:"open.v1"` + TransactionId []byte `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *GetTransactionErrorMessagesResponse_Result) Reset() { + *x = GetTransactionErrorMessagesResponse_Result{} + mi := &file_flow_execution_execution_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GetTransactionErrorMessagesResponse_Result) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTransactionErrorMessagesResponse_Result) ProtoMessage() {} + +func (x *GetTransactionErrorMessagesResponse_Result) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTransactionErrorMessagesResponse_Result.ProtoReflect.Descriptor instead. +func (*GetTransactionErrorMessagesResponse_Result) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{17, 0} +} + +func (x *GetTransactionErrorMessagesResponse_Result) GetTransactionId() []byte { + if x != nil { + return x.TransactionId + } + return nil +} + +func (x *GetTransactionErrorMessagesResponse_Result) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *GetTransactionErrorMessagesResponse_Result) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage + } + return "" +} + // the execution effort weight of a computation kind type GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight struct { + state protoimpl.MessageState `protogen:"open.v1"` // computation kind id Kind uint64 `protobuf:"varint,1,opt,name=kind,proto3" json:"kind,omitempty"` // the weight of the computation kind - Weight uint64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Weight uint64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) Reset() { - *m = GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight{} +func (x *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) Reset() { + *x = GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight{} + mi := &file_flow_execution_execution_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) String() string { - return proto.CompactTextString(m) + +func (x *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) ProtoMessage() {} -func (*GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{24, 0} -} -func (m *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight.Unmarshal(m, b) -} -func (m *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight.Marshal(b, m, deterministic) -} -func (m *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight.Merge(m, src) -} -func (m *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) XXX_Size() int { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight.Size(m) -} -func (m *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight.DiscardUnknown(m) +func (x *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight proto.InternalMessageInfo +// Deprecated: Use GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight.ProtoReflect.Descriptor instead. +func (*GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{24, 0} +} -func (m *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) GetKind() uint64 { - if m != nil { - return m.Kind +func (x *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) GetKind() uint64 { + if x != nil { + return x.Kind } return 0 } -func (m *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) GetWeight() uint64 { - if m != nil { - return m.Weight +func (x *GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight) GetWeight() uint64 { + if x != nil { + return x.Weight } return 0 } // the data for one transaction type GetTransactionExecutionMetricsAfterResponse_Transaction struct { + state protoimpl.MessageState `protogen:"open.v1"` // the transaction id TransactionId []byte `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // the execution time of the transaction in nanoseconds ExecutionTime uint64 `protobuf:"varint,2,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"` // the execution effort weights of the transaction ExecutionEffortWeights []*GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight `protobuf:"bytes,3,rep,name=execution_effort_weights,json=executionEffortWeights,proto3" json:"execution_effort_weights,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionExecutionMetricsAfterResponse_Transaction) Reset() { - *m = GetTransactionExecutionMetricsAfterResponse_Transaction{} +func (x *GetTransactionExecutionMetricsAfterResponse_Transaction) Reset() { + *x = GetTransactionExecutionMetricsAfterResponse_Transaction{} + mi := &file_flow_execution_execution_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionExecutionMetricsAfterResponse_Transaction) String() string { - return proto.CompactTextString(m) + +func (x *GetTransactionExecutionMetricsAfterResponse_Transaction) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*GetTransactionExecutionMetricsAfterResponse_Transaction) ProtoMessage() {} -func (*GetTransactionExecutionMetricsAfterResponse_Transaction) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{24, 1} -} -func (m *GetTransactionExecutionMetricsAfterResponse_Transaction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_Transaction.Unmarshal(m, b) -} -func (m *GetTransactionExecutionMetricsAfterResponse_Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_Transaction.Marshal(b, m, deterministic) -} -func (m *GetTransactionExecutionMetricsAfterResponse_Transaction) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_Transaction.Merge(m, src) -} -func (m *GetTransactionExecutionMetricsAfterResponse_Transaction) XXX_Size() int { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_Transaction.Size(m) -} -func (m *GetTransactionExecutionMetricsAfterResponse_Transaction) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_Transaction.DiscardUnknown(m) +func (x *GetTransactionExecutionMetricsAfterResponse_Transaction) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_Transaction proto.InternalMessageInfo +// Deprecated: Use GetTransactionExecutionMetricsAfterResponse_Transaction.ProtoReflect.Descriptor instead. +func (*GetTransactionExecutionMetricsAfterResponse_Transaction) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{24, 1} +} -func (m *GetTransactionExecutionMetricsAfterResponse_Transaction) GetTransactionId() []byte { - if m != nil { - return m.TransactionId +func (x *GetTransactionExecutionMetricsAfterResponse_Transaction) GetTransactionId() []byte { + if x != nil { + return x.TransactionId } return nil } -func (m *GetTransactionExecutionMetricsAfterResponse_Transaction) GetExecutionTime() uint64 { - if m != nil { - return m.ExecutionTime +func (x *GetTransactionExecutionMetricsAfterResponse_Transaction) GetExecutionTime() uint64 { + if x != nil { + return x.ExecutionTime } return 0 } -func (m *GetTransactionExecutionMetricsAfterResponse_Transaction) GetExecutionEffortWeights() []*GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight { - if m != nil { - return m.ExecutionEffortWeights +func (x *GetTransactionExecutionMetricsAfterResponse_Transaction) GetExecutionEffortWeights() []*GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight { + if x != nil { + return x.ExecutionEffortWeights } return nil } // the data for one block type GetTransactionExecutionMetricsAfterResponse_Result struct { + state protoimpl.MessageState `protogen:"open.v1"` // the block height of the block BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // the list of transactions in the block - Transactions []*GetTransactionExecutionMetricsAfterResponse_Transaction `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Transactions []*GetTransactionExecutionMetricsAfterResponse_Transaction `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionExecutionMetricsAfterResponse_Result) Reset() { - *m = GetTransactionExecutionMetricsAfterResponse_Result{} +func (x *GetTransactionExecutionMetricsAfterResponse_Result) Reset() { + *x = GetTransactionExecutionMetricsAfterResponse_Result{} + mi := &file_flow_execution_execution_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionExecutionMetricsAfterResponse_Result) String() string { - return proto.CompactTextString(m) + +func (x *GetTransactionExecutionMetricsAfterResponse_Result) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*GetTransactionExecutionMetricsAfterResponse_Result) ProtoMessage() {} -func (*GetTransactionExecutionMetricsAfterResponse_Result) Descriptor() ([]byte, []int) { - return fileDescriptor_699624211ed46c53, []int{24, 2} -} -func (m *GetTransactionExecutionMetricsAfterResponse_Result) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_Result.Unmarshal(m, b) -} -func (m *GetTransactionExecutionMetricsAfterResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_Result.Marshal(b, m, deterministic) -} -func (m *GetTransactionExecutionMetricsAfterResponse_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_Result.Merge(m, src) -} -func (m *GetTransactionExecutionMetricsAfterResponse_Result) XXX_Size() int { - return xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_Result.Size(m) -} -func (m *GetTransactionExecutionMetricsAfterResponse_Result) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_Result.DiscardUnknown(m) +func (x *GetTransactionExecutionMetricsAfterResponse_Result) ProtoReflect() protoreflect.Message { + mi := &file_flow_execution_execution_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionExecutionMetricsAfterResponse_Result proto.InternalMessageInfo +// Deprecated: Use GetTransactionExecutionMetricsAfterResponse_Result.ProtoReflect.Descriptor instead. +func (*GetTransactionExecutionMetricsAfterResponse_Result) Descriptor() ([]byte, []int) { + return file_flow_execution_execution_proto_rawDescGZIP(), []int{24, 2} +} -func (m *GetTransactionExecutionMetricsAfterResponse_Result) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *GetTransactionExecutionMetricsAfterResponse_Result) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *GetTransactionExecutionMetricsAfterResponse_Result) GetTransactions() []*GetTransactionExecutionMetricsAfterResponse_Transaction { - if m != nil { - return m.Transactions +func (x *GetTransactionExecutionMetricsAfterResponse_Result) GetTransactions() []*GetTransactionExecutionMetricsAfterResponse_Transaction { + if x != nil { + return x.Transactions } return nil } -func init() { - proto.RegisterType((*PingRequest)(nil), "flow.execution.PingRequest") - proto.RegisterType((*PingResponse)(nil), "flow.execution.PingResponse") - proto.RegisterType((*GetAccountAtBlockIDRequest)(nil), "flow.execution.GetAccountAtBlockIDRequest") - proto.RegisterType((*GetAccountAtBlockIDResponse)(nil), "flow.execution.GetAccountAtBlockIDResponse") - proto.RegisterType((*ExecuteScriptAtBlockIDRequest)(nil), "flow.execution.ExecuteScriptAtBlockIDRequest") - proto.RegisterType((*ExecuteScriptAtBlockIDResponse)(nil), "flow.execution.ExecuteScriptAtBlockIDResponse") - proto.RegisterType((*GetEventsForBlockIDsResponse)(nil), "flow.execution.GetEventsForBlockIDsResponse") - proto.RegisterType((*GetEventsForBlockIDsResponse_Result)(nil), "flow.execution.GetEventsForBlockIDsResponse.Result") - proto.RegisterType((*GetEventsForBlockIDsRequest)(nil), "flow.execution.GetEventsForBlockIDsRequest") - proto.RegisterType((*GetTransactionResultRequest)(nil), "flow.execution.GetTransactionResultRequest") - proto.RegisterType((*GetTransactionByIndexRequest)(nil), "flow.execution.GetTransactionByIndexRequest") - proto.RegisterType((*GetTransactionResultResponse)(nil), "flow.execution.GetTransactionResultResponse") - proto.RegisterType((*GetTransactionsByBlockIDRequest)(nil), "flow.execution.GetTransactionsByBlockIDRequest") - proto.RegisterType((*GetTransactionResultsResponse)(nil), "flow.execution.GetTransactionResultsResponse") - proto.RegisterType((*GetTransactionErrorMessageRequest)(nil), "flow.execution.GetTransactionErrorMessageRequest") - proto.RegisterType((*GetTransactionErrorMessageByIndexRequest)(nil), "flow.execution.GetTransactionErrorMessageByIndexRequest") - proto.RegisterType((*GetTransactionErrorMessageResponse)(nil), "flow.execution.GetTransactionErrorMessageResponse") - proto.RegisterType((*GetTransactionErrorMessagesByBlockIDRequest)(nil), "flow.execution.GetTransactionErrorMessagesByBlockIDRequest") - proto.RegisterType((*GetTransactionErrorMessagesResponse)(nil), "flow.execution.GetTransactionErrorMessagesResponse") - proto.RegisterType((*GetTransactionErrorMessagesResponse_Result)(nil), "flow.execution.GetTransactionErrorMessagesResponse.Result") - proto.RegisterType((*GetRegisterAtBlockIDRequest)(nil), "flow.execution.GetRegisterAtBlockIDRequest") - proto.RegisterType((*GetRegisterAtBlockIDResponse)(nil), "flow.execution.GetRegisterAtBlockIDResponse") - proto.RegisterType((*GetLatestBlockHeaderRequest)(nil), "flow.execution.GetLatestBlockHeaderRequest") - proto.RegisterType((*GetBlockHeaderByIDRequest)(nil), "flow.execution.GetBlockHeaderByIDRequest") - proto.RegisterType((*BlockHeaderResponse)(nil), "flow.execution.BlockHeaderResponse") - proto.RegisterType((*GetTransactionExecutionMetricsAfterRequest)(nil), "flow.execution.GetTransactionExecutionMetricsAfterRequest") - proto.RegisterType((*GetTransactionExecutionMetricsAfterResponse)(nil), "flow.execution.GetTransactionExecutionMetricsAfterResponse") - proto.RegisterType((*GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight)(nil), "flow.execution.GetTransactionExecutionMetricsAfterResponse.ExecutionEffortWeight") - proto.RegisterType((*GetTransactionExecutionMetricsAfterResponse_Transaction)(nil), "flow.execution.GetTransactionExecutionMetricsAfterResponse.Transaction") - proto.RegisterType((*GetTransactionExecutionMetricsAfterResponse_Result)(nil), "flow.execution.GetTransactionExecutionMetricsAfterResponse.Result") -} - -func init() { proto.RegisterFile("flow/execution/execution.proto", fileDescriptor_699624211ed46c53) } - -var fileDescriptor_699624211ed46c53 = []byte{ - // 1296 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x5b, 0x4f, 0xe3, 0xc6, - 0x17, 0x97, 0x21, 0xdc, 0x4e, 0x2e, 0xda, 0xff, 0xc0, 0x1f, 0x05, 0x73, 0x5d, 0x53, 0x24, 0xba, - 0xb0, 0x49, 0x37, 0xf4, 0xa1, 0x62, 0xfb, 0x42, 0xb6, 0x14, 0x68, 0x4b, 0xd9, 0xf5, 0xd2, 0x56, - 0xbd, 0x29, 0x32, 0xf6, 0x10, 0x5c, 0x88, 0x9d, 0xf5, 0x4c, 0x60, 0xf3, 0x56, 0xa9, 0x2f, 0x95, - 0xfa, 0xd4, 0xb7, 0x55, 0x1f, 0xfa, 0x35, 0xfa, 0xd6, 0xaf, 0x51, 0xf5, 0x13, 0x54, 0xfd, 0x16, - 0x95, 0x67, 0xc6, 0x8e, 0x63, 0x8f, 0x8d, 0x03, 0xed, 0x0b, 0xca, 0x9c, 0x39, 0x73, 0xce, 0x6f, - 0xce, 0xc5, 0xe7, 0x37, 0xc0, 0xca, 0xf9, 0x95, 0x7b, 0x53, 0xc7, 0xaf, 0xb1, 0xd9, 0xa3, 0xb6, - 0xeb, 0x0c, 0x7e, 0xd5, 0xba, 0x9e, 0x4b, 0x5d, 0x54, 0xf1, 0xf7, 0x6b, 0xa1, 0x54, 0x5d, 0xe4, - 0xfa, 0x0e, 0xb5, 0xa9, 0x8d, 0x49, 0xdd, 0x30, 0x4d, 0xb7, 0xe7, 0x50, 0xae, 0xac, 0xae, 0x0d, - 0x6f, 0x9e, 0x5d, 0xb9, 0xe6, 0x65, 0xeb, 0x02, 0x1b, 0x16, 0xf6, 0x84, 0xc6, 0xc2, 0xb0, 0x06, - 0xbe, 0xc6, 0xe1, 0xe1, 0xd5, 0xe1, 0x2d, 0xea, 0x19, 0x0e, 0x31, 0xcc, 0x01, 0x14, 0xad, 0x0c, - 0xc5, 0xe7, 0xb6, 0xd3, 0xd6, 0xf1, 0xab, 0x1e, 0x26, 0x54, 0xab, 0x40, 0x89, 0x2f, 0x49, 0xd7, - 0x75, 0x08, 0xd6, 0x5e, 0x80, 0x7a, 0x80, 0xe9, 0x1e, 0x07, 0xb4, 0x47, 0x9b, 0xbe, 0xf3, 0xa3, - 0x0f, 0x84, 0x36, 0x5a, 0x80, 0x69, 0x0e, 0xc7, 0xb6, 0xaa, 0xca, 0x9a, 0xb2, 0x59, 0xd2, 0xa7, - 0xd8, 0xfa, 0xc8, 0x42, 0x55, 0x98, 0x32, 0x2c, 0xcb, 0xc3, 0x84, 0x54, 0xc7, 0xf8, 0x8e, 0x58, - 0x6a, 0x27, 0xb0, 0x28, 0x35, 0xc9, 0x3d, 0xa2, 0x77, 0x60, 0x4a, 0xdc, 0x9f, 0x99, 0x2c, 0x36, - 0xe6, 0x6b, 0x3c, 0x5a, 0xe2, 0x0e, 0x35, 0x71, 0x52, 0x0f, 0xd4, 0xb4, 0x2e, 0x2c, 0xef, 0xb3, - 0x50, 0xe2, 0x97, 0xa6, 0x67, 0x77, 0x47, 0x82, 0x39, 0x0f, 0x93, 0x84, 0x1d, 0x12, 0x28, 0xc5, - 0x0a, 0x2d, 0xc1, 0x8c, 0xe1, 0xb5, 0x7b, 0x1d, 0xec, 0x50, 0x52, 0x1d, 0x5f, 0x1b, 0xdf, 0x2c, - 0xe9, 0x03, 0x81, 0x66, 0xc2, 0x4a, 0x9a, 0x47, 0x71, 0x8b, 0x39, 0x98, 0xb8, 0x36, 0xae, 0x7a, - 0x58, 0xf8, 0xe3, 0x0b, 0xb4, 0x05, 0xff, 0x33, 0xdd, 0x4e, 0xb7, 0x47, 0x0d, 0x3f, 0x03, 0xad, - 0x1e, 0x31, 0xda, 0x98, 0x39, 0x2e, 0xe8, 0x0f, 0x22, 0x1b, 0x9f, 0xf9, 0x72, 0xed, 0xf7, 0x31, - 0x58, 0x3a, 0xc0, 0x74, 0xdf, 0xcf, 0x26, 0xf9, 0xd0, 0xf5, 0x84, 0x0b, 0x12, 0xfa, 0x38, 0x86, - 0x29, 0x0f, 0x93, 0xde, 0x15, 0x25, 0x55, 0x65, 0x6d, 0x7c, 0xb3, 0xd8, 0xd8, 0xa9, 0x0d, 0xd7, - 0x55, 0x2d, 0xeb, 0x78, 0x4d, 0x67, 0x67, 0xf5, 0xc0, 0x06, 0xfa, 0x12, 0xe6, 0x59, 0xe5, 0xb4, - 0xb0, 0x63, 0xba, 0x96, 0xed, 0xb4, 0x5b, 0xd7, 0xd8, 0x23, 0xb6, 0xeb, 0x30, 0x84, 0x95, 0xc6, - 0x7a, 0x2c, 0x0f, 0xcc, 0xf2, 0xbe, 0xd0, 0xfd, 0x9c, 0xab, 0xea, 0x73, 0x58, 0x22, 0x55, 0x29, - 0x4c, 0x72, 0x6f, 0x59, 0xa9, 0x78, 0x08, 0xa5, 0xa0, 0xb6, 0xed, 0xf6, 0x05, 0x15, 0x71, 0x29, - 0x32, 0xd9, 0x21, 0x13, 0xa1, 0x6d, 0x98, 0x64, 0xf6, 0x79, 0x4a, 0x8a, 0x8d, 0x39, 0x19, 0x24, - 0x5d, 0xe8, 0x68, 0x9f, 0xb2, 0x42, 0x93, 0x04, 0x80, 0x57, 0x05, 0x82, 0x02, 0xed, 0x77, 0x79, - 0x86, 0x66, 0x74, 0xf6, 0x1b, 0x2d, 0xc2, 0x4c, 0x00, 0xcf, 0xaf, 0x5b, 0x3f, 0xed, 0xd3, 0x02, - 0x1f, 0xd1, 0x5a, 0xcc, 0xde, 0xe9, 0xa0, 0x85, 0x44, 0x04, 0x6f, 0xaf, 0xb2, 0x0d, 0xa8, 0x44, - 0x3a, 0xcf, 0x57, 0xe0, 0xd5, 0x56, 0x8e, 0x48, 0x8f, 0x2c, 0xed, 0x84, 0x25, 0x3c, 0xe2, 0xa0, - 0xd9, 0x3f, 0x72, 0x2c, 0xfc, 0x3a, 0x87, 0x87, 0x39, 0x98, 0xb0, 0x7d, 0x55, 0x66, 0xb8, 0xac, - 0xf3, 0x85, 0xf6, 0xcb, 0x58, 0xdc, 0x62, 0x00, 0x59, 0x94, 0xd0, 0x2a, 0x14, 0x09, 0x35, 0x68, - 0x8f, 0xb4, 0x4c, 0xd7, 0xe2, 0xa1, 0x28, 0xeb, 0xc0, 0x45, 0xcf, 0x5c, 0x0b, 0xa3, 0x75, 0x28, - 0x63, 0xcf, 0x73, 0xbd, 0x56, 0x07, 0x93, 0xb0, 0x5a, 0x67, 0xf4, 0x12, 0x13, 0x1e, 0x73, 0xd9, - 0x68, 0x69, 0xc9, 0xa8, 0xb3, 0xc2, 0x3d, 0xeb, 0x4c, 0xde, 0x5f, 0x13, 0x29, 0xfd, 0xf5, 0x3e, - 0xac, 0x0e, 0xc7, 0x86, 0x34, 0xfb, 0xb9, 0x3f, 0x1c, 0xda, 0x9f, 0x0a, 0x2c, 0xcb, 0x42, 0x3b, - 0x68, 0xcf, 0x6f, 0x61, 0x36, 0x9a, 0xf4, 0xe1, 0x56, 0xdd, 0x96, 0xb4, 0x6a, 0x6a, 0x9a, 0x74, - 0x44, 0x13, 0x6e, 0xfe, 0xc3, 0x76, 0xd5, 0x30, 0x3c, 0x1c, 0x86, 0xb3, 0x1f, 0xc9, 0xf6, 0xbf, - 0x57, 0xee, 0x5f, 0xc3, 0x66, 0xba, 0x9b, 0xfb, 0x96, 0x7e, 0x17, 0xb4, 0xac, 0x3b, 0x88, 0x1c, - 0x25, 0x91, 0x2a, 0x12, 0xa4, 0xb9, 0xba, 0x40, 0x3b, 0x84, 0xad, 0x74, 0x8f, 0x23, 0xd5, 0xd6, - 0x5f, 0x0a, 0xac, 0x67, 0x98, 0x0a, 0xd1, 0x9f, 0xc6, 0x07, 0xc0, 0x6e, 0x76, 0x55, 0x49, 0xad, - 0xc4, 0xe7, 0x80, 0xfa, 0x5d, 0xf8, 0xb1, 0xce, 0x19, 0x1d, 0x69, 0x02, 0x92, 0x31, 0x1b, 0x97, - 0xc4, 0xec, 0x47, 0x85, 0x7d, 0x53, 0x75, 0xdc, 0xb6, 0x09, 0xc5, 0xde, 0x28, 0x93, 0x7b, 0x03, - 0x2a, 0x9e, 0x38, 0xd6, 0x72, 0x6f, 0x1c, 0xec, 0x05, 0x45, 0x16, 0x48, 0x4f, 0x7c, 0xa1, 0x3f, - 0x55, 0x42, 0xb5, 0x4b, 0xdc, 0x67, 0xdf, 0x98, 0x92, 0x5e, 0x0c, 0x64, 0x1f, 0xe3, 0xfe, 0x47, - 0x85, 0xe9, 0xf1, 0x07, 0x05, 0xed, 0x5d, 0xf6, 0xa9, 0x94, 0x20, 0xc9, 0x9a, 0xe8, 0xda, 0x2e, - 0xc3, 0xff, 0x89, 0x41, 0x31, 0xe1, 0x27, 0x0e, 0x19, 0x31, 0x0b, 0xf0, 0x2f, 0xc2, 0x8c, 0x4d, - 0x5a, 0x04, 0x1b, 0x57, 0x98, 0x5f, 0x60, 0x5a, 0x9f, 0xb6, 0xc9, 0x4b, 0xb6, 0xd6, 0xb6, 0x60, - 0xe1, 0x00, 0x47, 0x4f, 0x35, 0xfb, 0x83, 0x9b, 0x57, 0x60, 0x2c, 0xbc, 0xf3, 0x98, 0x6d, 0x69, - 0x07, 0x30, 0x3b, 0x64, 0x3f, 0x64, 0x4b, 0x13, 0x2c, 0x20, 0x82, 0x2b, 0xa9, 0xb1, 0xa6, 0x8f, - 0x1e, 0xe1, 0x8a, 0xda, 0x09, 0x3c, 0x8a, 0x55, 0x45, 0x50, 0x2d, 0xc7, 0x98, 0x7a, 0xb6, 0x49, - 0xf6, 0xce, 0xe9, 0xe0, 0x02, 0xf1, 0xa1, 0xac, 0x24, 0x86, 0xb2, 0xf6, 0x47, 0x21, 0x51, 0xf8, - 0x72, 0x8b, 0x02, 0xf2, 0x37, 0xf1, 0xaa, 0x6d, 0xde, 0x52, 0xb5, 0x59, 0xd6, 0x12, 0xd5, 0xfb, - 0x0c, 0xfe, 0x1f, 0x1e, 0xd8, 0x3f, 0x3f, 0x77, 0x3d, 0xfa, 0x05, 0xe7, 0x0e, 0x08, 0x0a, 0x97, - 0xb6, 0x63, 0x89, 0x1b, 0xb0, 0xdf, 0x3e, 0xfb, 0xbb, 0x89, 0x92, 0x0d, 0xb1, 0x52, 0xff, 0x56, - 0xa0, 0x18, 0x41, 0x90, 0xb7, 0x11, 0x36, 0xa0, 0x12, 0x5e, 0xa2, 0x45, 0xed, 0x4e, 0xc0, 0xed, - 0xca, 0xa1, 0xf4, 0xd4, 0xee, 0x60, 0xf4, 0x93, 0x02, 0xd5, 0x81, 0x1e, 0x66, 0x20, 0x5b, 0xdc, - 0x73, 0x30, 0x41, 0x5f, 0xdc, 0x27, 0x24, 0xd2, 0xfb, 0xeb, 0xf3, 0x58, 0x26, 0x26, 0xea, 0x1b, - 0x25, 0xec, 0xf7, 0xdb, 0x93, 0x8d, 0x2e, 0xa1, 0x14, 0xb9, 0x33, 0xe7, 0x48, 0xc5, 0xc6, 0xc1, - 0x7d, 0xe0, 0x46, 0xc7, 0xde, 0x90, 0xf1, 0xc6, 0x6f, 0x65, 0x28, 0x85, 0x67, 0xf7, 0x9e, 0x1f, - 0xa1, 0x3d, 0x28, 0xf8, 0xaf, 0x13, 0xb4, 0x18, 0xf7, 0x17, 0x79, 0xc2, 0xa8, 0x4b, 0xf2, 0x4d, - 0x51, 0x7d, 0x0e, 0xcc, 0x4a, 0x5e, 0x1f, 0xe8, 0x91, 0xe4, 0x06, 0x29, 0xaf, 0x1e, 0x75, 0x2b, - 0x97, 0xae, 0xf0, 0x77, 0x03, 0xf3, 0xf2, 0xa7, 0x02, 0x7a, 0x1c, 0x37, 0x93, 0xf9, 0x88, 0x51, - 0x6b, 0x79, 0xd5, 0x85, 0xe3, 0x57, 0x30, 0x27, 0x63, 0xbf, 0x68, 0x2b, 0xdf, 0x23, 0x81, 0x3b, - 0xdd, 0x1e, 0xe5, 0x45, 0x21, 0x5c, 0x26, 0x68, 0x8c, 0xd4, 0x65, 0x1a, 0x8d, 0x56, 0x47, 0x62, - 0x46, 0xa8, 0x2f, 0xe7, 0xe4, 0x82, 0x3d, 0xa0, 0x5b, 0x8c, 0x0d, 0x93, 0x8c, 0x11, 0x5d, 0x7f, - 0xaf, 0xc0, 0x8a, 0x94, 0x01, 0x86, 0xa3, 0x1e, 0xd5, 0xb3, 0x0d, 0x26, 0x48, 0x81, 0xfa, 0x38, - 0x0f, 0x82, 0x41, 0xc0, 0x7f, 0x50, 0xd8, 0xf3, 0x3c, 0x65, 0xc4, 0xa3, 0x27, 0xf9, 0xe9, 0x40, - 0x00, 0xa0, 0x31, 0xca, 0x11, 0x81, 0xe2, 0x67, 0x25, 0x8b, 0x2f, 0x06, 0xa9, 0x78, 0x2f, 0xbf, - 0xe5, 0x58, 0x5a, 0xee, 0x82, 0xe9, 0x8d, 0x02, 0x6f, 0xe5, 0x61, 0x63, 0xe8, 0xe9, 0x08, 0x94, - 0x29, 0x91, 0xae, 0x9d, 0x3b, 0xf0, 0x2d, 0xd1, 0x25, 0x09, 0xa2, 0x21, 0xed, 0x92, 0x34, 0x62, - 0x24, 0x2d, 0xd5, 0x74, 0xee, 0x72, 0xc1, 0x5c, 0x26, 0x58, 0x8a, 0xd4, 0x65, 0x1a, 0x97, 0x51, - 0xd7, 0xe3, 0xca, 0x32, 0x3e, 0x62, 0x01, 0x4a, 0x72, 0x1a, 0xf4, 0xb6, 0xc4, 0x8f, 0x9c, 0xf7, - 0xe4, 0xf3, 0xf2, 0x6b, 0x92, 0x20, 0xcb, 0x46, 0x0c, 0xda, 0xbd, 0xd3, 0x5c, 0xe2, 0x40, 0x9e, - 0xde, 0x63, 0xa6, 0x35, 0x75, 0x58, 0x76, 0xbd, 0x76, 0xcd, 0x75, 0x98, 0x0d, 0xf6, 0x9f, 0xb6, - 0xb3, 0xde, 0xf9, 0xc0, 0xd8, 0x57, 0x4f, 0xda, 0x36, 0xbd, 0xe8, 0x9d, 0xd5, 0x4c, 0xb7, 0x53, - 0xe7, 0x5a, 0x75, 0xf6, 0x27, 0x50, 0xad, 0xb7, 0xdd, 0xfa, 0xf0, 0x3f, 0x11, 0xcf, 0x26, 0xd9, - 0xde, 0xce, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x50, 0xdd, 0xc8, 0xeb, 0x5d, 0x14, 0x00, 0x00, +var File_flow_execution_execution_proto protoreflect.FileDescriptor + +const file_flow_execution_execution_proto_rawDesc = "" + + "\n" + + "\x1eflow/execution/execution.proto\x12\x0eflow.execution\x1a\x1bflow/entities/account.proto\x1a flow/entities/block_header.proto\x1a\x19flow/entities/event.proto\x1a\x1fflow/entities/transaction.proto\"\r\n" + + "\vPingRequest\"\x0e\n" + + "\fPingResponse\"Q\n" + + "\x1aGetAccountAtBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12\x18\n" + + "\aaddress\x18\x02 \x01(\fR\aaddress\"O\n" + + "\x1bGetAccountAtBlockIDResponse\x120\n" + + "\aaccount\x18\x01 \x01(\v2\x16.flow.entities.AccountR\aaccount\"p\n" + + "\x1dExecuteScriptAtBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12\x16\n" + + "\x06script\x18\x02 \x01(\fR\x06script\x12\x1c\n" + + "\targuments\x18\x03 \x03(\fR\targuments\"c\n" + + "\x1eExecuteScriptAtBlockIDResponse\x12\x14\n" + + "\x05value\x18\x01 \x01(\fR\x05value\x12+\n" + + "\x11computation_usage\x18\x02 \x01(\x04R\x10computationUsage\"\xbe\x02\n" + + "\x1cGetEventsForBlockIDsResponse\x12M\n" + + "\aresults\x18\x01 \x03(\v23.flow.execution.GetEventsForBlockIDsResponse.ResultR\aresults\x12Y\n" + + "\x16event_encoding_version\x18\x02 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x1at\n" + + "\x06Result\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12!\n" + + "\fblock_height\x18\x02 \x01(\x04R\vblockHeight\x12,\n" + + "\x06events\x18\x03 \x03(\v2\x14.flow.entities.EventR\x06events\"N\n" + + "\x1bGetEventsForBlockIDsRequest\x12\x12\n" + + "\x04type\x18\x01 \x01(\tR\x04type\x12\x1b\n" + + "\tblock_ids\x18\x02 \x03(\fR\bblockIds\"_\n" + + "\x1bGetTransactionResultRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12%\n" + + "\x0etransaction_id\x18\x02 \x01(\fR\rtransactionId\"O\n" + + "\x1cGetTransactionByIndexRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12\x14\n" + + "\x05index\x18\x02 \x01(\rR\x05index\"\x9a\x02\n" + + "\x1cGetTransactionResultResponse\x12\x1f\n" + + "\vstatus_code\x18\x01 \x01(\rR\n" + + "statusCode\x12#\n" + + "\rerror_message\x18\x02 \x01(\tR\ferrorMessage\x12,\n" + + "\x06events\x18\x03 \x03(\v2\x14.flow.entities.EventR\x06events\x12Y\n" + + "\x16event_encoding_version\x18\x04 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12+\n" + + "\x11computation_usage\x18\x05 \x01(\x04R\x10computationUsage\"<\n" + + "\x1fGetTransactionsByBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\"\xd9\x01\n" + + "\x1dGetTransactionResultsResponse\x12]\n" + + "\x13transaction_results\x18\x01 \x03(\v2,.flow.execution.GetTransactionResultResponseR\x12transactionResults\x12Y\n" + + "\x16event_encoding_version\x18\x02 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\"e\n" + + "!GetTransactionErrorMessageRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12%\n" + + "\x0etransaction_id\x18\x02 \x01(\fR\rtransactionId\"[\n" + + "(GetTransactionErrorMessageByIndexRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12\x14\n" + + "\x05index\x18\x02 \x01(\rR\x05index\"p\n" + + "\"GetTransactionErrorMessageResponse\x12%\n" + + "\x0etransaction_id\x18\x01 \x01(\fR\rtransactionId\x12#\n" + + "\rerror_message\x18\x02 \x01(\tR\ferrorMessage\"H\n" + + "+GetTransactionErrorMessagesByBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\"\xe7\x01\n" + + "#GetTransactionErrorMessagesResponse\x12T\n" + + "\aresults\x18\x01 \x03(\v2:.flow.execution.GetTransactionErrorMessagesResponse.ResultR\aresults\x1aj\n" + + "\x06Result\x12%\n" + + "\x0etransaction_id\x18\x01 \x01(\fR\rtransactionId\x12\x14\n" + + "\x05index\x18\x02 \x01(\rR\x05index\x12#\n" + + "\rerror_message\x18\x03 \x01(\tR\ferrorMessage\"\x88\x01\n" + + "\x1bGetRegisterAtBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12%\n" + + "\x0eregister_owner\x18\x02 \x01(\fR\rregisterOwner\x12!\n" + + "\fregister_key\x18\x04 \x01(\fR\vregisterKeyJ\x04\b\x03\x10\x04\"4\n" + + "\x1cGetRegisterAtBlockIDResponse\x12\x14\n" + + "\x05value\x18\x01 \x01(\fR\x05value\":\n" + + "\x1bGetLatestBlockHeaderRequest\x12\x1b\n" + + "\tis_sealed\x18\x01 \x01(\bR\bisSealed\"+\n" + + "\x19GetBlockHeaderByIDRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\"G\n" + + "\x13BlockHeaderResponse\x120\n" + + "\x05block\x18\x01 \x01(\v2\x1a.flow.entities.BlockHeaderR\x05block\"O\n" + + "*GetTransactionExecutionMetricsAfterRequest\x12!\n" + + "\fblock_height\x18\x01 \x01(\x04R\vblockHeight\"\xd7\x04\n" + + "+GetTransactionExecutionMetricsAfterResponse\x12\\\n" + + "\aresults\x18\x01 \x03(\v2B.flow.execution.GetTransactionExecutionMetricsAfterResponse.ResultR\aresults\x1aC\n" + + "\x15ExecutionEffortWeight\x12\x12\n" + + "\x04kind\x18\x01 \x01(\x04R\x04kind\x12\x16\n" + + "\x06weight\x18\x02 \x01(\x04R\x06weight\x1a\xe9\x01\n" + + "\vTransaction\x12%\n" + + "\x0etransaction_id\x18\x01 \x01(\fR\rtransactionId\x12%\n" + + "\x0eexecution_time\x18\x02 \x01(\x04R\rexecutionTime\x12\x8b\x01\n" + + "\x18execution_effort_weights\x18\x03 \x03(\v2Q.flow.execution.GetTransactionExecutionMetricsAfterResponse.ExecutionEffortWeightR\x16executionEffortWeights\x1a\x98\x01\n" + + "\x06Result\x12!\n" + + "\fblock_height\x18\x01 \x01(\x04R\vblockHeight\x12k\n" + + "\ftransactions\x18\x02 \x03(\v2G.flow.execution.GetTransactionExecutionMetricsAfterResponse.TransactionR\ftransactions2\xb7\r\n" + + "\fExecutionAPI\x12A\n" + + "\x04Ping\x12\x1b.flow.execution.PingRequest\x1a\x1c.flow.execution.PingResponse\x12n\n" + + "\x13GetAccountAtBlockID\x12*.flow.execution.GetAccountAtBlockIDRequest\x1a+.flow.execution.GetAccountAtBlockIDResponse\x12w\n" + + "\x16ExecuteScriptAtBlockID\x12-.flow.execution.ExecuteScriptAtBlockIDRequest\x1a..flow.execution.ExecuteScriptAtBlockIDResponse\x12q\n" + + "\x14GetEventsForBlockIDs\x12+.flow.execution.GetEventsForBlockIDsRequest\x1a,.flow.execution.GetEventsForBlockIDsResponse\x12q\n" + + "\x14GetTransactionResult\x12+.flow.execution.GetTransactionResultRequest\x1a,.flow.execution.GetTransactionResultResponse\x12y\n" + + "\x1bGetTransactionResultByIndex\x12,.flow.execution.GetTransactionByIndexRequest\x1a,.flow.execution.GetTransactionResultResponse\x12\x80\x01\n" + + "\x1eGetTransactionResultsByBlockID\x12/.flow.execution.GetTransactionsByBlockIDRequest\x1a-.flow.execution.GetTransactionResultsResponse\x12\x83\x01\n" + + "\x1aGetTransactionErrorMessage\x121.flow.execution.GetTransactionErrorMessageRequest\x1a2.flow.execution.GetTransactionErrorMessageResponse\x12\x91\x01\n" + + "!GetTransactionErrorMessageByIndex\x128.flow.execution.GetTransactionErrorMessageByIndexRequest\x1a2.flow.execution.GetTransactionErrorMessageResponse\x12\x98\x01\n" + + "$GetTransactionErrorMessagesByBlockID\x12;.flow.execution.GetTransactionErrorMessagesByBlockIDRequest\x1a3.flow.execution.GetTransactionErrorMessagesResponse\x12q\n" + + "\x14GetRegisterAtBlockID\x12+.flow.execution.GetRegisterAtBlockIDRequest\x1a,.flow.execution.GetRegisterAtBlockIDResponse\x12h\n" + + "\x14GetLatestBlockHeader\x12+.flow.execution.GetLatestBlockHeaderRequest\x1a#.flow.execution.BlockHeaderResponse\x12d\n" + + "\x12GetBlockHeaderByID\x12).flow.execution.GetBlockHeaderByIDRequest\x1a#.flow.execution.BlockHeaderResponse\x12\x9e\x01\n" + + "#GetTransactionExecutionMetricsAfter\x12:.flow.execution.GetTransactionExecutionMetricsAfterRequest\x1a;.flow.execution.GetTransactionExecutionMetricsAfterResponseBR\n" + + "\x1dorg.onflow.protobuf.executionZ1github.com/onflow/flow/protobuf/go/flow/executionb\x06proto3" + +var ( + file_flow_execution_execution_proto_rawDescOnce sync.Once + file_flow_execution_execution_proto_rawDescData []byte +) + +func file_flow_execution_execution_proto_rawDescGZIP() []byte { + file_flow_execution_execution_proto_rawDescOnce.Do(func() { + file_flow_execution_execution_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_execution_execution_proto_rawDesc), len(file_flow_execution_execution_proto_rawDesc))) + }) + return file_flow_execution_execution_proto_rawDescData +} + +var file_flow_execution_execution_proto_msgTypes = make([]protoimpl.MessageInfo, 30) +var file_flow_execution_execution_proto_goTypes = []any{ + (*PingRequest)(nil), // 0: flow.execution.PingRequest + (*PingResponse)(nil), // 1: flow.execution.PingResponse + (*GetAccountAtBlockIDRequest)(nil), // 2: flow.execution.GetAccountAtBlockIDRequest + (*GetAccountAtBlockIDResponse)(nil), // 3: flow.execution.GetAccountAtBlockIDResponse + (*ExecuteScriptAtBlockIDRequest)(nil), // 4: flow.execution.ExecuteScriptAtBlockIDRequest + (*ExecuteScriptAtBlockIDResponse)(nil), // 5: flow.execution.ExecuteScriptAtBlockIDResponse + (*GetEventsForBlockIDsResponse)(nil), // 6: flow.execution.GetEventsForBlockIDsResponse + (*GetEventsForBlockIDsRequest)(nil), // 7: flow.execution.GetEventsForBlockIDsRequest + (*GetTransactionResultRequest)(nil), // 8: flow.execution.GetTransactionResultRequest + (*GetTransactionByIndexRequest)(nil), // 9: flow.execution.GetTransactionByIndexRequest + (*GetTransactionResultResponse)(nil), // 10: flow.execution.GetTransactionResultResponse + (*GetTransactionsByBlockIDRequest)(nil), // 11: flow.execution.GetTransactionsByBlockIDRequest + (*GetTransactionResultsResponse)(nil), // 12: flow.execution.GetTransactionResultsResponse + (*GetTransactionErrorMessageRequest)(nil), // 13: flow.execution.GetTransactionErrorMessageRequest + (*GetTransactionErrorMessageByIndexRequest)(nil), // 14: flow.execution.GetTransactionErrorMessageByIndexRequest + (*GetTransactionErrorMessageResponse)(nil), // 15: flow.execution.GetTransactionErrorMessageResponse + (*GetTransactionErrorMessagesByBlockIDRequest)(nil), // 16: flow.execution.GetTransactionErrorMessagesByBlockIDRequest + (*GetTransactionErrorMessagesResponse)(nil), // 17: flow.execution.GetTransactionErrorMessagesResponse + (*GetRegisterAtBlockIDRequest)(nil), // 18: flow.execution.GetRegisterAtBlockIDRequest + (*GetRegisterAtBlockIDResponse)(nil), // 19: flow.execution.GetRegisterAtBlockIDResponse + (*GetLatestBlockHeaderRequest)(nil), // 20: flow.execution.GetLatestBlockHeaderRequest + (*GetBlockHeaderByIDRequest)(nil), // 21: flow.execution.GetBlockHeaderByIDRequest + (*BlockHeaderResponse)(nil), // 22: flow.execution.BlockHeaderResponse + (*GetTransactionExecutionMetricsAfterRequest)(nil), // 23: flow.execution.GetTransactionExecutionMetricsAfterRequest + (*GetTransactionExecutionMetricsAfterResponse)(nil), // 24: flow.execution.GetTransactionExecutionMetricsAfterResponse + (*GetEventsForBlockIDsResponse_Result)(nil), // 25: flow.execution.GetEventsForBlockIDsResponse.Result + (*GetTransactionErrorMessagesResponse_Result)(nil), // 26: flow.execution.GetTransactionErrorMessagesResponse.Result + (*GetTransactionExecutionMetricsAfterResponse_ExecutionEffortWeight)(nil), // 27: flow.execution.GetTransactionExecutionMetricsAfterResponse.ExecutionEffortWeight + (*GetTransactionExecutionMetricsAfterResponse_Transaction)(nil), // 28: flow.execution.GetTransactionExecutionMetricsAfterResponse.Transaction + (*GetTransactionExecutionMetricsAfterResponse_Result)(nil), // 29: flow.execution.GetTransactionExecutionMetricsAfterResponse.Result + (*entities.Account)(nil), // 30: flow.entities.Account + (entities.EventEncodingVersion)(0), // 31: flow.entities.EventEncodingVersion + (*entities.Event)(nil), // 32: flow.entities.Event + (*entities.BlockHeader)(nil), // 33: flow.entities.BlockHeader +} +var file_flow_execution_execution_proto_depIdxs = []int32{ + 30, // 0: flow.execution.GetAccountAtBlockIDResponse.account:type_name -> flow.entities.Account + 25, // 1: flow.execution.GetEventsForBlockIDsResponse.results:type_name -> flow.execution.GetEventsForBlockIDsResponse.Result + 31, // 2: flow.execution.GetEventsForBlockIDsResponse.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 32, // 3: flow.execution.GetTransactionResultResponse.events:type_name -> flow.entities.Event + 31, // 4: flow.execution.GetTransactionResultResponse.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 10, // 5: flow.execution.GetTransactionResultsResponse.transaction_results:type_name -> flow.execution.GetTransactionResultResponse + 31, // 6: flow.execution.GetTransactionResultsResponse.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 26, // 7: flow.execution.GetTransactionErrorMessagesResponse.results:type_name -> flow.execution.GetTransactionErrorMessagesResponse.Result + 33, // 8: flow.execution.BlockHeaderResponse.block:type_name -> flow.entities.BlockHeader + 29, // 9: flow.execution.GetTransactionExecutionMetricsAfterResponse.results:type_name -> flow.execution.GetTransactionExecutionMetricsAfterResponse.Result + 32, // 10: flow.execution.GetEventsForBlockIDsResponse.Result.events:type_name -> flow.entities.Event + 27, // 11: flow.execution.GetTransactionExecutionMetricsAfterResponse.Transaction.execution_effort_weights:type_name -> flow.execution.GetTransactionExecutionMetricsAfterResponse.ExecutionEffortWeight + 28, // 12: flow.execution.GetTransactionExecutionMetricsAfterResponse.Result.transactions:type_name -> flow.execution.GetTransactionExecutionMetricsAfterResponse.Transaction + 0, // 13: flow.execution.ExecutionAPI.Ping:input_type -> flow.execution.PingRequest + 2, // 14: flow.execution.ExecutionAPI.GetAccountAtBlockID:input_type -> flow.execution.GetAccountAtBlockIDRequest + 4, // 15: flow.execution.ExecutionAPI.ExecuteScriptAtBlockID:input_type -> flow.execution.ExecuteScriptAtBlockIDRequest + 7, // 16: flow.execution.ExecutionAPI.GetEventsForBlockIDs:input_type -> flow.execution.GetEventsForBlockIDsRequest + 8, // 17: flow.execution.ExecutionAPI.GetTransactionResult:input_type -> flow.execution.GetTransactionResultRequest + 9, // 18: flow.execution.ExecutionAPI.GetTransactionResultByIndex:input_type -> flow.execution.GetTransactionByIndexRequest + 11, // 19: flow.execution.ExecutionAPI.GetTransactionResultsByBlockID:input_type -> flow.execution.GetTransactionsByBlockIDRequest + 13, // 20: flow.execution.ExecutionAPI.GetTransactionErrorMessage:input_type -> flow.execution.GetTransactionErrorMessageRequest + 14, // 21: flow.execution.ExecutionAPI.GetTransactionErrorMessageByIndex:input_type -> flow.execution.GetTransactionErrorMessageByIndexRequest + 16, // 22: flow.execution.ExecutionAPI.GetTransactionErrorMessagesByBlockID:input_type -> flow.execution.GetTransactionErrorMessagesByBlockIDRequest + 18, // 23: flow.execution.ExecutionAPI.GetRegisterAtBlockID:input_type -> flow.execution.GetRegisterAtBlockIDRequest + 20, // 24: flow.execution.ExecutionAPI.GetLatestBlockHeader:input_type -> flow.execution.GetLatestBlockHeaderRequest + 21, // 25: flow.execution.ExecutionAPI.GetBlockHeaderByID:input_type -> flow.execution.GetBlockHeaderByIDRequest + 23, // 26: flow.execution.ExecutionAPI.GetTransactionExecutionMetricsAfter:input_type -> flow.execution.GetTransactionExecutionMetricsAfterRequest + 1, // 27: flow.execution.ExecutionAPI.Ping:output_type -> flow.execution.PingResponse + 3, // 28: flow.execution.ExecutionAPI.GetAccountAtBlockID:output_type -> flow.execution.GetAccountAtBlockIDResponse + 5, // 29: flow.execution.ExecutionAPI.ExecuteScriptAtBlockID:output_type -> flow.execution.ExecuteScriptAtBlockIDResponse + 6, // 30: flow.execution.ExecutionAPI.GetEventsForBlockIDs:output_type -> flow.execution.GetEventsForBlockIDsResponse + 10, // 31: flow.execution.ExecutionAPI.GetTransactionResult:output_type -> flow.execution.GetTransactionResultResponse + 10, // 32: flow.execution.ExecutionAPI.GetTransactionResultByIndex:output_type -> flow.execution.GetTransactionResultResponse + 12, // 33: flow.execution.ExecutionAPI.GetTransactionResultsByBlockID:output_type -> flow.execution.GetTransactionResultsResponse + 15, // 34: flow.execution.ExecutionAPI.GetTransactionErrorMessage:output_type -> flow.execution.GetTransactionErrorMessageResponse + 15, // 35: flow.execution.ExecutionAPI.GetTransactionErrorMessageByIndex:output_type -> flow.execution.GetTransactionErrorMessageResponse + 17, // 36: flow.execution.ExecutionAPI.GetTransactionErrorMessagesByBlockID:output_type -> flow.execution.GetTransactionErrorMessagesResponse + 19, // 37: flow.execution.ExecutionAPI.GetRegisterAtBlockID:output_type -> flow.execution.GetRegisterAtBlockIDResponse + 22, // 38: flow.execution.ExecutionAPI.GetLatestBlockHeader:output_type -> flow.execution.BlockHeaderResponse + 22, // 39: flow.execution.ExecutionAPI.GetBlockHeaderByID:output_type -> flow.execution.BlockHeaderResponse + 24, // 40: flow.execution.ExecutionAPI.GetTransactionExecutionMetricsAfter:output_type -> flow.execution.GetTransactionExecutionMetricsAfterResponse + 27, // [27:41] is the sub-list for method output_type + 13, // [13:27] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name +} + +func init() { file_flow_execution_execution_proto_init() } +func file_flow_execution_execution_proto_init() { + if File_flow_execution_execution_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_execution_execution_proto_rawDesc), len(file_flow_execution_execution_proto_rawDesc)), + NumEnums: 0, + NumMessages: 30, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_flow_execution_execution_proto_goTypes, + DependencyIndexes: file_flow_execution_execution_proto_depIdxs, + MessageInfos: file_flow_execution_execution_proto_msgTypes, + }.Build() + File_flow_execution_execution_proto = out.File + file_flow_execution_execution_proto_goTypes = nil + file_flow_execution_execution_proto_depIdxs = nil } diff --git a/protobuf/go/flow/execution/execution_grpc.pb.go b/protobuf/go/flow/execution/execution_grpc.pb.go index 7cec5def6..8a6735a4d 100644 --- a/protobuf/go/flow/execution/execution_grpc.pb.go +++ b/protobuf/go/flow/execution/execution_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.6.0 // - protoc (unknown) // source: flow/execution/execution.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( ExecutionAPI_Ping_FullMethodName = "/flow.execution.ExecutionAPI/Ping" @@ -38,6 +38,8 @@ const ( // ExecutionAPIClient is the client API for ExecutionAPI service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// ExecutionAPI is the API provided by the execution nodes. type ExecutionAPIClient interface { // Ping is used to check if the access node is alive and healthy. Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) @@ -94,8 +96,9 @@ func NewExecutionAPIClient(cc grpc.ClientConnInterface) ExecutionAPIClient { } func (c *executionAPIClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PingResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_Ping_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_Ping_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -103,8 +106,9 @@ func (c *executionAPIClient) Ping(ctx context.Context, in *PingRequest, opts ... } func (c *executionAPIClient) GetAccountAtBlockID(ctx context.Context, in *GetAccountAtBlockIDRequest, opts ...grpc.CallOption) (*GetAccountAtBlockIDResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAccountAtBlockIDResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetAccountAtBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetAccountAtBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -112,8 +116,9 @@ func (c *executionAPIClient) GetAccountAtBlockID(ctx context.Context, in *GetAcc } func (c *executionAPIClient) ExecuteScriptAtBlockID(ctx context.Context, in *ExecuteScriptAtBlockIDRequest, opts ...grpc.CallOption) (*ExecuteScriptAtBlockIDResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExecuteScriptAtBlockIDResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_ExecuteScriptAtBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_ExecuteScriptAtBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -121,8 +126,9 @@ func (c *executionAPIClient) ExecuteScriptAtBlockID(ctx context.Context, in *Exe } func (c *executionAPIClient) GetEventsForBlockIDs(ctx context.Context, in *GetEventsForBlockIDsRequest, opts ...grpc.CallOption) (*GetEventsForBlockIDsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetEventsForBlockIDsResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetEventsForBlockIDs_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetEventsForBlockIDs_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -130,8 +136,9 @@ func (c *executionAPIClient) GetEventsForBlockIDs(ctx context.Context, in *GetEv } func (c *executionAPIClient) GetTransactionResult(ctx context.Context, in *GetTransactionResultRequest, opts ...grpc.CallOption) (*GetTransactionResultResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTransactionResultResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionResult_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionResult_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -139,8 +146,9 @@ func (c *executionAPIClient) GetTransactionResult(ctx context.Context, in *GetTr } func (c *executionAPIClient) GetTransactionResultByIndex(ctx context.Context, in *GetTransactionByIndexRequest, opts ...grpc.CallOption) (*GetTransactionResultResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTransactionResultResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionResultByIndex_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionResultByIndex_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -148,8 +156,9 @@ func (c *executionAPIClient) GetTransactionResultByIndex(ctx context.Context, in } func (c *executionAPIClient) GetTransactionResultsByBlockID(ctx context.Context, in *GetTransactionsByBlockIDRequest, opts ...grpc.CallOption) (*GetTransactionResultsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTransactionResultsResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionResultsByBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionResultsByBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -157,8 +166,9 @@ func (c *executionAPIClient) GetTransactionResultsByBlockID(ctx context.Context, } func (c *executionAPIClient) GetTransactionErrorMessage(ctx context.Context, in *GetTransactionErrorMessageRequest, opts ...grpc.CallOption) (*GetTransactionErrorMessageResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTransactionErrorMessageResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionErrorMessage_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionErrorMessage_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -166,8 +176,9 @@ func (c *executionAPIClient) GetTransactionErrorMessage(ctx context.Context, in } func (c *executionAPIClient) GetTransactionErrorMessageByIndex(ctx context.Context, in *GetTransactionErrorMessageByIndexRequest, opts ...grpc.CallOption) (*GetTransactionErrorMessageResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTransactionErrorMessageResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionErrorMessageByIndex_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionErrorMessageByIndex_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -175,8 +186,9 @@ func (c *executionAPIClient) GetTransactionErrorMessageByIndex(ctx context.Conte } func (c *executionAPIClient) GetTransactionErrorMessagesByBlockID(ctx context.Context, in *GetTransactionErrorMessagesByBlockIDRequest, opts ...grpc.CallOption) (*GetTransactionErrorMessagesResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTransactionErrorMessagesResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionErrorMessagesByBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionErrorMessagesByBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -184,8 +196,9 @@ func (c *executionAPIClient) GetTransactionErrorMessagesByBlockID(ctx context.Co } func (c *executionAPIClient) GetRegisterAtBlockID(ctx context.Context, in *GetRegisterAtBlockIDRequest, opts ...grpc.CallOption) (*GetRegisterAtBlockIDResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetRegisterAtBlockIDResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetRegisterAtBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetRegisterAtBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -193,8 +206,9 @@ func (c *executionAPIClient) GetRegisterAtBlockID(ctx context.Context, in *GetRe } func (c *executionAPIClient) GetLatestBlockHeader(ctx context.Context, in *GetLatestBlockHeaderRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockHeaderResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetLatestBlockHeader_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetLatestBlockHeader_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -202,8 +216,9 @@ func (c *executionAPIClient) GetLatestBlockHeader(ctx context.Context, in *GetLa } func (c *executionAPIClient) GetBlockHeaderByID(ctx context.Context, in *GetBlockHeaderByIDRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockHeaderResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetBlockHeaderByID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetBlockHeaderByID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -211,8 +226,9 @@ func (c *executionAPIClient) GetBlockHeaderByID(ctx context.Context, in *GetBloc } func (c *executionAPIClient) GetTransactionExecutionMetricsAfter(ctx context.Context, in *GetTransactionExecutionMetricsAfterRequest, opts ...grpc.CallOption) (*GetTransactionExecutionMetricsAfterResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTransactionExecutionMetricsAfterResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionExecutionMetricsAfter_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionExecutionMetricsAfter_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -221,7 +237,9 @@ func (c *executionAPIClient) GetTransactionExecutionMetricsAfter(ctx context.Con // ExecutionAPIServer is the server API for ExecutionAPI service. // All implementations should embed UnimplementedExecutionAPIServer -// for forward compatibility +// for forward compatibility. +// +// ExecutionAPI is the API provided by the execution nodes. type ExecutionAPIServer interface { // Ping is used to check if the access node is alive and healthy. Ping(context.Context, *PingRequest) (*PingResponse, error) @@ -269,52 +287,56 @@ type ExecutionAPIServer interface { GetTransactionExecutionMetricsAfter(context.Context, *GetTransactionExecutionMetricsAfterRequest) (*GetTransactionExecutionMetricsAfterResponse, error) } -// UnimplementedExecutionAPIServer should be embedded to have forward compatible implementations. -type UnimplementedExecutionAPIServer struct { -} +// UnimplementedExecutionAPIServer should be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedExecutionAPIServer struct{} func (UnimplementedExecutionAPIServer) Ping(context.Context, *PingRequest) (*PingResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") + return nil, status.Error(codes.Unimplemented, "method Ping not implemented") } func (UnimplementedExecutionAPIServer) GetAccountAtBlockID(context.Context, *GetAccountAtBlockIDRequest) (*GetAccountAtBlockIDResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountAtBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccountAtBlockID not implemented") } func (UnimplementedExecutionAPIServer) ExecuteScriptAtBlockID(context.Context, *ExecuteScriptAtBlockIDRequest) (*ExecuteScriptAtBlockIDResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExecuteScriptAtBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method ExecuteScriptAtBlockID not implemented") } func (UnimplementedExecutionAPIServer) GetEventsForBlockIDs(context.Context, *GetEventsForBlockIDsRequest) (*GetEventsForBlockIDsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEventsForBlockIDs not implemented") + return nil, status.Error(codes.Unimplemented, "method GetEventsForBlockIDs not implemented") } func (UnimplementedExecutionAPIServer) GetTransactionResult(context.Context, *GetTransactionResultRequest) (*GetTransactionResultResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionResult not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionResult not implemented") } func (UnimplementedExecutionAPIServer) GetTransactionResultByIndex(context.Context, *GetTransactionByIndexRequest) (*GetTransactionResultResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionResultByIndex not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionResultByIndex not implemented") } func (UnimplementedExecutionAPIServer) GetTransactionResultsByBlockID(context.Context, *GetTransactionsByBlockIDRequest) (*GetTransactionResultsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionResultsByBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionResultsByBlockID not implemented") } func (UnimplementedExecutionAPIServer) GetTransactionErrorMessage(context.Context, *GetTransactionErrorMessageRequest) (*GetTransactionErrorMessageResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionErrorMessage not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionErrorMessage not implemented") } func (UnimplementedExecutionAPIServer) GetTransactionErrorMessageByIndex(context.Context, *GetTransactionErrorMessageByIndexRequest) (*GetTransactionErrorMessageResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionErrorMessageByIndex not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionErrorMessageByIndex not implemented") } func (UnimplementedExecutionAPIServer) GetTransactionErrorMessagesByBlockID(context.Context, *GetTransactionErrorMessagesByBlockIDRequest) (*GetTransactionErrorMessagesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionErrorMessagesByBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionErrorMessagesByBlockID not implemented") } func (UnimplementedExecutionAPIServer) GetRegisterAtBlockID(context.Context, *GetRegisterAtBlockIDRequest) (*GetRegisterAtBlockIDResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRegisterAtBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetRegisterAtBlockID not implemented") } func (UnimplementedExecutionAPIServer) GetLatestBlockHeader(context.Context, *GetLatestBlockHeaderRequest) (*BlockHeaderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLatestBlockHeader not implemented") + return nil, status.Error(codes.Unimplemented, "method GetLatestBlockHeader not implemented") } func (UnimplementedExecutionAPIServer) GetBlockHeaderByID(context.Context, *GetBlockHeaderByIDRequest) (*BlockHeaderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockHeaderByID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetBlockHeaderByID not implemented") } func (UnimplementedExecutionAPIServer) GetTransactionExecutionMetricsAfter(context.Context, *GetTransactionExecutionMetricsAfterRequest) (*GetTransactionExecutionMetricsAfterResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionExecutionMetricsAfter not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionExecutionMetricsAfter not implemented") } +func (UnimplementedExecutionAPIServer) testEmbeddedByValue() {} // UnsafeExecutionAPIServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to ExecutionAPIServer will @@ -324,6 +346,13 @@ type UnsafeExecutionAPIServer interface { } func RegisterExecutionAPIServer(s grpc.ServiceRegistrar, srv ExecutionAPIServer) { + // If the following call panics, it indicates UnimplementedExecutionAPIServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&ExecutionAPI_ServiceDesc, srv) } diff --git a/protobuf/go/flow/executiondata/executiondata.pb.go b/protobuf/go/flow/executiondata/executiondata.pb.go index 8c0ec8b54..bbf896354 100644 --- a/protobuf/go/flow/executiondata/executiondata.pb.go +++ b/protobuf/go/flow/executiondata/executiondata.pb.go @@ -1,29 +1,31 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/executiondata/executiondata.proto package executiondata import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" entities "github.com/onflow/flow/protobuf/go/flow/entities" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - math "math" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) // The request for GetExecutionDataByBlockID type GetExecutionDataByBlockIDRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the block to get execution data for. BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` // Preferred event encoding version of the block events payload. @@ -32,110 +34,120 @@ type GetExecutionDataByBlockIDRequest struct { // 2. JSON-CDC EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,2,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetExecutionDataByBlockIDRequest) Reset() { *m = GetExecutionDataByBlockIDRequest{} } -func (m *GetExecutionDataByBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetExecutionDataByBlockIDRequest) ProtoMessage() {} -func (*GetExecutionDataByBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{0} +func (x *GetExecutionDataByBlockIDRequest) Reset() { + *x = GetExecutionDataByBlockIDRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetExecutionDataByBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetExecutionDataByBlockIDRequest.Unmarshal(m, b) -} -func (m *GetExecutionDataByBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetExecutionDataByBlockIDRequest.Marshal(b, m, deterministic) +func (x *GetExecutionDataByBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetExecutionDataByBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExecutionDataByBlockIDRequest.Merge(m, src) -} -func (m *GetExecutionDataByBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_GetExecutionDataByBlockIDRequest.Size(m) -} -func (m *GetExecutionDataByBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetExecutionDataByBlockIDRequest.DiscardUnknown(m) + +func (*GetExecutionDataByBlockIDRequest) ProtoMessage() {} + +func (x *GetExecutionDataByBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetExecutionDataByBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use GetExecutionDataByBlockIDRequest.ProtoReflect.Descriptor instead. +func (*GetExecutionDataByBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{0} +} -func (m *GetExecutionDataByBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetExecutionDataByBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetExecutionDataByBlockIDRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *GetExecutionDataByBlockIDRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *GetExecutionDataByBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetExecutionDataByBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // The response for GetExecutionDataByBlockID type GetExecutionDataByBlockIDResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` // BlockExecutionData for the block. BlockExecutionData *entities.BlockExecutionData `protobuf:"bytes,1,opt,name=block_execution_data,json=blockExecutionData,proto3" json:"block_execution_data,omitempty"` // Metadata about the execution result that was used to produce this response. - ExecutorMetadata *entities.ExecutorMetadata `protobuf:"bytes,2,opt,name=executor_metadata,json=executorMetadata,proto3" json:"executor_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutorMetadata *entities.ExecutorMetadata `protobuf:"bytes,2,opt,name=executor_metadata,json=executorMetadata,proto3" json:"executor_metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetExecutionDataByBlockIDResponse) Reset() { *m = GetExecutionDataByBlockIDResponse{} } -func (m *GetExecutionDataByBlockIDResponse) String() string { return proto.CompactTextString(m) } -func (*GetExecutionDataByBlockIDResponse) ProtoMessage() {} -func (*GetExecutionDataByBlockIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{1} +func (x *GetExecutionDataByBlockIDResponse) Reset() { + *x = GetExecutionDataByBlockIDResponse{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetExecutionDataByBlockIDResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetExecutionDataByBlockIDResponse.Unmarshal(m, b) -} -func (m *GetExecutionDataByBlockIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetExecutionDataByBlockIDResponse.Marshal(b, m, deterministic) -} -func (m *GetExecutionDataByBlockIDResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExecutionDataByBlockIDResponse.Merge(m, src) -} -func (m *GetExecutionDataByBlockIDResponse) XXX_Size() int { - return xxx_messageInfo_GetExecutionDataByBlockIDResponse.Size(m) +func (x *GetExecutionDataByBlockIDResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetExecutionDataByBlockIDResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetExecutionDataByBlockIDResponse.DiscardUnknown(m) + +func (*GetExecutionDataByBlockIDResponse) ProtoMessage() {} + +func (x *GetExecutionDataByBlockIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetExecutionDataByBlockIDResponse proto.InternalMessageInfo +// Deprecated: Use GetExecutionDataByBlockIDResponse.ProtoReflect.Descriptor instead. +func (*GetExecutionDataByBlockIDResponse) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{1} +} -func (m *GetExecutionDataByBlockIDResponse) GetBlockExecutionData() *entities.BlockExecutionData { - if m != nil { - return m.BlockExecutionData +func (x *GetExecutionDataByBlockIDResponse) GetBlockExecutionData() *entities.BlockExecutionData { + if x != nil { + return x.BlockExecutionData } return nil } -func (m *GetExecutionDataByBlockIDResponse) GetExecutorMetadata() *entities.ExecutorMetadata { - if m != nil { - return m.ExecutorMetadata +func (x *GetExecutionDataByBlockIDResponse) GetExecutorMetadata() *entities.ExecutorMetadata { + if x != nil { + return x.ExecutorMetadata } return nil } // The request for SubscribeExecutionData type SubscribeExecutionDataRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the first block to get execution data for. // Only one of start_block_id and start_block_height may be provided, // otherwise an InvalidArgument error is returned. If neither are provided, @@ -152,67 +164,72 @@ type SubscribeExecutionDataRequest struct { // 2. JSON-CDC EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,3,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeExecutionDataRequest) Reset() { *m = SubscribeExecutionDataRequest{} } -func (m *SubscribeExecutionDataRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeExecutionDataRequest) ProtoMessage() {} -func (*SubscribeExecutionDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{2} +func (x *SubscribeExecutionDataRequest) Reset() { + *x = SubscribeExecutionDataRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeExecutionDataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeExecutionDataRequest.Unmarshal(m, b) -} -func (m *SubscribeExecutionDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeExecutionDataRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeExecutionDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeExecutionDataRequest.Merge(m, src) +func (x *SubscribeExecutionDataRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeExecutionDataRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeExecutionDataRequest.Size(m) -} -func (m *SubscribeExecutionDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeExecutionDataRequest.DiscardUnknown(m) + +func (*SubscribeExecutionDataRequest) ProtoMessage() {} + +func (x *SubscribeExecutionDataRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeExecutionDataRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeExecutionDataRequest.ProtoReflect.Descriptor instead. +func (*SubscribeExecutionDataRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{2} +} -func (m *SubscribeExecutionDataRequest) GetStartBlockId() []byte { - if m != nil { - return m.StartBlockId +func (x *SubscribeExecutionDataRequest) GetStartBlockId() []byte { + if x != nil { + return x.StartBlockId } return nil } -func (m *SubscribeExecutionDataRequest) GetStartBlockHeight() uint64 { - if m != nil { - return m.StartBlockHeight +func (x *SubscribeExecutionDataRequest) GetStartBlockHeight() uint64 { + if x != nil { + return x.StartBlockHeight } return 0 } -func (m *SubscribeExecutionDataRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *SubscribeExecutionDataRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *SubscribeExecutionDataRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SubscribeExecutionDataRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // The response for SubscribeExecutionData type SubscribeExecutionDataResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block height of the block containing the execution data. BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // BlockExecutionData for the block. @@ -221,67 +238,72 @@ type SubscribeExecutionDataResponse struct { // Timestamp from the block containing the execution data. BlockTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"` // Metadata about the execution result that was used to produce this response. - ExecutorMetadata *entities.ExecutorMetadata `protobuf:"bytes,4,opt,name=executor_metadata,json=executorMetadata,proto3" json:"executor_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutorMetadata *entities.ExecutorMetadata `protobuf:"bytes,4,opt,name=executor_metadata,json=executorMetadata,proto3" json:"executor_metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeExecutionDataResponse) Reset() { *m = SubscribeExecutionDataResponse{} } -func (m *SubscribeExecutionDataResponse) String() string { return proto.CompactTextString(m) } -func (*SubscribeExecutionDataResponse) ProtoMessage() {} -func (*SubscribeExecutionDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{3} +func (x *SubscribeExecutionDataResponse) Reset() { + *x = SubscribeExecutionDataResponse{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeExecutionDataResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeExecutionDataResponse.Unmarshal(m, b) +func (x *SubscribeExecutionDataResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeExecutionDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeExecutionDataResponse.Marshal(b, m, deterministic) -} -func (m *SubscribeExecutionDataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeExecutionDataResponse.Merge(m, src) -} -func (m *SubscribeExecutionDataResponse) XXX_Size() int { - return xxx_messageInfo_SubscribeExecutionDataResponse.Size(m) -} -func (m *SubscribeExecutionDataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeExecutionDataResponse.DiscardUnknown(m) + +func (*SubscribeExecutionDataResponse) ProtoMessage() {} + +func (x *SubscribeExecutionDataResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeExecutionDataResponse proto.InternalMessageInfo +// Deprecated: Use SubscribeExecutionDataResponse.ProtoReflect.Descriptor instead. +func (*SubscribeExecutionDataResponse) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{3} +} -func (m *SubscribeExecutionDataResponse) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *SubscribeExecutionDataResponse) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *SubscribeExecutionDataResponse) GetBlockExecutionData() *entities.BlockExecutionData { - if m != nil { - return m.BlockExecutionData +func (x *SubscribeExecutionDataResponse) GetBlockExecutionData() *entities.BlockExecutionData { + if x != nil { + return x.BlockExecutionData } return nil } -func (m *SubscribeExecutionDataResponse) GetBlockTimestamp() *timestamppb.Timestamp { - if m != nil { - return m.BlockTimestamp +func (x *SubscribeExecutionDataResponse) GetBlockTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.BlockTimestamp } return nil } -func (m *SubscribeExecutionDataResponse) GetExecutorMetadata() *entities.ExecutorMetadata { - if m != nil { - return m.ExecutorMetadata +func (x *SubscribeExecutionDataResponse) GetExecutorMetadata() *entities.ExecutorMetadata { + if x != nil { + return x.ExecutorMetadata } return nil } // The request for SubscribeExecutionDataFromStartBlockIDRequest type SubscribeExecutionDataFromStartBlockIDRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the first block to get execution data for. StartBlockId []byte `protobuf:"bytes,1,opt,name=start_block_id,json=startBlockId,proto3" json:"start_block_id,omitempty"` // Preferred event encoding version of the block events payload. @@ -290,64 +312,65 @@ type SubscribeExecutionDataFromStartBlockIDRequest struct { // 2. JSON-CDC EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,2,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeExecutionDataFromStartBlockIDRequest) Reset() { - *m = SubscribeExecutionDataFromStartBlockIDRequest{} +func (x *SubscribeExecutionDataFromStartBlockIDRequest) Reset() { + *x = SubscribeExecutionDataFromStartBlockIDRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeExecutionDataFromStartBlockIDRequest) String() string { - return proto.CompactTextString(m) + +func (x *SubscribeExecutionDataFromStartBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*SubscribeExecutionDataFromStartBlockIDRequest) ProtoMessage() {} -func (*SubscribeExecutionDataFromStartBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{4} -} -func (m *SubscribeExecutionDataFromStartBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeExecutionDataFromStartBlockIDRequest.Unmarshal(m, b) -} -func (m *SubscribeExecutionDataFromStartBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeExecutionDataFromStartBlockIDRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeExecutionDataFromStartBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeExecutionDataFromStartBlockIDRequest.Merge(m, src) -} -func (m *SubscribeExecutionDataFromStartBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeExecutionDataFromStartBlockIDRequest.Size(m) -} -func (m *SubscribeExecutionDataFromStartBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeExecutionDataFromStartBlockIDRequest.DiscardUnknown(m) +func (x *SubscribeExecutionDataFromStartBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeExecutionDataFromStartBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeExecutionDataFromStartBlockIDRequest.ProtoReflect.Descriptor instead. +func (*SubscribeExecutionDataFromStartBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{4} +} -func (m *SubscribeExecutionDataFromStartBlockIDRequest) GetStartBlockId() []byte { - if m != nil { - return m.StartBlockId +func (x *SubscribeExecutionDataFromStartBlockIDRequest) GetStartBlockId() []byte { + if x != nil { + return x.StartBlockId } return nil } -func (m *SubscribeExecutionDataFromStartBlockIDRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *SubscribeExecutionDataFromStartBlockIDRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *SubscribeExecutionDataFromStartBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SubscribeExecutionDataFromStartBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // The request for SubscribeExecutionDataFromStartBlockHeightRequest type SubscribeExecutionDataFromStartBlockHeightRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block height of the first block to get execution data for. StartBlockHeight uint64 `protobuf:"varint,1,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"` // Preferred event encoding version of the block events payload. @@ -356,119 +379,123 @@ type SubscribeExecutionDataFromStartBlockHeightRequest struct { // 2. JSON-CDC EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,2,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeExecutionDataFromStartBlockHeightRequest) Reset() { - *m = SubscribeExecutionDataFromStartBlockHeightRequest{} +func (x *SubscribeExecutionDataFromStartBlockHeightRequest) Reset() { + *x = SubscribeExecutionDataFromStartBlockHeightRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeExecutionDataFromStartBlockHeightRequest) String() string { - return proto.CompactTextString(m) + +func (x *SubscribeExecutionDataFromStartBlockHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*SubscribeExecutionDataFromStartBlockHeightRequest) ProtoMessage() {} -func (*SubscribeExecutionDataFromStartBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{5} -} -func (m *SubscribeExecutionDataFromStartBlockHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeExecutionDataFromStartBlockHeightRequest.Unmarshal(m, b) -} -func (m *SubscribeExecutionDataFromStartBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeExecutionDataFromStartBlockHeightRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeExecutionDataFromStartBlockHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeExecutionDataFromStartBlockHeightRequest.Merge(m, src) -} -func (m *SubscribeExecutionDataFromStartBlockHeightRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeExecutionDataFromStartBlockHeightRequest.Size(m) -} -func (m *SubscribeExecutionDataFromStartBlockHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeExecutionDataFromStartBlockHeightRequest.DiscardUnknown(m) +func (x *SubscribeExecutionDataFromStartBlockHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeExecutionDataFromStartBlockHeightRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeExecutionDataFromStartBlockHeightRequest.ProtoReflect.Descriptor instead. +func (*SubscribeExecutionDataFromStartBlockHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{5} +} -func (m *SubscribeExecutionDataFromStartBlockHeightRequest) GetStartBlockHeight() uint64 { - if m != nil { - return m.StartBlockHeight +func (x *SubscribeExecutionDataFromStartBlockHeightRequest) GetStartBlockHeight() uint64 { + if x != nil { + return x.StartBlockHeight } return 0 } -func (m *SubscribeExecutionDataFromStartBlockHeightRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *SubscribeExecutionDataFromStartBlockHeightRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *SubscribeExecutionDataFromStartBlockHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SubscribeExecutionDataFromStartBlockHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // The request for SubscribeExecutionDataFromLatestRequest type SubscribeExecutionDataFromLatestRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Preferred event encoding version of the block events payload. // Possible variants: // 1. CCF // 2. JSON-CDC EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,1,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeExecutionDataFromLatestRequest) Reset() { - *m = SubscribeExecutionDataFromLatestRequest{} -} -func (m *SubscribeExecutionDataFromLatestRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeExecutionDataFromLatestRequest) ProtoMessage() {} -func (*SubscribeExecutionDataFromLatestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{6} +func (x *SubscribeExecutionDataFromLatestRequest) Reset() { + *x = SubscribeExecutionDataFromLatestRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeExecutionDataFromLatestRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeExecutionDataFromLatestRequest.Unmarshal(m, b) -} -func (m *SubscribeExecutionDataFromLatestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeExecutionDataFromLatestRequest.Marshal(b, m, deterministic) +func (x *SubscribeExecutionDataFromLatestRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeExecutionDataFromLatestRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeExecutionDataFromLatestRequest.Merge(m, src) -} -func (m *SubscribeExecutionDataFromLatestRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeExecutionDataFromLatestRequest.Size(m) -} -func (m *SubscribeExecutionDataFromLatestRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeExecutionDataFromLatestRequest.DiscardUnknown(m) + +func (*SubscribeExecutionDataFromLatestRequest) ProtoMessage() {} + +func (x *SubscribeExecutionDataFromLatestRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeExecutionDataFromLatestRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeExecutionDataFromLatestRequest.ProtoReflect.Descriptor instead. +func (*SubscribeExecutionDataFromLatestRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{6} +} -func (m *SubscribeExecutionDataFromLatestRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *SubscribeExecutionDataFromLatestRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *SubscribeExecutionDataFromLatestRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SubscribeExecutionDataFromLatestRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // The request for SubscribeEvents type SubscribeEventsRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the first block to search for events. // Only one of start_block_id and start_block_height may be provided, // otherwise an InvalidArgument error is returned. If neither are provided, @@ -497,81 +524,86 @@ type SubscribeEventsRequest struct { // 2. JSON-CDC EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,5,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,6,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,6,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeEventsRequest) Reset() { *m = SubscribeEventsRequest{} } -func (m *SubscribeEventsRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeEventsRequest) ProtoMessage() {} -func (*SubscribeEventsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{7} +func (x *SubscribeEventsRequest) Reset() { + *x = SubscribeEventsRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeEventsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeEventsRequest.Unmarshal(m, b) -} -func (m *SubscribeEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeEventsRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeEventsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeEventsRequest.Merge(m, src) -} -func (m *SubscribeEventsRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeEventsRequest.Size(m) +func (x *SubscribeEventsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeEventsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeEventsRequest.DiscardUnknown(m) + +func (*SubscribeEventsRequest) ProtoMessage() {} + +func (x *SubscribeEventsRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeEventsRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeEventsRequest.ProtoReflect.Descriptor instead. +func (*SubscribeEventsRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{7} +} -func (m *SubscribeEventsRequest) GetStartBlockId() []byte { - if m != nil { - return m.StartBlockId +func (x *SubscribeEventsRequest) GetStartBlockId() []byte { + if x != nil { + return x.StartBlockId } return nil } -func (m *SubscribeEventsRequest) GetStartBlockHeight() uint64 { - if m != nil { - return m.StartBlockHeight +func (x *SubscribeEventsRequest) GetStartBlockHeight() uint64 { + if x != nil { + return x.StartBlockHeight } return 0 } -func (m *SubscribeEventsRequest) GetFilter() *EventFilter { - if m != nil { - return m.Filter +func (x *SubscribeEventsRequest) GetFilter() *EventFilter { + if x != nil { + return x.Filter } return nil } -func (m *SubscribeEventsRequest) GetHeartbeatInterval() uint64 { - if m != nil { - return m.HeartbeatInterval +func (x *SubscribeEventsRequest) GetHeartbeatInterval() uint64 { + if x != nil { + return x.HeartbeatInterval } return 0 } -func (m *SubscribeEventsRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *SubscribeEventsRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *SubscribeEventsRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SubscribeEventsRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // The request for SubscribeEventsFromStartBlockID type SubscribeEventsFromStartBlockIDRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the first block to search for events. StartBlockId []byte `protobuf:"bytes,1,opt,name=start_block_id,json=startBlockId,proto3" json:"start_block_id,omitempty"` // Filter to apply to events for each block searched. @@ -592,76 +624,79 @@ type SubscribeEventsFromStartBlockIDRequest struct { // 2. JSON-CDC EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,4,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,5,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,5,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeEventsFromStartBlockIDRequest) Reset() { - *m = SubscribeEventsFromStartBlockIDRequest{} -} -func (m *SubscribeEventsFromStartBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeEventsFromStartBlockIDRequest) ProtoMessage() {} -func (*SubscribeEventsFromStartBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{8} +func (x *SubscribeEventsFromStartBlockIDRequest) Reset() { + *x = SubscribeEventsFromStartBlockIDRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeEventsFromStartBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeEventsFromStartBlockIDRequest.Unmarshal(m, b) -} -func (m *SubscribeEventsFromStartBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeEventsFromStartBlockIDRequest.Marshal(b, m, deterministic) +func (x *SubscribeEventsFromStartBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeEventsFromStartBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeEventsFromStartBlockIDRequest.Merge(m, src) -} -func (m *SubscribeEventsFromStartBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeEventsFromStartBlockIDRequest.Size(m) -} -func (m *SubscribeEventsFromStartBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeEventsFromStartBlockIDRequest.DiscardUnknown(m) + +func (*SubscribeEventsFromStartBlockIDRequest) ProtoMessage() {} + +func (x *SubscribeEventsFromStartBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeEventsFromStartBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeEventsFromStartBlockIDRequest.ProtoReflect.Descriptor instead. +func (*SubscribeEventsFromStartBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{8} +} -func (m *SubscribeEventsFromStartBlockIDRequest) GetStartBlockId() []byte { - if m != nil { - return m.StartBlockId +func (x *SubscribeEventsFromStartBlockIDRequest) GetStartBlockId() []byte { + if x != nil { + return x.StartBlockId } return nil } -func (m *SubscribeEventsFromStartBlockIDRequest) GetFilter() *EventFilter { - if m != nil { - return m.Filter +func (x *SubscribeEventsFromStartBlockIDRequest) GetFilter() *EventFilter { + if x != nil { + return x.Filter } return nil } -func (m *SubscribeEventsFromStartBlockIDRequest) GetHeartbeatInterval() uint64 { - if m != nil { - return m.HeartbeatInterval +func (x *SubscribeEventsFromStartBlockIDRequest) GetHeartbeatInterval() uint64 { + if x != nil { + return x.HeartbeatInterval } return 0 } -func (m *SubscribeEventsFromStartBlockIDRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *SubscribeEventsFromStartBlockIDRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *SubscribeEventsFromStartBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SubscribeEventsFromStartBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // The request for SubscribeEventsFromStartHeight type SubscribeEventsFromStartHeightRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block height of the first block to search for events. StartBlockHeight uint64 `protobuf:"varint,1,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"` // Filter to apply to events for each block searched. @@ -682,74 +717,79 @@ type SubscribeEventsFromStartHeightRequest struct { // 2. JSON-CDC EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,4,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,5,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,5,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeEventsFromStartHeightRequest) Reset() { *m = SubscribeEventsFromStartHeightRequest{} } -func (m *SubscribeEventsFromStartHeightRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeEventsFromStartHeightRequest) ProtoMessage() {} -func (*SubscribeEventsFromStartHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{9} +func (x *SubscribeEventsFromStartHeightRequest) Reset() { + *x = SubscribeEventsFromStartHeightRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeEventsFromStartHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeEventsFromStartHeightRequest.Unmarshal(m, b) -} -func (m *SubscribeEventsFromStartHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeEventsFromStartHeightRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeEventsFromStartHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeEventsFromStartHeightRequest.Merge(m, src) -} -func (m *SubscribeEventsFromStartHeightRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeEventsFromStartHeightRequest.Size(m) +func (x *SubscribeEventsFromStartHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeEventsFromStartHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeEventsFromStartHeightRequest.DiscardUnknown(m) + +func (*SubscribeEventsFromStartHeightRequest) ProtoMessage() {} + +func (x *SubscribeEventsFromStartHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeEventsFromStartHeightRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeEventsFromStartHeightRequest.ProtoReflect.Descriptor instead. +func (*SubscribeEventsFromStartHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{9} +} -func (m *SubscribeEventsFromStartHeightRequest) GetStartBlockHeight() uint64 { - if m != nil { - return m.StartBlockHeight +func (x *SubscribeEventsFromStartHeightRequest) GetStartBlockHeight() uint64 { + if x != nil { + return x.StartBlockHeight } return 0 } -func (m *SubscribeEventsFromStartHeightRequest) GetFilter() *EventFilter { - if m != nil { - return m.Filter +func (x *SubscribeEventsFromStartHeightRequest) GetFilter() *EventFilter { + if x != nil { + return x.Filter } return nil } -func (m *SubscribeEventsFromStartHeightRequest) GetHeartbeatInterval() uint64 { - if m != nil { - return m.HeartbeatInterval +func (x *SubscribeEventsFromStartHeightRequest) GetHeartbeatInterval() uint64 { + if x != nil { + return x.HeartbeatInterval } return 0 } -func (m *SubscribeEventsFromStartHeightRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *SubscribeEventsFromStartHeightRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *SubscribeEventsFromStartHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SubscribeEventsFromStartHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // The request for SubscribeEventsFromLatest type SubscribeEventsFromLatestRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Filter to apply to events for each block searched. // If no filter is provided, all events are returned. Filter *EventFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` @@ -768,67 +808,72 @@ type SubscribeEventsFromLatestRequest struct { // 2. JSON-CDC EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,3,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeEventsFromLatestRequest) Reset() { *m = SubscribeEventsFromLatestRequest{} } -func (m *SubscribeEventsFromLatestRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeEventsFromLatestRequest) ProtoMessage() {} -func (*SubscribeEventsFromLatestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{10} +func (x *SubscribeEventsFromLatestRequest) Reset() { + *x = SubscribeEventsFromLatestRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeEventsFromLatestRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeEventsFromLatestRequest.Unmarshal(m, b) -} -func (m *SubscribeEventsFromLatestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeEventsFromLatestRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeEventsFromLatestRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeEventsFromLatestRequest.Merge(m, src) +func (x *SubscribeEventsFromLatestRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeEventsFromLatestRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeEventsFromLatestRequest.Size(m) -} -func (m *SubscribeEventsFromLatestRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeEventsFromLatestRequest.DiscardUnknown(m) + +func (*SubscribeEventsFromLatestRequest) ProtoMessage() {} + +func (x *SubscribeEventsFromLatestRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeEventsFromLatestRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeEventsFromLatestRequest.ProtoReflect.Descriptor instead. +func (*SubscribeEventsFromLatestRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{10} +} -func (m *SubscribeEventsFromLatestRequest) GetFilter() *EventFilter { - if m != nil { - return m.Filter +func (x *SubscribeEventsFromLatestRequest) GetFilter() *EventFilter { + if x != nil { + return x.Filter } return nil } -func (m *SubscribeEventsFromLatestRequest) GetHeartbeatInterval() uint64 { - if m != nil { - return m.HeartbeatInterval +func (x *SubscribeEventsFromLatestRequest) GetHeartbeatInterval() uint64 { + if x != nil { + return x.HeartbeatInterval } return 0 } -func (m *SubscribeEventsFromLatestRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *SubscribeEventsFromLatestRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *SubscribeEventsFromLatestRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SubscribeEventsFromLatestRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // The response for SubscribeEvents type SubscribeEventsResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the block containing the events. BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` // Block height of the block containing the events. @@ -844,75 +889,79 @@ type SubscribeEventsResponse struct { // they received all messages. Starts from "0". MessageIndex uint64 `protobuf:"varint,5,opt,name=message_index,json=messageIndex,proto3" json:"message_index,omitempty"` // Metadata about the execution result that was used to produce this response. - ExecutorMetadata *entities.ExecutorMetadata `protobuf:"bytes,6,opt,name=executor_metadata,json=executorMetadata,proto3" json:"executor_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutorMetadata *entities.ExecutorMetadata `protobuf:"bytes,6,opt,name=executor_metadata,json=executorMetadata,proto3" json:"executor_metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeEventsResponse) Reset() { *m = SubscribeEventsResponse{} } -func (m *SubscribeEventsResponse) String() string { return proto.CompactTextString(m) } -func (*SubscribeEventsResponse) ProtoMessage() {} -func (*SubscribeEventsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{11} +func (x *SubscribeEventsResponse) Reset() { + *x = SubscribeEventsResponse{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeEventsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeEventsResponse.Unmarshal(m, b) -} -func (m *SubscribeEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeEventsResponse.Marshal(b, m, deterministic) -} -func (m *SubscribeEventsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeEventsResponse.Merge(m, src) -} -func (m *SubscribeEventsResponse) XXX_Size() int { - return xxx_messageInfo_SubscribeEventsResponse.Size(m) +func (x *SubscribeEventsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SubscribeEventsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeEventsResponse.DiscardUnknown(m) + +func (*SubscribeEventsResponse) ProtoMessage() {} + +func (x *SubscribeEventsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeEventsResponse proto.InternalMessageInfo +// Deprecated: Use SubscribeEventsResponse.ProtoReflect.Descriptor instead. +func (*SubscribeEventsResponse) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{11} +} -func (m *SubscribeEventsResponse) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *SubscribeEventsResponse) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *SubscribeEventsResponse) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *SubscribeEventsResponse) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *SubscribeEventsResponse) GetEvents() []*entities.Event { - if m != nil { - return m.Events +func (x *SubscribeEventsResponse) GetEvents() []*entities.Event { + if x != nil { + return x.Events } return nil } -func (m *SubscribeEventsResponse) GetBlockTimestamp() *timestamppb.Timestamp { - if m != nil { - return m.BlockTimestamp +func (x *SubscribeEventsResponse) GetBlockTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.BlockTimestamp } return nil } -func (m *SubscribeEventsResponse) GetMessageIndex() uint64 { - if m != nil { - return m.MessageIndex +func (x *SubscribeEventsResponse) GetMessageIndex() uint64 { + if x != nil { + return x.MessageIndex } return 0 } -func (m *SubscribeEventsResponse) GetExecutorMetadata() *entities.ExecutorMetadata { - if m != nil { - return m.ExecutorMetadata +func (x *SubscribeEventsResponse) GetExecutorMetadata() *entities.ExecutorMetadata { + if x != nil { + return x.ExecutorMetadata } return nil } @@ -922,6 +971,7 @@ func (m *SubscribeEventsResponse) GetExecutorMetadata() *entities.ExecutorMetada // filters is returned. If no filters are provided, all events are returned. If // there are any invalid filters, the API will return an InvalidArgument error. type EventFilter struct { + state protoimpl.MessageState `protogen:"open.v1"` // A list of full event types to include. // // All events exactly matching any of the provided event types will be @@ -954,169 +1004,184 @@ type EventFilter struct { // Addresses must be Flow account addresses in hex format and valid for the // network the node is connected to. i.e. only a mainnet address is valid for // a mainnet node. Addresses may optionally include the 0x prefix. - Address []string `protobuf:"bytes,3,rep,name=address,proto3" json:"address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Address []string `protobuf:"bytes,3,rep,name=address,proto3" json:"address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *EventFilter) Reset() { *m = EventFilter{} } -func (m *EventFilter) String() string { return proto.CompactTextString(m) } -func (*EventFilter) ProtoMessage() {} -func (*EventFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{12} +func (x *EventFilter) Reset() { + *x = EventFilter{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *EventFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventFilter.Unmarshal(m, b) -} -func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic) +func (x *EventFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventFilter.Merge(m, src) -} -func (m *EventFilter) XXX_Size() int { - return xxx_messageInfo_EventFilter.Size(m) -} -func (m *EventFilter) XXX_DiscardUnknown() { - xxx_messageInfo_EventFilter.DiscardUnknown(m) + +func (*EventFilter) ProtoMessage() {} + +func (x *EventFilter) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_EventFilter proto.InternalMessageInfo +// Deprecated: Use EventFilter.ProtoReflect.Descriptor instead. +func (*EventFilter) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{12} +} -func (m *EventFilter) GetEventType() []string { - if m != nil { - return m.EventType +func (x *EventFilter) GetEventType() []string { + if x != nil { + return x.EventType } return nil } -func (m *EventFilter) GetContract() []string { - if m != nil { - return m.Contract +func (x *EventFilter) GetContract() []string { + if x != nil { + return x.Contract } return nil } -func (m *EventFilter) GetAddress() []string { - if m != nil { - return m.Address +func (x *EventFilter) GetAddress() []string { + if x != nil { + return x.Address } return nil } // request for GetRegisterValues type GetRegisterValuesRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block height of the execution state being queried. BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // Register IDs of the Ledger.RegisterID format with an owner and key. RegisterIds []*entities.RegisterID `protobuf:"bytes,2,rep,name=register_ids,json=registerIds,proto3" json:"register_ids,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetRegisterValuesRequest) Reset() { *m = GetRegisterValuesRequest{} } -func (m *GetRegisterValuesRequest) String() string { return proto.CompactTextString(m) } -func (*GetRegisterValuesRequest) ProtoMessage() {} -func (*GetRegisterValuesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{13} +func (x *GetRegisterValuesRequest) Reset() { + *x = GetRegisterValuesRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetRegisterValuesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRegisterValuesRequest.Unmarshal(m, b) +func (x *GetRegisterValuesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRegisterValuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRegisterValuesRequest.Marshal(b, m, deterministic) -} -func (m *GetRegisterValuesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRegisterValuesRequest.Merge(m, src) -} -func (m *GetRegisterValuesRequest) XXX_Size() int { - return xxx_messageInfo_GetRegisterValuesRequest.Size(m) -} -func (m *GetRegisterValuesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRegisterValuesRequest.DiscardUnknown(m) + +func (*GetRegisterValuesRequest) ProtoMessage() {} + +func (x *GetRegisterValuesRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetRegisterValuesRequest proto.InternalMessageInfo +// Deprecated: Use GetRegisterValuesRequest.ProtoReflect.Descriptor instead. +func (*GetRegisterValuesRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{13} +} -func (m *GetRegisterValuesRequest) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *GetRegisterValuesRequest) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *GetRegisterValuesRequest) GetRegisterIds() []*entities.RegisterID { - if m != nil { - return m.RegisterIds +func (x *GetRegisterValuesRequest) GetRegisterIds() []*entities.RegisterID { + if x != nil { + return x.RegisterIds } return nil } -func (m *GetRegisterValuesRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *GetRegisterValuesRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // response for GetRegisterValues type GetRegisterValuesResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` // raw register values at the given height. Values [][]byte `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // Metadata about the execution result that was used to produce this response. - ExecutorMetadata *entities.ExecutorMetadata `protobuf:"bytes,2,opt,name=executor_metadata,json=executorMetadata,proto3" json:"executor_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutorMetadata *entities.ExecutorMetadata `protobuf:"bytes,2,opt,name=executor_metadata,json=executorMetadata,proto3" json:"executor_metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetRegisterValuesResponse) Reset() { *m = GetRegisterValuesResponse{} } -func (m *GetRegisterValuesResponse) String() string { return proto.CompactTextString(m) } -func (*GetRegisterValuesResponse) ProtoMessage() {} -func (*GetRegisterValuesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{14} +func (x *GetRegisterValuesResponse) Reset() { + *x = GetRegisterValuesResponse{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetRegisterValuesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRegisterValuesResponse.Unmarshal(m, b) -} -func (m *GetRegisterValuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRegisterValuesResponse.Marshal(b, m, deterministic) -} -func (m *GetRegisterValuesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRegisterValuesResponse.Merge(m, src) +func (x *GetRegisterValuesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRegisterValuesResponse) XXX_Size() int { - return xxx_messageInfo_GetRegisterValuesResponse.Size(m) -} -func (m *GetRegisterValuesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetRegisterValuesResponse.DiscardUnknown(m) + +func (*GetRegisterValuesResponse) ProtoMessage() {} + +func (x *GetRegisterValuesResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetRegisterValuesResponse proto.InternalMessageInfo +// Deprecated: Use GetRegisterValuesResponse.ProtoReflect.Descriptor instead. +func (*GetRegisterValuesResponse) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{14} +} -func (m *GetRegisterValuesResponse) GetValues() [][]byte { - if m != nil { - return m.Values +func (x *GetRegisterValuesResponse) GetValues() [][]byte { + if x != nil { + return x.Values } return nil } -func (m *GetRegisterValuesResponse) GetExecutorMetadata() *entities.ExecutorMetadata { - if m != nil { - return m.ExecutorMetadata +func (x *GetRegisterValuesResponse) GetExecutorMetadata() *entities.ExecutorMetadata { + if x != nil { + return x.ExecutorMetadata } return nil } // The request for SubscribeAccountStatusesFromStartBlockID type SubscribeAccountStatusesFromStartBlockIDRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the first block to search for events. // Only one of start_block_id and start_block_height may be provided, // otherwise an InvalidArgument error is returned. If neither are provided, @@ -1140,78 +1205,79 @@ type SubscribeAccountStatusesFromStartBlockIDRequest struct { // 2. JSON-CDC EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,4,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,5,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,5,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeAccountStatusesFromStartBlockIDRequest) Reset() { - *m = SubscribeAccountStatusesFromStartBlockIDRequest{} +func (x *SubscribeAccountStatusesFromStartBlockIDRequest) Reset() { + *x = SubscribeAccountStatusesFromStartBlockIDRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeAccountStatusesFromStartBlockIDRequest) String() string { - return proto.CompactTextString(m) + +func (x *SubscribeAccountStatusesFromStartBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*SubscribeAccountStatusesFromStartBlockIDRequest) ProtoMessage() {} -func (*SubscribeAccountStatusesFromStartBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{15} -} -func (m *SubscribeAccountStatusesFromStartBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeAccountStatusesFromStartBlockIDRequest.Unmarshal(m, b) -} -func (m *SubscribeAccountStatusesFromStartBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeAccountStatusesFromStartBlockIDRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeAccountStatusesFromStartBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeAccountStatusesFromStartBlockIDRequest.Merge(m, src) -} -func (m *SubscribeAccountStatusesFromStartBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeAccountStatusesFromStartBlockIDRequest.Size(m) -} -func (m *SubscribeAccountStatusesFromStartBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeAccountStatusesFromStartBlockIDRequest.DiscardUnknown(m) +func (x *SubscribeAccountStatusesFromStartBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeAccountStatusesFromStartBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeAccountStatusesFromStartBlockIDRequest.ProtoReflect.Descriptor instead. +func (*SubscribeAccountStatusesFromStartBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{15} +} -func (m *SubscribeAccountStatusesFromStartBlockIDRequest) GetStartBlockId() []byte { - if m != nil { - return m.StartBlockId +func (x *SubscribeAccountStatusesFromStartBlockIDRequest) GetStartBlockId() []byte { + if x != nil { + return x.StartBlockId } return nil } -func (m *SubscribeAccountStatusesFromStartBlockIDRequest) GetFilter() *StatusFilter { - if m != nil { - return m.Filter +func (x *SubscribeAccountStatusesFromStartBlockIDRequest) GetFilter() *StatusFilter { + if x != nil { + return x.Filter } return nil } -func (m *SubscribeAccountStatusesFromStartBlockIDRequest) GetHeartbeatInterval() uint64 { - if m != nil { - return m.HeartbeatInterval +func (x *SubscribeAccountStatusesFromStartBlockIDRequest) GetHeartbeatInterval() uint64 { + if x != nil { + return x.HeartbeatInterval } return 0 } -func (m *SubscribeAccountStatusesFromStartBlockIDRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *SubscribeAccountStatusesFromStartBlockIDRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *SubscribeAccountStatusesFromStartBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SubscribeAccountStatusesFromStartBlockIDRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // The request for SubscribeAccountStatusesFromStartHeight type SubscribeAccountStatusesFromStartHeightRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block height of the first block to search for events. // Only one of start_block_id and start_block_height may be provided, // otherwise an InvalidArgument error is returned. If neither are provided, @@ -1235,78 +1301,79 @@ type SubscribeAccountStatusesFromStartHeightRequest struct { // 2. JSON-CDC EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,4,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,5,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,5,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeAccountStatusesFromStartHeightRequest) Reset() { - *m = SubscribeAccountStatusesFromStartHeightRequest{} +func (x *SubscribeAccountStatusesFromStartHeightRequest) Reset() { + *x = SubscribeAccountStatusesFromStartHeightRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeAccountStatusesFromStartHeightRequest) String() string { - return proto.CompactTextString(m) + +func (x *SubscribeAccountStatusesFromStartHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*SubscribeAccountStatusesFromStartHeightRequest) ProtoMessage() {} -func (*SubscribeAccountStatusesFromStartHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{16} -} -func (m *SubscribeAccountStatusesFromStartHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeAccountStatusesFromStartHeightRequest.Unmarshal(m, b) -} -func (m *SubscribeAccountStatusesFromStartHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeAccountStatusesFromStartHeightRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeAccountStatusesFromStartHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeAccountStatusesFromStartHeightRequest.Merge(m, src) -} -func (m *SubscribeAccountStatusesFromStartHeightRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeAccountStatusesFromStartHeightRequest.Size(m) -} -func (m *SubscribeAccountStatusesFromStartHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeAccountStatusesFromStartHeightRequest.DiscardUnknown(m) +func (x *SubscribeAccountStatusesFromStartHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeAccountStatusesFromStartHeightRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeAccountStatusesFromStartHeightRequest.ProtoReflect.Descriptor instead. +func (*SubscribeAccountStatusesFromStartHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{16} +} -func (m *SubscribeAccountStatusesFromStartHeightRequest) GetStartBlockHeight() uint64 { - if m != nil { - return m.StartBlockHeight +func (x *SubscribeAccountStatusesFromStartHeightRequest) GetStartBlockHeight() uint64 { + if x != nil { + return x.StartBlockHeight } return 0 } -func (m *SubscribeAccountStatusesFromStartHeightRequest) GetFilter() *StatusFilter { - if m != nil { - return m.Filter +func (x *SubscribeAccountStatusesFromStartHeightRequest) GetFilter() *StatusFilter { + if x != nil { + return x.Filter } return nil } -func (m *SubscribeAccountStatusesFromStartHeightRequest) GetHeartbeatInterval() uint64 { - if m != nil { - return m.HeartbeatInterval +func (x *SubscribeAccountStatusesFromStartHeightRequest) GetHeartbeatInterval() uint64 { + if x != nil { + return x.HeartbeatInterval } return 0 } -func (m *SubscribeAccountStatusesFromStartHeightRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *SubscribeAccountStatusesFromStartHeightRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *SubscribeAccountStatusesFromStartHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SubscribeAccountStatusesFromStartHeightRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // The request for SubscribeAccountStatusesFromLatestBlock type SubscribeAccountStatusesFromLatestBlockRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` // Filter to apply to events for each block searched. // If no filter is provided, all statuses are returned. Filter *StatusFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` @@ -1325,71 +1392,72 @@ type SubscribeAccountStatusesFromLatestBlockRequest struct { // 2. JSON-CDC EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,3,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Criteria for selecting which executors to use when fetching data. - ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,4,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeAccountStatusesFromLatestBlockRequest) Reset() { - *m = SubscribeAccountStatusesFromLatestBlockRequest{} +func (x *SubscribeAccountStatusesFromLatestBlockRequest) Reset() { + *x = SubscribeAccountStatusesFromLatestBlockRequest{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeAccountStatusesFromLatestBlockRequest) String() string { - return proto.CompactTextString(m) + +func (x *SubscribeAccountStatusesFromLatestBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*SubscribeAccountStatusesFromLatestBlockRequest) ProtoMessage() {} -func (*SubscribeAccountStatusesFromLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{17} -} -func (m *SubscribeAccountStatusesFromLatestBlockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeAccountStatusesFromLatestBlockRequest.Unmarshal(m, b) -} -func (m *SubscribeAccountStatusesFromLatestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeAccountStatusesFromLatestBlockRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeAccountStatusesFromLatestBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeAccountStatusesFromLatestBlockRequest.Merge(m, src) -} -func (m *SubscribeAccountStatusesFromLatestBlockRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeAccountStatusesFromLatestBlockRequest.Size(m) -} -func (m *SubscribeAccountStatusesFromLatestBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeAccountStatusesFromLatestBlockRequest.DiscardUnknown(m) +func (x *SubscribeAccountStatusesFromLatestBlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SubscribeAccountStatusesFromLatestBlockRequest proto.InternalMessageInfo +// Deprecated: Use SubscribeAccountStatusesFromLatestBlockRequest.ProtoReflect.Descriptor instead. +func (*SubscribeAccountStatusesFromLatestBlockRequest) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{17} +} -func (m *SubscribeAccountStatusesFromLatestBlockRequest) GetFilter() *StatusFilter { - if m != nil { - return m.Filter +func (x *SubscribeAccountStatusesFromLatestBlockRequest) GetFilter() *StatusFilter { + if x != nil { + return x.Filter } return nil } -func (m *SubscribeAccountStatusesFromLatestBlockRequest) GetHeartbeatInterval() uint64 { - if m != nil { - return m.HeartbeatInterval +func (x *SubscribeAccountStatusesFromLatestBlockRequest) GetHeartbeatInterval() uint64 { + if x != nil { + return x.HeartbeatInterval } return 0 } -func (m *SubscribeAccountStatusesFromLatestBlockRequest) GetEventEncodingVersion() entities.EventEncodingVersion { - if m != nil { - return m.EventEncodingVersion +func (x *SubscribeAccountStatusesFromLatestBlockRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if x != nil { + return x.EventEncodingVersion } - return entities.EventEncodingVersion_JSON_CDC_V0 + return entities.EventEncodingVersion(0) } -func (m *SubscribeAccountStatusesFromLatestBlockRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { - if m != nil { - return m.ExecutionStateQuery +func (x *SubscribeAccountStatusesFromLatestBlockRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if x != nil { + return x.ExecutionStateQuery } return nil } // The response for SubscribeAccountStatuses type SubscribeAccountStatusesResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` // Block ID of the block containing the events. BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` // Block height of the block containing the events. @@ -1402,119 +1470,72 @@ type SubscribeAccountStatusesResponse struct { // information to determine which block to start from when reconnecting. Results []*SubscribeAccountStatusesResponse_Result `protobuf:"bytes,4,rep,name=results,proto3" json:"results,omitempty"` // Metadata about the execution result that was used to produce this response. - ExecutorMetadata *entities.ExecutorMetadata `protobuf:"bytes,5,opt,name=executor_metadata,json=executorMetadata,proto3" json:"executor_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecutorMetadata *entities.ExecutorMetadata `protobuf:"bytes,5,opt,name=executor_metadata,json=executorMetadata,proto3" json:"executor_metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SubscribeAccountStatusesResponse) Reset() { *m = SubscribeAccountStatusesResponse{} } -func (m *SubscribeAccountStatusesResponse) String() string { return proto.CompactTextString(m) } -func (*SubscribeAccountStatusesResponse) ProtoMessage() {} -func (*SubscribeAccountStatusesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{18} +func (x *SubscribeAccountStatusesResponse) Reset() { + *x = SubscribeAccountStatusesResponse{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SubscribeAccountStatusesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeAccountStatusesResponse.Unmarshal(m, b) -} -func (m *SubscribeAccountStatusesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeAccountStatusesResponse.Marshal(b, m, deterministic) -} -func (m *SubscribeAccountStatusesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeAccountStatusesResponse.Merge(m, src) -} -func (m *SubscribeAccountStatusesResponse) XXX_Size() int { - return xxx_messageInfo_SubscribeAccountStatusesResponse.Size(m) -} -func (m *SubscribeAccountStatusesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeAccountStatusesResponse.DiscardUnknown(m) +func (x *SubscribeAccountStatusesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_SubscribeAccountStatusesResponse proto.InternalMessageInfo +func (*SubscribeAccountStatusesResponse) ProtoMessage() {} -func (m *SubscribeAccountStatusesResponse) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *SubscribeAccountStatusesResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *SubscribeAccountStatusesResponse) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight - } - return 0 -} - -func (m *SubscribeAccountStatusesResponse) GetMessageIndex() uint64 { - if m != nil { - return m.MessageIndex - } - return 0 +// Deprecated: Use SubscribeAccountStatusesResponse.ProtoReflect.Descriptor instead. +func (*SubscribeAccountStatusesResponse) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{18} } -func (m *SubscribeAccountStatusesResponse) GetResults() []*SubscribeAccountStatusesResponse_Result { - if m != nil { - return m.Results +func (x *SubscribeAccountStatusesResponse) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *SubscribeAccountStatusesResponse) GetExecutorMetadata() *entities.ExecutorMetadata { - if m != nil { - return m.ExecutorMetadata +func (x *SubscribeAccountStatusesResponse) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } - return nil -} - -type SubscribeAccountStatusesResponse_Result struct { - // Unique identifier for the account being streamed - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - // Events matching the StatusFilter in the request. - Events []*entities.Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SubscribeAccountStatusesResponse_Result) Reset() { - *m = SubscribeAccountStatusesResponse_Result{} -} -func (m *SubscribeAccountStatusesResponse_Result) String() string { return proto.CompactTextString(m) } -func (*SubscribeAccountStatusesResponse_Result) ProtoMessage() {} -func (*SubscribeAccountStatusesResponse_Result) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{18, 0} + return 0 } -func (m *SubscribeAccountStatusesResponse_Result) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeAccountStatusesResponse_Result.Unmarshal(m, b) -} -func (m *SubscribeAccountStatusesResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeAccountStatusesResponse_Result.Marshal(b, m, deterministic) -} -func (m *SubscribeAccountStatusesResponse_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeAccountStatusesResponse_Result.Merge(m, src) -} -func (m *SubscribeAccountStatusesResponse_Result) XXX_Size() int { - return xxx_messageInfo_SubscribeAccountStatusesResponse_Result.Size(m) -} -func (m *SubscribeAccountStatusesResponse_Result) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeAccountStatusesResponse_Result.DiscardUnknown(m) +func (x *SubscribeAccountStatusesResponse) GetMessageIndex() uint64 { + if x != nil { + return x.MessageIndex + } + return 0 } -var xxx_messageInfo_SubscribeAccountStatusesResponse_Result proto.InternalMessageInfo - -func (m *SubscribeAccountStatusesResponse_Result) GetAddress() []byte { - if m != nil { - return m.Address +func (x *SubscribeAccountStatusesResponse) GetResults() []*SubscribeAccountStatusesResponse_Result { + if x != nil { + return x.Results } return nil } -func (m *SubscribeAccountStatusesResponse_Result) GetEvents() []*entities.Event { - if m != nil { - return m.Events +func (x *SubscribeAccountStatusesResponse) GetExecutorMetadata() *entities.ExecutorMetadata { + if x != nil { + return x.ExecutorMetadata } return nil } @@ -1527,6 +1548,7 @@ func (m *SubscribeAccountStatusesResponse_Result) GetEvents() []*entities.Event // matched. If no addresses are provided, any address matches. If there are any // invalid filters, the API will return an InvalidArgument error. type StatusFilter struct { + state protoimpl.MessageState `protogen:"open.v1"` // A list of full event types to include. // // All events exactly matching any of the provided event types will be @@ -1545,161 +1567,373 @@ type StatusFilter struct { // Addresses must be Flow account addresses in hex format and valid for the // network the node is connected to. i.e. only a mainnet address is valid for // a mainnet node. Addresses may optionally include the 0x prefix. - Address []string `protobuf:"bytes,3,rep,name=address,proto3" json:"address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Address []string `protobuf:"bytes,3,rep,name=address,proto3" json:"address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *StatusFilter) Reset() { + *x = StatusFilter{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *StatusFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StatusFilter) Reset() { *m = StatusFilter{} } -func (m *StatusFilter) String() string { return proto.CompactTextString(m) } -func (*StatusFilter) ProtoMessage() {} +func (*StatusFilter) ProtoMessage() {} + +func (x *StatusFilter) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StatusFilter.ProtoReflect.Descriptor instead. func (*StatusFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_da469632570513fb, []int{19} + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{19} } -func (m *StatusFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatusFilter.Unmarshal(m, b) +func (x *StatusFilter) GetEventType() []string { + if x != nil { + return x.EventType + } + return nil } -func (m *StatusFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatusFilter.Marshal(b, m, deterministic) + +func (x *StatusFilter) GetAddress() []string { + if x != nil { + return x.Address + } + return nil } -func (m *StatusFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusFilter.Merge(m, src) + +type SubscribeAccountStatusesResponse_Result struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Unique identifier for the account being streamed + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + // Events matching the StatusFilter in the request. + Events []*entities.Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *StatusFilter) XXX_Size() int { - return xxx_messageInfo_StatusFilter.Size(m) + +func (x *SubscribeAccountStatusesResponse_Result) Reset() { + *x = SubscribeAccountStatusesResponse_Result{} + mi := &file_flow_executiondata_executiondata_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SubscribeAccountStatusesResponse_Result) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StatusFilter) XXX_DiscardUnknown() { - xxx_messageInfo_StatusFilter.DiscardUnknown(m) + +func (*SubscribeAccountStatusesResponse_Result) ProtoMessage() {} + +func (x *SubscribeAccountStatusesResponse_Result) ProtoReflect() protoreflect.Message { + mi := &file_flow_executiondata_executiondata_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_StatusFilter proto.InternalMessageInfo +// Deprecated: Use SubscribeAccountStatusesResponse_Result.ProtoReflect.Descriptor instead. +func (*SubscribeAccountStatusesResponse_Result) Descriptor() ([]byte, []int) { + return file_flow_executiondata_executiondata_proto_rawDescGZIP(), []int{18, 0} +} -func (m *StatusFilter) GetEventType() []string { - if m != nil { - return m.EventType +func (x *SubscribeAccountStatusesResponse_Result) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *StatusFilter) GetAddress() []string { - if m != nil { - return m.Address +func (x *SubscribeAccountStatusesResponse_Result) GetEvents() []*entities.Event { + if x != nil { + return x.Events } return nil } -func init() { - proto.RegisterType((*GetExecutionDataByBlockIDRequest)(nil), "flow.executiondata.GetExecutionDataByBlockIDRequest") - proto.RegisterType((*GetExecutionDataByBlockIDResponse)(nil), "flow.executiondata.GetExecutionDataByBlockIDResponse") - proto.RegisterType((*SubscribeExecutionDataRequest)(nil), "flow.executiondata.SubscribeExecutionDataRequest") - proto.RegisterType((*SubscribeExecutionDataResponse)(nil), "flow.executiondata.SubscribeExecutionDataResponse") - proto.RegisterType((*SubscribeExecutionDataFromStartBlockIDRequest)(nil), "flow.executiondata.SubscribeExecutionDataFromStartBlockIDRequest") - proto.RegisterType((*SubscribeExecutionDataFromStartBlockHeightRequest)(nil), "flow.executiondata.SubscribeExecutionDataFromStartBlockHeightRequest") - proto.RegisterType((*SubscribeExecutionDataFromLatestRequest)(nil), "flow.executiondata.SubscribeExecutionDataFromLatestRequest") - proto.RegisterType((*SubscribeEventsRequest)(nil), "flow.executiondata.SubscribeEventsRequest") - proto.RegisterType((*SubscribeEventsFromStartBlockIDRequest)(nil), "flow.executiondata.SubscribeEventsFromStartBlockIDRequest") - proto.RegisterType((*SubscribeEventsFromStartHeightRequest)(nil), "flow.executiondata.SubscribeEventsFromStartHeightRequest") - proto.RegisterType((*SubscribeEventsFromLatestRequest)(nil), "flow.executiondata.SubscribeEventsFromLatestRequest") - proto.RegisterType((*SubscribeEventsResponse)(nil), "flow.executiondata.SubscribeEventsResponse") - proto.RegisterType((*EventFilter)(nil), "flow.executiondata.EventFilter") - proto.RegisterType((*GetRegisterValuesRequest)(nil), "flow.executiondata.GetRegisterValuesRequest") - proto.RegisterType((*GetRegisterValuesResponse)(nil), "flow.executiondata.GetRegisterValuesResponse") - proto.RegisterType((*SubscribeAccountStatusesFromStartBlockIDRequest)(nil), "flow.executiondata.SubscribeAccountStatusesFromStartBlockIDRequest") - proto.RegisterType((*SubscribeAccountStatusesFromStartHeightRequest)(nil), "flow.executiondata.SubscribeAccountStatusesFromStartHeightRequest") - proto.RegisterType((*SubscribeAccountStatusesFromLatestBlockRequest)(nil), "flow.executiondata.SubscribeAccountStatusesFromLatestBlockRequest") - proto.RegisterType((*SubscribeAccountStatusesResponse)(nil), "flow.executiondata.SubscribeAccountStatusesResponse") - proto.RegisterType((*SubscribeAccountStatusesResponse_Result)(nil), "flow.executiondata.SubscribeAccountStatusesResponse.Result") - proto.RegisterType((*StatusFilter)(nil), "flow.executiondata.StatusFilter") -} - -func init() { - proto.RegisterFile("flow/executiondata/executiondata.proto", fileDescriptor_da469632570513fb) -} - -var fileDescriptor_da469632570513fb = []byte{ - // 1307 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcf, 0x6f, 0x1b, 0xc5, - 0x17, 0xd7, 0xac, 0x1d, 0xa7, 0x79, 0xf6, 0x37, 0x3f, 0xe6, 0x1b, 0x82, 0x63, 0x51, 0xe2, 0x38, - 0x50, 0xac, 0x92, 0xd8, 0xa9, 0x69, 0x45, 0xa1, 0x5c, 0x92, 0x26, 0x0d, 0x96, 0x8a, 0x54, 0x36, - 0x25, 0x12, 0xbd, 0x58, 0x6b, 0x7b, 0xe2, 0xac, 0xb0, 0x77, 0x9d, 0x9d, 0x71, 0x68, 0x6e, 0x70, - 0x81, 0x08, 0xf5, 0x08, 0x7f, 0x00, 0x07, 0x40, 0x88, 0xbf, 0xa1, 0x57, 0x4e, 0xdc, 0xb8, 0xf2, - 0x0f, 0x70, 0xab, 0xc4, 0x0d, 0x71, 0x40, 0x9e, 0x9d, 0x5d, 0xef, 0xae, 0x67, 0x6d, 0xaf, 0x1d, - 0x4b, 0x05, 0x7a, 0xb1, 0x34, 0x33, 0x6f, 0xde, 0xbc, 0xf7, 0x79, 0x6f, 0xdf, 0x2f, 0xc3, 0xb5, - 0xe3, 0xa6, 0xf9, 0x69, 0x91, 0x3c, 0x26, 0xb5, 0x0e, 0xd3, 0x4d, 0xa3, 0xae, 0x31, 0xcd, 0xbf, - 0x2a, 0xb4, 0x2d, 0x93, 0x99, 0x18, 0x77, 0xe9, 0x0a, 0xbe, 0x93, 0x4c, 0xde, 0xbe, 0x6b, 0x30, - 0x9d, 0xe9, 0x84, 0x16, 0xab, 0x4d, 0xb3, 0xf6, 0x49, 0xc5, 0x25, 0xa9, 0xf4, 0x6e, 0x67, 0x56, - 0xfd, 0x94, 0xe4, 0x8c, 0x18, 0x4c, 0x1c, 0xbd, 0xe2, 0x3f, 0xb2, 0x48, 0x43, 0xa7, 0x8c, 0x58, - 0xe2, 0x74, 0xad, 0x61, 0x9a, 0x8d, 0x26, 0x29, 0xf2, 0x55, 0xb5, 0x73, 0x5c, 0x64, 0x7a, 0x8b, - 0x50, 0xa6, 0xb5, 0xda, 0x82, 0x60, 0x23, 0xc0, 0xd9, 0x7d, 0x9d, 0x32, 0x8d, 0x11, 0xf9, 0x1b, - 0x2d, 0xc2, 0xb4, 0x9e, 0x70, 0xb9, 0x67, 0x08, 0xb2, 0x07, 0x84, 0xed, 0x3b, 0x57, 0xf7, 0x34, - 0xa6, 0xed, 0x9e, 0xef, 0x76, 0xb5, 0x29, 0xef, 0xa9, 0xe4, 0xb4, 0x43, 0x28, 0xc3, 0xab, 0x70, - 0xc5, 0xd6, 0x4f, 0xaf, 0xa7, 0x51, 0x16, 0xe5, 0x53, 0xea, 0x2c, 0x5f, 0x97, 0xeb, 0xf8, 0x63, - 0x58, 0xe1, 0x0a, 0x55, 0x88, 0x51, 0x33, 0xeb, 0xba, 0xd1, 0xa8, 0x9c, 0x11, 0x8b, 0xea, 0xa6, - 0x91, 0x56, 0xb2, 0x28, 0x3f, 0x5f, 0xda, 0x28, 0xd8, 0xd8, 0x89, 0xe7, 0x0b, 0xfb, 0x5d, 0xe2, - 0x7d, 0x41, 0x7b, 0x64, 0x93, 0xaa, 0xcb, 0x44, 0xb2, 0x8b, 0x8f, 0xe0, 0xa5, 0x80, 0x46, 0x95, - 0xd3, 0x0e, 0xb1, 0xce, 0xd3, 0xb1, 0x2c, 0xca, 0x27, 0x4b, 0xb9, 0x20, 0x67, 0x87, 0xf6, 0xb0, - 0x4b, 0xfa, 0x61, 0x97, 0x52, 0xfd, 0x3f, 0xe9, 0xdf, 0xcc, 0xfd, 0x8c, 0x60, 0x7d, 0x80, 0xca, - 0xb4, 0x6d, 0x1a, 0x94, 0xe0, 0x43, 0x58, 0x96, 0xd9, 0x94, 0xeb, 0x9f, 0x2c, 0xad, 0x07, 0x1e, - 0xe7, 0xb7, 0x7d, 0x1c, 0x55, 0x5c, 0xed, 0xdb, 0xc3, 0xf7, 0x61, 0xc9, 0x66, 0x67, 0x5a, 0x15, - 0xc7, 0x10, 0x1c, 0xa8, 0x64, 0x69, 0x4d, 0xaa, 0x8e, 0x69, 0x7d, 0x20, 0xc8, 0xd4, 0x45, 0x12, - 0xd8, 0xc9, 0x7d, 0xaf, 0xc0, 0xd5, 0xc3, 0x4e, 0x95, 0xd6, 0x2c, 0xbd, 0x4a, 0xfc, 0x8f, 0x0b, - 0xc3, 0xbd, 0x06, 0xf3, 0x94, 0x69, 0x16, 0xab, 0x04, 0xcc, 0x97, 0xe2, 0xbb, 0xbb, 0xc2, 0x86, - 0x9b, 0x80, 0xbd, 0x54, 0x27, 0x44, 0x6f, 0x9c, 0x30, 0x2e, 0x56, 0x5c, 0x5d, 0xec, 0x51, 0xbe, - 0xcf, 0xf7, 0x07, 0x58, 0x3c, 0x36, 0x35, 0x8b, 0xc7, 0x27, 0xb3, 0xf8, 0x4f, 0x0a, 0xbc, 0x1a, - 0x06, 0x94, 0x30, 0xf7, 0x3a, 0xa4, 0x7c, 0xda, 0x23, 0xae, 0x7d, 0xb2, 0xea, 0x51, 0x3c, 0xcc, - 0x23, 0x94, 0x49, 0x3c, 0xe2, 0x2e, 0x2c, 0xd8, 0x4c, 0xdd, 0x6f, 0x5b, 0xb8, 0x77, 0xa6, 0x60, - 0x7f, 0xfd, 0x05, 0xe7, 0xeb, 0x2f, 0x3c, 0x74, 0x28, 0xd4, 0x79, 0x7e, 0xc5, 0x5d, 0xcb, 0xdd, - 0x2a, 0x3e, 0xae, 0x5b, 0x5d, 0x28, 0xb0, 0x25, 0x47, 0xeb, 0x9e, 0x65, 0xb6, 0x0e, 0x7b, 0x9e, - 0xb3, 0x17, 0xcd, 0xcd, 0xfe, 0x81, 0xa1, 0xe2, 0x6b, 0x05, 0x6e, 0x8c, 0x02, 0x85, 0xed, 0x21, - 0x0e, 0x1c, 0xf2, 0xef, 0x09, 0x45, 0xfe, 0x9e, 0x9e, 0x5b, 0x58, 0x7e, 0x43, 0xf0, 0x46, 0x38, - 0x2c, 0xf7, 0x35, 0x46, 0xa8, 0x0b, 0x46, 0xb8, 0x7a, 0x68, 0x6a, 0xea, 0x29, 0x93, 0xa9, 0xf7, - 0x65, 0x0c, 0x56, 0x7a, 0xea, 0x75, 0x5f, 0xa6, 0xd3, 0x0c, 0xa8, 0x6f, 0x43, 0xe2, 0x58, 0x6f, - 0x32, 0x62, 0x09, 0xb3, 0x38, 0x9f, 0xac, 0xaf, 0x10, 0xe1, 0x62, 0xdc, 0xe3, 0x64, 0xaa, 0x20, - 0xc7, 0x5b, 0x80, 0x4f, 0x88, 0x66, 0xb1, 0x2a, 0xd1, 0x58, 0x45, 0x37, 0x18, 0xb1, 0xce, 0xb4, - 0x26, 0xff, 0xee, 0xe3, 0xea, 0x92, 0x7b, 0x52, 0x16, 0x07, 0x03, 0x2c, 0x31, 0x33, 0x35, 0x4b, - 0x24, 0x26, 0xb3, 0xc4, 0xef, 0x0a, 0x5c, 0x0b, 0x58, 0x62, 0xb2, 0x18, 0xd4, 0xc3, 0x5a, 0xb9, - 0x0c, 0xac, 0x63, 0xd1, 0xb1, 0x8e, 0x4f, 0x0d, 0xeb, 0x99, 0xc9, 0xb0, 0x7e, 0xa6, 0xc0, 0xeb, - 0x61, 0x58, 0x4f, 0x12, 0xdf, 0x5e, 0x40, 0x1e, 0x0a, 0xf9, 0x53, 0x05, 0xb2, 0x12, 0xc8, 0xfd, - 0x01, 0xb4, 0x87, 0x1f, 0xba, 0x0c, 0xfc, 0x94, 0xe8, 0xf8, 0x3d, 0xb7, 0x75, 0xdd, 0x53, 0x05, - 0x5e, 0xee, 0x0b, 0xd4, 0xa2, 0xa0, 0x1b, 0xd0, 0xb3, 0x04, 0x6b, 0x3d, 0xa5, 0xbf, 0xd6, 0xdb, - 0x84, 0x04, 0xd7, 0x84, 0xa6, 0x63, 0xd9, 0x58, 0x3e, 0x59, 0x5a, 0x96, 0x29, 0xaf, 0x0a, 0x1a, - 0x59, 0x11, 0x17, 0x8f, 0x5c, 0xc4, 0x6d, 0xc0, 0xff, 0x5a, 0x84, 0x52, 0xad, 0x41, 0x2a, 0xba, - 0x51, 0x27, 0x8f, 0xb9, 0x73, 0xc5, 0xd5, 0x94, 0xd8, 0x2c, 0x77, 0xf7, 0xe4, 0x95, 0x5e, 0x62, - 0xdc, 0x4a, 0xaf, 0x0a, 0x49, 0x8f, 0xe3, 0xe0, 0xab, 0x00, 0xb6, 0x07, 0xb0, 0xf3, 0x36, 0x49, - 0xa3, 0x6c, 0x2c, 0x3f, 0xa7, 0xce, 0xf1, 0x9d, 0x87, 0xe7, 0x6d, 0x82, 0x33, 0x70, 0xa5, 0x66, - 0x1a, 0xcc, 0xd2, 0x6a, 0x5d, 0xc8, 0xba, 0x87, 0xee, 0x1a, 0xa7, 0x61, 0x56, 0xab, 0xd7, 0x2d, - 0x42, 0x6d, 0xc0, 0xe6, 0x54, 0x67, 0x99, 0xfb, 0x15, 0x41, 0xfa, 0x80, 0x30, 0x55, 0xb4, 0xb6, - 0x47, 0x5a, 0xb3, 0x43, 0xdc, 0x74, 0x3a, 0x42, 0xd5, 0xfd, 0x1e, 0xa4, 0x9c, 0xb6, 0xb8, 0xa2, - 0xd7, 0x29, 0x7f, 0x39, 0x59, 0x5a, 0x0d, 0x28, 0xeb, 0xb0, 0x2f, 0xef, 0xa9, 0x49, 0x87, 0xbc, - 0x5c, 0xa7, 0x53, 0xab, 0x80, 0x3e, 0x47, 0xb0, 0x2a, 0xd1, 0x4a, 0xf8, 0xde, 0x0a, 0x24, 0xce, - 0xf8, 0x0e, 0x07, 0x31, 0xa5, 0x8a, 0xd5, 0x25, 0xb7, 0x7f, 0x7f, 0x28, 0x50, 0x74, 0xbd, 0x7f, - 0xa7, 0x56, 0x33, 0x3b, 0x06, 0xeb, 0x8a, 0xd8, 0xa1, 0x64, 0xc2, 0x2c, 0x79, 0x3b, 0x10, 0xb2, - 0xb3, 0xb2, 0x90, 0x63, 0x3f, 0xf5, 0x9f, 0x8b, 0xd9, 0x7f, 0x2a, 0x50, 0x18, 0x8a, 0xfa, 0x24, - 0xf9, 0xf2, 0x05, 0xf8, 0xe1, 0xe0, 0xff, 0x32, 0x04, 0x7c, 0x3b, 0x73, 0x72, 0x34, 0x1d, 0xf0, - 0x6f, 0x07, 0xd2, 0xe7, 0xa4, 0x70, 0xfe, 0x9b, 0xf2, 0xe7, 0x5f, 0xde, 0xfa, 0x23, 0x00, 0xe7, - 0x25, 0x25, 0xd2, 0xbe, 0xac, 0x16, 0x93, 0x64, 0xb5, 0x8f, 0x60, 0xd6, 0x22, 0xb4, 0xd3, 0x64, - 0x34, 0x1d, 0xe7, 0xe1, 0xfd, 0x8e, 0xd4, 0x48, 0x43, 0x24, 0x2d, 0xa8, 0x9c, 0x87, 0xea, 0xf0, - 0x92, 0x87, 0xdb, 0x99, 0x31, 0xc3, 0x6d, 0xe6, 0x01, 0x24, 0xec, 0x07, 0xbc, 0xc9, 0x4e, 0x00, - 0x22, 0x96, 0x9e, 0xb2, 0x41, 0x19, 0x5e, 0x36, 0xe4, 0x0e, 0x20, 0xe5, 0x75, 0xbc, 0x61, 0xf9, - 0x37, 0x34, 0xc7, 0x96, 0x9e, 0x2c, 0xc0, 0xa2, 0xaf, 0x0d, 0xdf, 0x79, 0x50, 0xc6, 0x17, 0x76, - 0x8a, 0x92, 0x8f, 0x39, 0xf1, 0x4d, 0x19, 0xc2, 0xc3, 0x06, 0xc1, 0x99, 0x5b, 0x11, 0x6f, 0x09, - 0x17, 0xfa, 0x02, 0x79, 0x1b, 0x6a, 0xdf, 0xfc, 0xeb, 0xc6, 0x40, 0x4b, 0xcb, 0x86, 0x9a, 0x99, - 0x52, 0x94, 0x2b, 0xb6, 0x04, 0xb9, 0xd8, 0x85, 0x82, 0xb6, 0x11, 0xfe, 0x16, 0x79, 0xfb, 0xc9, - 0x41, 0xa3, 0x2d, 0xbc, 0x33, 0xfa, 0x2b, 0x21, 0xc9, 0x76, 0x1c, 0x41, 0xb7, 0x11, 0xfe, 0x11, - 0xc1, 0xf5, 0xd1, 0x67, 0x4e, 0x78, 0x7f, 0x5c, 0x39, 0x7d, 0x39, 0x6a, 0x4c, 0x59, 0xbf, 0x41, - 0xde, 0x06, 0x46, 0x3e, 0x08, 0xc2, 0x77, 0xa2, 0x49, 0xe8, 0xeb, 0x7e, 0xc6, 0x94, 0xeb, 0x14, - 0x16, 0x02, 0x7d, 0x01, 0xbe, 0x3e, 0x98, 0x91, 0x77, 0xca, 0x93, 0x79, 0x73, 0x24, 0x5a, 0xbf, - 0x6b, 0x3d, 0x41, 0xb0, 0x36, 0x64, 0x54, 0x81, 0xdf, 0x1d, 0x81, 0x6f, 0x98, 0x33, 0x45, 0x91, - 0x69, 0x1b, 0xe1, 0xaf, 0x90, 0x77, 0xe4, 0x2d, 0xeb, 0xe6, 0xf1, 0x3b, 0x51, 0xa4, 0xf1, 0x7b, - 0x4b, 0x44, 0x61, 0x3e, 0x43, 0xb0, 0x1a, 0xda, 0xe7, 0xca, 0x43, 0xd1, 0xb0, 0xb6, 0x38, 0xaa, - 0x08, 0x6d, 0x58, 0xea, 0xab, 0xd7, 0xf1, 0x66, 0x48, 0x38, 0x93, 0x36, 0x2b, 0x99, 0xad, 0x11, - 0xa9, 0x45, 0xd0, 0xfb, 0x01, 0x41, 0x7e, 0xd4, 0xf2, 0x1c, 0xdf, 0x8d, 0x92, 0xf0, 0xc2, 0x5c, - 0xe4, 0xe6, 0x38, 0x59, 0x73, 0x1b, 0xe1, 0xef, 0xbc, 0xe3, 0xdc, 0xc1, 0x25, 0x2d, 0xde, 0x1d, - 0x4b, 0x50, 0xbf, 0xf7, 0x4c, 0x4b, 0x4e, 0x4f, 0xf5, 0x17, 0x5d, 0xce, 0xfe, 0xd2, 0x71, 0x5c, - 0x39, 0x77, 0x1f, 0xc1, 0xba, 0x69, 0x35, 0x0a, 0xa6, 0xc1, 0xaf, 0xbb, 0xad, 0xbf, 0x8f, 0xcf, - 0xa3, 0x5b, 0x0d, 0x9d, 0x9d, 0x74, 0xaa, 0x85, 0x9a, 0xd9, 0x2a, 0xda, 0x94, 0x45, 0xfe, 0xe3, - 0xfe, 0xd9, 0xdb, 0x30, 0x8b, 0xfd, 0x7f, 0x4f, 0x57, 0x13, 0xfc, 0xfc, 0xad, 0xbf, 0x03, 0x00, - 0x00, 0xff, 0xff, 0xe4, 0x3a, 0x83, 0xf7, 0xbb, 0x1e, 0x00, 0x00, +var File_flow_executiondata_executiondata_proto protoreflect.FileDescriptor + +const file_flow_executiondata_executiondata_proto_rawDesc = "" + + "\n" + + "&flow/executiondata/executiondata.proto\x12\x12flow.executiondata\x1a(flow/entities/block_execution_data.proto\x1a\x19flow/entities/event.proto\x1a\x1cflow/entities/register.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a#flow/entities/execution_state.proto\x1a\x1cflow/entities/metadata.proto\"\xf0\x01\n" + + " GetExecutionDataByBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12Y\n" + + "\x16event_encoding_version\x18\x02 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xc6\x01\n" + + "!GetExecutionDataByBlockIDResponse\x12S\n" + + "\x14block_execution_data\x18\x01 \x01(\v2!.flow.entities.BlockExecutionDataR\x12blockExecutionData\x12L\n" + + "\x11executor_metadata\x18\x02 \x01(\v2\x1f.flow.entities.ExecutorMetadataR\x10executorMetadata\"\xa6\x02\n" + + "\x1dSubscribeExecutionDataRequest\x12$\n" + + "\x0estart_block_id\x18\x01 \x01(\fR\fstartBlockId\x12,\n" + + "\x12start_block_height\x18\x02 \x01(\x04R\x10startBlockHeight\x12Y\n" + + "\x16event_encoding_version\x18\x03 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x04 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xab\x02\n" + + "\x1eSubscribeExecutionDataResponse\x12!\n" + + "\fblock_height\x18\x01 \x01(\x04R\vblockHeight\x12S\n" + + "\x14block_execution_data\x18\x02 \x01(\v2!.flow.entities.BlockExecutionDataR\x12blockExecutionData\x12C\n" + + "\x0fblock_timestamp\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x0eblockTimestamp\x12L\n" + + "\x11executor_metadata\x18\x04 \x01(\v2\x1f.flow.entities.ExecutorMetadataR\x10executorMetadata\"\x88\x02\n" + + "-SubscribeExecutionDataFromStartBlockIDRequest\x12$\n" + + "\x0estart_block_id\x18\x01 \x01(\fR\fstartBlockId\x12Y\n" + + "\x16event_encoding_version\x18\x02 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\x94\x02\n" + + "1SubscribeExecutionDataFromStartBlockHeightRequest\x12,\n" + + "\x12start_block_height\x18\x01 \x01(\x04R\x10startBlockHeight\x12Y\n" + + "\x16event_encoding_version\x18\x02 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xdc\x01\n" + + "'SubscribeExecutionDataFromLatestRequest\x12Y\n" + + "\x16event_encoding_version\x18\x01 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x02 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\x87\x03\n" + + "\x16SubscribeEventsRequest\x12$\n" + + "\x0estart_block_id\x18\x01 \x01(\fR\fstartBlockId\x12,\n" + + "\x12start_block_height\x18\x02 \x01(\x04R\x10startBlockHeight\x127\n" + + "\x06filter\x18\x03 \x01(\v2\x1f.flow.executiondata.EventFilterR\x06filter\x12-\n" + + "\x12heartbeat_interval\x18\x04 \x01(\x04R\x11heartbeatInterval\x12Y\n" + + "\x16event_encoding_version\x18\x05 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x06 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xe9\x02\n" + + "&SubscribeEventsFromStartBlockIDRequest\x12$\n" + + "\x0estart_block_id\x18\x01 \x01(\fR\fstartBlockId\x127\n" + + "\x06filter\x18\x02 \x01(\v2\x1f.flow.executiondata.EventFilterR\x06filter\x12-\n" + + "\x12heartbeat_interval\x18\x03 \x01(\x04R\x11heartbeatInterval\x12Y\n" + + "\x16event_encoding_version\x18\x04 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x05 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xf0\x02\n" + + "%SubscribeEventsFromStartHeightRequest\x12,\n" + + "\x12start_block_height\x18\x01 \x01(\x04R\x10startBlockHeight\x127\n" + + "\x06filter\x18\x02 \x01(\v2\x1f.flow.executiondata.EventFilterR\x06filter\x12-\n" + + "\x12heartbeat_interval\x18\x03 \x01(\x04R\x11heartbeatInterval\x12Y\n" + + "\x16event_encoding_version\x18\x04 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x05 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xbd\x02\n" + + " SubscribeEventsFromLatestRequest\x127\n" + + "\x06filter\x18\x01 \x01(\v2\x1f.flow.executiondata.EventFilterR\x06filter\x12-\n" + + "\x12heartbeat_interval\x18\x02 \x01(\x04R\x11heartbeatInterval\x12Y\n" + + "\x16event_encoding_version\x18\x03 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x04 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xbd\x02\n" + + "\x17SubscribeEventsResponse\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12!\n" + + "\fblock_height\x18\x02 \x01(\x04R\vblockHeight\x12,\n" + + "\x06events\x18\x03 \x03(\v2\x14.flow.entities.EventR\x06events\x12C\n" + + "\x0fblock_timestamp\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\x0eblockTimestamp\x12#\n" + + "\rmessage_index\x18\x05 \x01(\x04R\fmessageIndex\x12L\n" + + "\x11executor_metadata\x18\x06 \x01(\v2\x1f.flow.entities.ExecutorMetadataR\x10executorMetadata\"b\n" + + "\vEventFilter\x12\x1d\n" + + "\n" + + "event_type\x18\x01 \x03(\tR\teventType\x12\x1a\n" + + "\bcontract\x18\x02 \x03(\tR\bcontract\x12\x18\n" + + "\aaddress\x18\x03 \x03(\tR\aaddress\"\xd3\x01\n" + + "\x18GetRegisterValuesRequest\x12!\n" + + "\fblock_height\x18\x01 \x01(\x04R\vblockHeight\x12<\n" + + "\fregister_ids\x18\x02 \x03(\v2\x19.flow.entities.RegisterIDR\vregisterIds\x12V\n" + + "\x15execution_state_query\x18\x03 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\x81\x01\n" + + "\x19GetRegisterValuesResponse\x12\x16\n" + + "\x06values\x18\x01 \x03(\fR\x06values\x12L\n" + + "\x11executor_metadata\x18\x02 \x01(\v2\x1f.flow.entities.ExecutorMetadataR\x10executorMetadata\"\xf3\x02\n" + + "/SubscribeAccountStatusesFromStartBlockIDRequest\x12$\n" + + "\x0estart_block_id\x18\x01 \x01(\fR\fstartBlockId\x128\n" + + "\x06filter\x18\x02 \x01(\v2 .flow.executiondata.StatusFilterR\x06filter\x12-\n" + + "\x12heartbeat_interval\x18\x03 \x01(\x04R\x11heartbeatInterval\x12Y\n" + + "\x16event_encoding_version\x18\x04 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x05 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xfa\x02\n" + + ".SubscribeAccountStatusesFromStartHeightRequest\x12,\n" + + "\x12start_block_height\x18\x01 \x01(\x04R\x10startBlockHeight\x128\n" + + "\x06filter\x18\x02 \x01(\v2 .flow.executiondata.StatusFilterR\x06filter\x12-\n" + + "\x12heartbeat_interval\x18\x03 \x01(\x04R\x11heartbeatInterval\x12Y\n" + + "\x16event_encoding_version\x18\x04 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x05 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xcc\x02\n" + + ".SubscribeAccountStatusesFromLatestBlockRequest\x128\n" + + "\x06filter\x18\x01 \x01(\v2 .flow.executiondata.StatusFilterR\x06filter\x12-\n" + + "\x12heartbeat_interval\x18\x02 \x01(\x04R\x11heartbeatInterval\x12Y\n" + + "\x16event_encoding_version\x18\x03 \x01(\x0e2#.flow.entities.EventEncodingVersionR\x14eventEncodingVersion\x12V\n" + + "\x15execution_state_query\x18\x04 \x01(\v2\".flow.entities.ExecutionStateQueryR\x13executionStateQuery\"\xfc\x02\n" + + " SubscribeAccountStatusesResponse\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12!\n" + + "\fblock_height\x18\x02 \x01(\x04R\vblockHeight\x12#\n" + + "\rmessage_index\x18\x03 \x01(\x04R\fmessageIndex\x12U\n" + + "\aresults\x18\x04 \x03(\v2;.flow.executiondata.SubscribeAccountStatusesResponse.ResultR\aresults\x12L\n" + + "\x11executor_metadata\x18\x05 \x01(\v2\x1f.flow.entities.ExecutorMetadataR\x10executorMetadata\x1aP\n" + + "\x06Result\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12,\n" + + "\x06events\x18\x02 \x03(\v2\x14.flow.entities.EventR\x06events\"G\n" + + "\fStatusFilter\x12\x1d\n" + + "\n" + + "event_type\x18\x01 \x03(\tR\teventType\x12\x18\n" + + "\aaddress\x18\x03 \x03(\tR\aaddress2\x8c\x0f\n" + + "\x10ExecutionDataAPI\x12\x88\x01\n" + + "\x19GetExecutionDataByBlockID\x124.flow.executiondata.GetExecutionDataByBlockIDRequest\x1a5.flow.executiondata.GetExecutionDataByBlockIDResponse\x12\x86\x01\n" + + "\x16SubscribeExecutionData\x121.flow.executiondata.SubscribeExecutionDataRequest\x1a2.flow.executiondata.SubscribeExecutionDataResponse\"\x03\x88\x02\x010\x01\x12\xa1\x01\n" + + "&SubscribeExecutionDataFromStartBlockID\x12A.flow.executiondata.SubscribeExecutionDataFromStartBlockIDRequest\x1a2.flow.executiondata.SubscribeExecutionDataResponse0\x01\x12\xa9\x01\n" + + "*SubscribeExecutionDataFromStartBlockHeight\x12E.flow.executiondata.SubscribeExecutionDataFromStartBlockHeightRequest\x1a2.flow.executiondata.SubscribeExecutionDataResponse0\x01\x12\x95\x01\n" + + " SubscribeExecutionDataFromLatest\x12;.flow.executiondata.SubscribeExecutionDataFromLatestRequest\x1a2.flow.executiondata.SubscribeExecutionDataResponse0\x01\x12q\n" + + "\x0fSubscribeEvents\x12*.flow.executiondata.SubscribeEventsRequest\x1a+.flow.executiondata.SubscribeEventsResponse\"\x03\x88\x02\x010\x01\x12\x8c\x01\n" + + "\x1fSubscribeEventsFromStartBlockID\x12:.flow.executiondata.SubscribeEventsFromStartBlockIDRequest\x1a+.flow.executiondata.SubscribeEventsResponse0\x01\x12\x8a\x01\n" + + "\x1eSubscribeEventsFromStartHeight\x129.flow.executiondata.SubscribeEventsFromStartHeightRequest\x1a+.flow.executiondata.SubscribeEventsResponse0\x01\x12\x80\x01\n" + + "\x19SubscribeEventsFromLatest\x124.flow.executiondata.SubscribeEventsFromLatestRequest\x1a+.flow.executiondata.SubscribeEventsResponse0\x01\x12p\n" + + "\x11GetRegisterValues\x12,.flow.executiondata.GetRegisterValuesRequest\x1a-.flow.executiondata.GetRegisterValuesResponse\x12\xa7\x01\n" + + "(SubscribeAccountStatusesFromStartBlockID\x12C.flow.executiondata.SubscribeAccountStatusesFromStartBlockIDRequest\x1a4.flow.executiondata.SubscribeAccountStatusesResponse0\x01\x12\xa5\x01\n" + + "'SubscribeAccountStatusesFromStartHeight\x12B.flow.executiondata.SubscribeAccountStatusesFromStartHeightRequest\x1a4.flow.executiondata.SubscribeAccountStatusesResponse0\x01\x12\xa5\x01\n" + + "'SubscribeAccountStatusesFromLatestBlock\x12B.flow.executiondata.SubscribeAccountStatusesFromLatestBlockRequest\x1a4.flow.executiondata.SubscribeAccountStatusesResponse0\x01BZ\n" + + "!org.onflow.protobuf.executiondataZ5github.com/onflow/flow/protobuf/go/flow/executiondatab\x06proto3" + +var ( + file_flow_executiondata_executiondata_proto_rawDescOnce sync.Once + file_flow_executiondata_executiondata_proto_rawDescData []byte +) + +func file_flow_executiondata_executiondata_proto_rawDescGZIP() []byte { + file_flow_executiondata_executiondata_proto_rawDescOnce.Do(func() { + file_flow_executiondata_executiondata_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_executiondata_executiondata_proto_rawDesc), len(file_flow_executiondata_executiondata_proto_rawDesc))) + }) + return file_flow_executiondata_executiondata_proto_rawDescData +} + +var file_flow_executiondata_executiondata_proto_msgTypes = make([]protoimpl.MessageInfo, 21) +var file_flow_executiondata_executiondata_proto_goTypes = []any{ + (*GetExecutionDataByBlockIDRequest)(nil), // 0: flow.executiondata.GetExecutionDataByBlockIDRequest + (*GetExecutionDataByBlockIDResponse)(nil), // 1: flow.executiondata.GetExecutionDataByBlockIDResponse + (*SubscribeExecutionDataRequest)(nil), // 2: flow.executiondata.SubscribeExecutionDataRequest + (*SubscribeExecutionDataResponse)(nil), // 3: flow.executiondata.SubscribeExecutionDataResponse + (*SubscribeExecutionDataFromStartBlockIDRequest)(nil), // 4: flow.executiondata.SubscribeExecutionDataFromStartBlockIDRequest + (*SubscribeExecutionDataFromStartBlockHeightRequest)(nil), // 5: flow.executiondata.SubscribeExecutionDataFromStartBlockHeightRequest + (*SubscribeExecutionDataFromLatestRequest)(nil), // 6: flow.executiondata.SubscribeExecutionDataFromLatestRequest + (*SubscribeEventsRequest)(nil), // 7: flow.executiondata.SubscribeEventsRequest + (*SubscribeEventsFromStartBlockIDRequest)(nil), // 8: flow.executiondata.SubscribeEventsFromStartBlockIDRequest + (*SubscribeEventsFromStartHeightRequest)(nil), // 9: flow.executiondata.SubscribeEventsFromStartHeightRequest + (*SubscribeEventsFromLatestRequest)(nil), // 10: flow.executiondata.SubscribeEventsFromLatestRequest + (*SubscribeEventsResponse)(nil), // 11: flow.executiondata.SubscribeEventsResponse + (*EventFilter)(nil), // 12: flow.executiondata.EventFilter + (*GetRegisterValuesRequest)(nil), // 13: flow.executiondata.GetRegisterValuesRequest + (*GetRegisterValuesResponse)(nil), // 14: flow.executiondata.GetRegisterValuesResponse + (*SubscribeAccountStatusesFromStartBlockIDRequest)(nil), // 15: flow.executiondata.SubscribeAccountStatusesFromStartBlockIDRequest + (*SubscribeAccountStatusesFromStartHeightRequest)(nil), // 16: flow.executiondata.SubscribeAccountStatusesFromStartHeightRequest + (*SubscribeAccountStatusesFromLatestBlockRequest)(nil), // 17: flow.executiondata.SubscribeAccountStatusesFromLatestBlockRequest + (*SubscribeAccountStatusesResponse)(nil), // 18: flow.executiondata.SubscribeAccountStatusesResponse + (*StatusFilter)(nil), // 19: flow.executiondata.StatusFilter + (*SubscribeAccountStatusesResponse_Result)(nil), // 20: flow.executiondata.SubscribeAccountStatusesResponse.Result + (entities.EventEncodingVersion)(0), // 21: flow.entities.EventEncodingVersion + (*entities.ExecutionStateQuery)(nil), // 22: flow.entities.ExecutionStateQuery + (*entities.BlockExecutionData)(nil), // 23: flow.entities.BlockExecutionData + (*entities.ExecutorMetadata)(nil), // 24: flow.entities.ExecutorMetadata + (*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp + (*entities.Event)(nil), // 26: flow.entities.Event + (*entities.RegisterID)(nil), // 27: flow.entities.RegisterID +} +var file_flow_executiondata_executiondata_proto_depIdxs = []int32{ + 21, // 0: flow.executiondata.GetExecutionDataByBlockIDRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 22, // 1: flow.executiondata.GetExecutionDataByBlockIDRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 23, // 2: flow.executiondata.GetExecutionDataByBlockIDResponse.block_execution_data:type_name -> flow.entities.BlockExecutionData + 24, // 3: flow.executiondata.GetExecutionDataByBlockIDResponse.executor_metadata:type_name -> flow.entities.ExecutorMetadata + 21, // 4: flow.executiondata.SubscribeExecutionDataRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 22, // 5: flow.executiondata.SubscribeExecutionDataRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 23, // 6: flow.executiondata.SubscribeExecutionDataResponse.block_execution_data:type_name -> flow.entities.BlockExecutionData + 25, // 7: flow.executiondata.SubscribeExecutionDataResponse.block_timestamp:type_name -> google.protobuf.Timestamp + 24, // 8: flow.executiondata.SubscribeExecutionDataResponse.executor_metadata:type_name -> flow.entities.ExecutorMetadata + 21, // 9: flow.executiondata.SubscribeExecutionDataFromStartBlockIDRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 22, // 10: flow.executiondata.SubscribeExecutionDataFromStartBlockIDRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 21, // 11: flow.executiondata.SubscribeExecutionDataFromStartBlockHeightRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 22, // 12: flow.executiondata.SubscribeExecutionDataFromStartBlockHeightRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 21, // 13: flow.executiondata.SubscribeExecutionDataFromLatestRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 22, // 14: flow.executiondata.SubscribeExecutionDataFromLatestRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 12, // 15: flow.executiondata.SubscribeEventsRequest.filter:type_name -> flow.executiondata.EventFilter + 21, // 16: flow.executiondata.SubscribeEventsRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 22, // 17: flow.executiondata.SubscribeEventsRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 12, // 18: flow.executiondata.SubscribeEventsFromStartBlockIDRequest.filter:type_name -> flow.executiondata.EventFilter + 21, // 19: flow.executiondata.SubscribeEventsFromStartBlockIDRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 22, // 20: flow.executiondata.SubscribeEventsFromStartBlockIDRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 12, // 21: flow.executiondata.SubscribeEventsFromStartHeightRequest.filter:type_name -> flow.executiondata.EventFilter + 21, // 22: flow.executiondata.SubscribeEventsFromStartHeightRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 22, // 23: flow.executiondata.SubscribeEventsFromStartHeightRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 12, // 24: flow.executiondata.SubscribeEventsFromLatestRequest.filter:type_name -> flow.executiondata.EventFilter + 21, // 25: flow.executiondata.SubscribeEventsFromLatestRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 22, // 26: flow.executiondata.SubscribeEventsFromLatestRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 26, // 27: flow.executiondata.SubscribeEventsResponse.events:type_name -> flow.entities.Event + 25, // 28: flow.executiondata.SubscribeEventsResponse.block_timestamp:type_name -> google.protobuf.Timestamp + 24, // 29: flow.executiondata.SubscribeEventsResponse.executor_metadata:type_name -> flow.entities.ExecutorMetadata + 27, // 30: flow.executiondata.GetRegisterValuesRequest.register_ids:type_name -> flow.entities.RegisterID + 22, // 31: flow.executiondata.GetRegisterValuesRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 24, // 32: flow.executiondata.GetRegisterValuesResponse.executor_metadata:type_name -> flow.entities.ExecutorMetadata + 19, // 33: flow.executiondata.SubscribeAccountStatusesFromStartBlockIDRequest.filter:type_name -> flow.executiondata.StatusFilter + 21, // 34: flow.executiondata.SubscribeAccountStatusesFromStartBlockIDRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 22, // 35: flow.executiondata.SubscribeAccountStatusesFromStartBlockIDRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 19, // 36: flow.executiondata.SubscribeAccountStatusesFromStartHeightRequest.filter:type_name -> flow.executiondata.StatusFilter + 21, // 37: flow.executiondata.SubscribeAccountStatusesFromStartHeightRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 22, // 38: flow.executiondata.SubscribeAccountStatusesFromStartHeightRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 19, // 39: flow.executiondata.SubscribeAccountStatusesFromLatestBlockRequest.filter:type_name -> flow.executiondata.StatusFilter + 21, // 40: flow.executiondata.SubscribeAccountStatusesFromLatestBlockRequest.event_encoding_version:type_name -> flow.entities.EventEncodingVersion + 22, // 41: flow.executiondata.SubscribeAccountStatusesFromLatestBlockRequest.execution_state_query:type_name -> flow.entities.ExecutionStateQuery + 20, // 42: flow.executiondata.SubscribeAccountStatusesResponse.results:type_name -> flow.executiondata.SubscribeAccountStatusesResponse.Result + 24, // 43: flow.executiondata.SubscribeAccountStatusesResponse.executor_metadata:type_name -> flow.entities.ExecutorMetadata + 26, // 44: flow.executiondata.SubscribeAccountStatusesResponse.Result.events:type_name -> flow.entities.Event + 0, // 45: flow.executiondata.ExecutionDataAPI.GetExecutionDataByBlockID:input_type -> flow.executiondata.GetExecutionDataByBlockIDRequest + 2, // 46: flow.executiondata.ExecutionDataAPI.SubscribeExecutionData:input_type -> flow.executiondata.SubscribeExecutionDataRequest + 4, // 47: flow.executiondata.ExecutionDataAPI.SubscribeExecutionDataFromStartBlockID:input_type -> flow.executiondata.SubscribeExecutionDataFromStartBlockIDRequest + 5, // 48: flow.executiondata.ExecutionDataAPI.SubscribeExecutionDataFromStartBlockHeight:input_type -> flow.executiondata.SubscribeExecutionDataFromStartBlockHeightRequest + 6, // 49: flow.executiondata.ExecutionDataAPI.SubscribeExecutionDataFromLatest:input_type -> flow.executiondata.SubscribeExecutionDataFromLatestRequest + 7, // 50: flow.executiondata.ExecutionDataAPI.SubscribeEvents:input_type -> flow.executiondata.SubscribeEventsRequest + 8, // 51: flow.executiondata.ExecutionDataAPI.SubscribeEventsFromStartBlockID:input_type -> flow.executiondata.SubscribeEventsFromStartBlockIDRequest + 9, // 52: flow.executiondata.ExecutionDataAPI.SubscribeEventsFromStartHeight:input_type -> flow.executiondata.SubscribeEventsFromStartHeightRequest + 10, // 53: flow.executiondata.ExecutionDataAPI.SubscribeEventsFromLatest:input_type -> flow.executiondata.SubscribeEventsFromLatestRequest + 13, // 54: flow.executiondata.ExecutionDataAPI.GetRegisterValues:input_type -> flow.executiondata.GetRegisterValuesRequest + 15, // 55: flow.executiondata.ExecutionDataAPI.SubscribeAccountStatusesFromStartBlockID:input_type -> flow.executiondata.SubscribeAccountStatusesFromStartBlockIDRequest + 16, // 56: flow.executiondata.ExecutionDataAPI.SubscribeAccountStatusesFromStartHeight:input_type -> flow.executiondata.SubscribeAccountStatusesFromStartHeightRequest + 17, // 57: flow.executiondata.ExecutionDataAPI.SubscribeAccountStatusesFromLatestBlock:input_type -> flow.executiondata.SubscribeAccountStatusesFromLatestBlockRequest + 1, // 58: flow.executiondata.ExecutionDataAPI.GetExecutionDataByBlockID:output_type -> flow.executiondata.GetExecutionDataByBlockIDResponse + 3, // 59: flow.executiondata.ExecutionDataAPI.SubscribeExecutionData:output_type -> flow.executiondata.SubscribeExecutionDataResponse + 3, // 60: flow.executiondata.ExecutionDataAPI.SubscribeExecutionDataFromStartBlockID:output_type -> flow.executiondata.SubscribeExecutionDataResponse + 3, // 61: flow.executiondata.ExecutionDataAPI.SubscribeExecutionDataFromStartBlockHeight:output_type -> flow.executiondata.SubscribeExecutionDataResponse + 3, // 62: flow.executiondata.ExecutionDataAPI.SubscribeExecutionDataFromLatest:output_type -> flow.executiondata.SubscribeExecutionDataResponse + 11, // 63: flow.executiondata.ExecutionDataAPI.SubscribeEvents:output_type -> flow.executiondata.SubscribeEventsResponse + 11, // 64: flow.executiondata.ExecutionDataAPI.SubscribeEventsFromStartBlockID:output_type -> flow.executiondata.SubscribeEventsResponse + 11, // 65: flow.executiondata.ExecutionDataAPI.SubscribeEventsFromStartHeight:output_type -> flow.executiondata.SubscribeEventsResponse + 11, // 66: flow.executiondata.ExecutionDataAPI.SubscribeEventsFromLatest:output_type -> flow.executiondata.SubscribeEventsResponse + 14, // 67: flow.executiondata.ExecutionDataAPI.GetRegisterValues:output_type -> flow.executiondata.GetRegisterValuesResponse + 18, // 68: flow.executiondata.ExecutionDataAPI.SubscribeAccountStatusesFromStartBlockID:output_type -> flow.executiondata.SubscribeAccountStatusesResponse + 18, // 69: flow.executiondata.ExecutionDataAPI.SubscribeAccountStatusesFromStartHeight:output_type -> flow.executiondata.SubscribeAccountStatusesResponse + 18, // 70: flow.executiondata.ExecutionDataAPI.SubscribeAccountStatusesFromLatestBlock:output_type -> flow.executiondata.SubscribeAccountStatusesResponse + 58, // [58:71] is the sub-list for method output_type + 45, // [45:58] is the sub-list for method input_type + 45, // [45:45] is the sub-list for extension type_name + 45, // [45:45] is the sub-list for extension extendee + 0, // [0:45] is the sub-list for field type_name +} + +func init() { file_flow_executiondata_executiondata_proto_init() } +func file_flow_executiondata_executiondata_proto_init() { + if File_flow_executiondata_executiondata_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_executiondata_executiondata_proto_rawDesc), len(file_flow_executiondata_executiondata_proto_rawDesc)), + NumEnums: 0, + NumMessages: 21, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_flow_executiondata_executiondata_proto_goTypes, + DependencyIndexes: file_flow_executiondata_executiondata_proto_depIdxs, + MessageInfos: file_flow_executiondata_executiondata_proto_msgTypes, + }.Build() + File_flow_executiondata_executiondata_proto = out.File + file_flow_executiondata_executiondata_proto_goTypes = nil + file_flow_executiondata_executiondata_proto_depIdxs = nil } diff --git a/protobuf/go/flow/executiondata/executiondata_grpc.pb.go b/protobuf/go/flow/executiondata/executiondata_grpc.pb.go index 726f350a4..85eef030a 100644 --- a/protobuf/go/flow/executiondata/executiondata_grpc.pb.go +++ b/protobuf/go/flow/executiondata/executiondata_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.6.0 // - protoc (unknown) // source: flow/executiondata/executiondata.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( ExecutionDataAPI_GetExecutionDataByBlockID_FullMethodName = "/flow.executiondata.ExecutionDataAPI/GetExecutionDataByBlockID" @@ -37,6 +37,8 @@ const ( // ExecutionDataAPIClient is the client API for ExecutionDataAPI service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// Execution Data API provides access to execution data from the Flow network type ExecutionDataAPIClient interface { // GetExecutionDataByBlockID returns execution data for a specific block ID. // @@ -65,7 +67,7 @@ type ExecutionDataAPIClient interface { // - NotFound is returned if the start block is not currently available on the // node. This may happen if the block was from a previous spork, or if the // block has yet not been received. - SubscribeExecutionData(ctx context.Context, in *SubscribeExecutionDataRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeExecutionDataClient, error) + SubscribeExecutionData(ctx context.Context, in *SubscribeExecutionDataRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeExecutionDataResponse], error) // SubscribeExecutionDataFromStartBlockID streams execution data for all // blocks starting at the requested start block, up until the latest available // block. Once the latest is reached, the stream will remain open and @@ -77,7 +79,7 @@ type ExecutionDataAPIClient interface { // - NotFound is returned if the start block is not currently available on the // node. This may happen if the block was from a previous spork, // or if the block has yet not been received. - SubscribeExecutionDataFromStartBlockID(ctx context.Context, in *SubscribeExecutionDataFromStartBlockIDRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeExecutionDataFromStartBlockIDClient, error) + SubscribeExecutionDataFromStartBlockID(ctx context.Context, in *SubscribeExecutionDataFromStartBlockIDRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeExecutionDataResponse], error) // SubscribeExecutionDataFromStartBlockHeight streams execution data for all // blocks starting at the requested start block, up until the latest available // block. Once the latest is reached, the stream will remain open and @@ -89,7 +91,7 @@ type ExecutionDataAPIClient interface { // - NotFound is returned if the start block is not currently available on the // node. This may happen if the block was from a previous spork, // or if the block has yet not been received. - SubscribeExecutionDataFromStartBlockHeight(ctx context.Context, in *SubscribeExecutionDataFromStartBlockHeightRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeExecutionDataFromStartBlockHeightClient, error) + SubscribeExecutionDataFromStartBlockHeight(ctx context.Context, in *SubscribeExecutionDataFromStartBlockHeightRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeExecutionDataResponse], error) // SubscribeExecutionDataFromStartBlockHeight streams execution data for all // blocks starting from the latest block. // @@ -97,7 +99,7 @@ type ExecutionDataAPIClient interface { // - NotFound is returned if the start block is not currently available on the // node. This may happen if the block was from a previous spork, // or if the block has yet not been received. - SubscribeExecutionDataFromLatest(ctx context.Context, in *SubscribeExecutionDataFromLatestRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeExecutionDataFromLatestClient, error) + SubscribeExecutionDataFromLatest(ctx context.Context, in *SubscribeExecutionDataFromLatestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeExecutionDataResponse], error) // Deprecated: Do not use. // Warning: this endpoint is deprecated and will be removed in future // versions. Use SubscribeEventsFromStartBlockID, @@ -126,7 +128,7 @@ type ExecutionDataAPIClient interface { // // happen if the block was from a previous spork, or if the block has yet // not been received. - SubscribeEvents(ctx context.Context, in *SubscribeEventsRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeEventsClient, error) + SubscribeEvents(ctx context.Context, in *SubscribeEventsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeEventsResponse], error) // SubscribeEventsFromStartBlockID streams events for all blocks starting at // the requested start block id, up until the latest available block. Once the // latest is reached, the stream will remain open and responses are sent for @@ -148,7 +150,7 @@ type ExecutionDataAPIClient interface { // - NotFound is returned if the start block id or execution data are not // currently available on the node. This may happen if the block was from a // previous spork, or if the block has yet not been received. - SubscribeEventsFromStartBlockID(ctx context.Context, in *SubscribeEventsFromStartBlockIDRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeEventsFromStartBlockIDClient, error) + SubscribeEventsFromStartBlockID(ctx context.Context, in *SubscribeEventsFromStartBlockIDRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeEventsResponse], error) // SubscribeEventsFromStartHeight streams events for all blocks starting at // the requested start block height, up until the latest available block. Once // the latest is reached, the stream will remain open and responses are sent @@ -170,7 +172,7 @@ type ExecutionDataAPIClient interface { // - NotFound is returned if the start block height or execution data are not // currently available on the node. This may happen if the block was from a // previous spork, or if the block has yet not been received. - SubscribeEventsFromStartHeight(ctx context.Context, in *SubscribeEventsFromStartHeightRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeEventsFromStartHeightClient, error) + SubscribeEventsFromStartHeight(ctx context.Context, in *SubscribeEventsFromStartHeightRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeEventsResponse], error) // SubscribeEventsFromLatest streams events for all blocks starting from the // latest sealed block. The stream will remain open and responses are sent for // each new block as it becomes available. @@ -188,7 +190,7 @@ type ExecutionDataAPIClient interface { // Errors: // - InvalidArgument is returned if the request contains an invalid // EventFilter. - SubscribeEventsFromLatest(ctx context.Context, in *SubscribeEventsFromLatestRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeEventsFromLatestClient, error) + SubscribeEventsFromLatest(ctx context.Context, in *SubscribeEventsFromLatestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeEventsResponse], error) // GetRegisterValues gets the values for the given register IDs as of the // given block height GetRegisterValues(ctx context.Context, in *GetRegisterValuesRequest, opts ...grpc.CallOption) (*GetRegisterValuesResponse, error) @@ -215,7 +217,7 @@ type ExecutionDataAPIClient interface { // block has yet // // not been received. - SubscribeAccountStatusesFromStartBlockID(ctx context.Context, in *SubscribeAccountStatusesFromStartBlockIDRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockIDClient, error) + SubscribeAccountStatusesFromStartBlockID(ctx context.Context, in *SubscribeAccountStatusesFromStartBlockIDRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeAccountStatusesResponse], error) // SubscribeAccountStatusesFromStartHeight streams account statuses for all // blocks starting at the requested start block height, up until the latest // available block. Once the latest is reached, the stream will remain open @@ -239,7 +241,7 @@ type ExecutionDataAPIClient interface { // block has yet // // not been received. - SubscribeAccountStatusesFromStartHeight(ctx context.Context, in *SubscribeAccountStatusesFromStartHeightRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeAccountStatusesFromStartHeightClient, error) + SubscribeAccountStatusesFromStartHeight(ctx context.Context, in *SubscribeAccountStatusesFromStartHeightRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeAccountStatusesResponse], error) // SubscribeAccountStatusesFromLatestBlock streams account statuses for all // blocks starting at the last sealed block, up until the latest available // block. Once the latest is reached, the stream will remain open and @@ -263,7 +265,7 @@ type ExecutionDataAPIClient interface { // block has yet // // not been received. - SubscribeAccountStatusesFromLatestBlock(ctx context.Context, in *SubscribeAccountStatusesFromLatestBlockRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlockClient, error) + SubscribeAccountStatusesFromLatestBlock(ctx context.Context, in *SubscribeAccountStatusesFromLatestBlockRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeAccountStatusesResponse], error) } type executionDataAPIClient struct { @@ -275,8 +277,9 @@ func NewExecutionDataAPIClient(cc grpc.ClientConnInterface) ExecutionDataAPIClie } func (c *executionDataAPIClient) GetExecutionDataByBlockID(ctx context.Context, in *GetExecutionDataByBlockIDRequest, opts ...grpc.CallOption) (*GetExecutionDataByBlockIDResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetExecutionDataByBlockIDResponse) - err := c.cc.Invoke(ctx, ExecutionDataAPI_GetExecutionDataByBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionDataAPI_GetExecutionDataByBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -284,12 +287,13 @@ func (c *executionDataAPIClient) GetExecutionDataByBlockID(ctx context.Context, } // Deprecated: Do not use. -func (c *executionDataAPIClient) SubscribeExecutionData(ctx context.Context, in *SubscribeExecutionDataRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeExecutionDataClient, error) { - stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[0], ExecutionDataAPI_SubscribeExecutionData_FullMethodName, opts...) +func (c *executionDataAPIClient) SubscribeExecutionData(ctx context.Context, in *SubscribeExecutionDataRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeExecutionDataResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[0], ExecutionDataAPI_SubscribeExecutionData_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &executionDataAPISubscribeExecutionDataClient{stream} + x := &grpc.GenericClientStream[SubscribeExecutionDataRequest, SubscribeExecutionDataResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -299,29 +303,16 @@ func (c *executionDataAPIClient) SubscribeExecutionData(ctx context.Context, in return x, nil } -type ExecutionDataAPI_SubscribeExecutionDataClient interface { - Recv() (*SubscribeExecutionDataResponse, error) - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeExecutionDataClient = grpc.ServerStreamingClient[SubscribeExecutionDataResponse] -type executionDataAPISubscribeExecutionDataClient struct { - grpc.ClientStream -} - -func (x *executionDataAPISubscribeExecutionDataClient) Recv() (*SubscribeExecutionDataResponse, error) { - m := new(SubscribeExecutionDataResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *executionDataAPIClient) SubscribeExecutionDataFromStartBlockID(ctx context.Context, in *SubscribeExecutionDataFromStartBlockIDRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeExecutionDataFromStartBlockIDClient, error) { - stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[1], ExecutionDataAPI_SubscribeExecutionDataFromStartBlockID_FullMethodName, opts...) +func (c *executionDataAPIClient) SubscribeExecutionDataFromStartBlockID(ctx context.Context, in *SubscribeExecutionDataFromStartBlockIDRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeExecutionDataResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[1], ExecutionDataAPI_SubscribeExecutionDataFromStartBlockID_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &executionDataAPISubscribeExecutionDataFromStartBlockIDClient{stream} + x := &grpc.GenericClientStream[SubscribeExecutionDataFromStartBlockIDRequest, SubscribeExecutionDataResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -331,29 +322,16 @@ func (c *executionDataAPIClient) SubscribeExecutionDataFromStartBlockID(ctx cont return x, nil } -type ExecutionDataAPI_SubscribeExecutionDataFromStartBlockIDClient interface { - Recv() (*SubscribeExecutionDataResponse, error) - grpc.ClientStream -} - -type executionDataAPISubscribeExecutionDataFromStartBlockIDClient struct { - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeExecutionDataFromStartBlockIDClient = grpc.ServerStreamingClient[SubscribeExecutionDataResponse] -func (x *executionDataAPISubscribeExecutionDataFromStartBlockIDClient) Recv() (*SubscribeExecutionDataResponse, error) { - m := new(SubscribeExecutionDataResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *executionDataAPIClient) SubscribeExecutionDataFromStartBlockHeight(ctx context.Context, in *SubscribeExecutionDataFromStartBlockHeightRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeExecutionDataFromStartBlockHeightClient, error) { - stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[2], ExecutionDataAPI_SubscribeExecutionDataFromStartBlockHeight_FullMethodName, opts...) +func (c *executionDataAPIClient) SubscribeExecutionDataFromStartBlockHeight(ctx context.Context, in *SubscribeExecutionDataFromStartBlockHeightRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeExecutionDataResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[2], ExecutionDataAPI_SubscribeExecutionDataFromStartBlockHeight_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &executionDataAPISubscribeExecutionDataFromStartBlockHeightClient{stream} + x := &grpc.GenericClientStream[SubscribeExecutionDataFromStartBlockHeightRequest, SubscribeExecutionDataResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -363,29 +341,16 @@ func (c *executionDataAPIClient) SubscribeExecutionDataFromStartBlockHeight(ctx return x, nil } -type ExecutionDataAPI_SubscribeExecutionDataFromStartBlockHeightClient interface { - Recv() (*SubscribeExecutionDataResponse, error) - grpc.ClientStream -} - -type executionDataAPISubscribeExecutionDataFromStartBlockHeightClient struct { - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeExecutionDataFromStartBlockHeightClient = grpc.ServerStreamingClient[SubscribeExecutionDataResponse] -func (x *executionDataAPISubscribeExecutionDataFromStartBlockHeightClient) Recv() (*SubscribeExecutionDataResponse, error) { - m := new(SubscribeExecutionDataResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *executionDataAPIClient) SubscribeExecutionDataFromLatest(ctx context.Context, in *SubscribeExecutionDataFromLatestRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeExecutionDataFromLatestClient, error) { - stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[3], ExecutionDataAPI_SubscribeExecutionDataFromLatest_FullMethodName, opts...) +func (c *executionDataAPIClient) SubscribeExecutionDataFromLatest(ctx context.Context, in *SubscribeExecutionDataFromLatestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeExecutionDataResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[3], ExecutionDataAPI_SubscribeExecutionDataFromLatest_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &executionDataAPISubscribeExecutionDataFromLatestClient{stream} + x := &grpc.GenericClientStream[SubscribeExecutionDataFromLatestRequest, SubscribeExecutionDataResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -395,30 +360,17 @@ func (c *executionDataAPIClient) SubscribeExecutionDataFromLatest(ctx context.Co return x, nil } -type ExecutionDataAPI_SubscribeExecutionDataFromLatestClient interface { - Recv() (*SubscribeExecutionDataResponse, error) - grpc.ClientStream -} - -type executionDataAPISubscribeExecutionDataFromLatestClient struct { - grpc.ClientStream -} - -func (x *executionDataAPISubscribeExecutionDataFromLatestClient) Recv() (*SubscribeExecutionDataResponse, error) { - m := new(SubscribeExecutionDataResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeExecutionDataFromLatestClient = grpc.ServerStreamingClient[SubscribeExecutionDataResponse] // Deprecated: Do not use. -func (c *executionDataAPIClient) SubscribeEvents(ctx context.Context, in *SubscribeEventsRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeEventsClient, error) { - stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[4], ExecutionDataAPI_SubscribeEvents_FullMethodName, opts...) +func (c *executionDataAPIClient) SubscribeEvents(ctx context.Context, in *SubscribeEventsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeEventsResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[4], ExecutionDataAPI_SubscribeEvents_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &executionDataAPISubscribeEventsClient{stream} + x := &grpc.GenericClientStream[SubscribeEventsRequest, SubscribeEventsResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -428,29 +380,16 @@ func (c *executionDataAPIClient) SubscribeEvents(ctx context.Context, in *Subscr return x, nil } -type ExecutionDataAPI_SubscribeEventsClient interface { - Recv() (*SubscribeEventsResponse, error) - grpc.ClientStream -} - -type executionDataAPISubscribeEventsClient struct { - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeEventsClient = grpc.ServerStreamingClient[SubscribeEventsResponse] -func (x *executionDataAPISubscribeEventsClient) Recv() (*SubscribeEventsResponse, error) { - m := new(SubscribeEventsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *executionDataAPIClient) SubscribeEventsFromStartBlockID(ctx context.Context, in *SubscribeEventsFromStartBlockIDRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeEventsFromStartBlockIDClient, error) { - stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[5], ExecutionDataAPI_SubscribeEventsFromStartBlockID_FullMethodName, opts...) +func (c *executionDataAPIClient) SubscribeEventsFromStartBlockID(ctx context.Context, in *SubscribeEventsFromStartBlockIDRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeEventsResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[5], ExecutionDataAPI_SubscribeEventsFromStartBlockID_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &executionDataAPISubscribeEventsFromStartBlockIDClient{stream} + x := &grpc.GenericClientStream[SubscribeEventsFromStartBlockIDRequest, SubscribeEventsResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -460,29 +399,16 @@ func (c *executionDataAPIClient) SubscribeEventsFromStartBlockID(ctx context.Con return x, nil } -type ExecutionDataAPI_SubscribeEventsFromStartBlockIDClient interface { - Recv() (*SubscribeEventsResponse, error) - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeEventsFromStartBlockIDClient = grpc.ServerStreamingClient[SubscribeEventsResponse] -type executionDataAPISubscribeEventsFromStartBlockIDClient struct { - grpc.ClientStream -} - -func (x *executionDataAPISubscribeEventsFromStartBlockIDClient) Recv() (*SubscribeEventsResponse, error) { - m := new(SubscribeEventsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *executionDataAPIClient) SubscribeEventsFromStartHeight(ctx context.Context, in *SubscribeEventsFromStartHeightRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeEventsFromStartHeightClient, error) { - stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[6], ExecutionDataAPI_SubscribeEventsFromStartHeight_FullMethodName, opts...) +func (c *executionDataAPIClient) SubscribeEventsFromStartHeight(ctx context.Context, in *SubscribeEventsFromStartHeightRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeEventsResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[6], ExecutionDataAPI_SubscribeEventsFromStartHeight_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &executionDataAPISubscribeEventsFromStartHeightClient{stream} + x := &grpc.GenericClientStream[SubscribeEventsFromStartHeightRequest, SubscribeEventsResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -492,29 +418,16 @@ func (c *executionDataAPIClient) SubscribeEventsFromStartHeight(ctx context.Cont return x, nil } -type ExecutionDataAPI_SubscribeEventsFromStartHeightClient interface { - Recv() (*SubscribeEventsResponse, error) - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeEventsFromStartHeightClient = grpc.ServerStreamingClient[SubscribeEventsResponse] -type executionDataAPISubscribeEventsFromStartHeightClient struct { - grpc.ClientStream -} - -func (x *executionDataAPISubscribeEventsFromStartHeightClient) Recv() (*SubscribeEventsResponse, error) { - m := new(SubscribeEventsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *executionDataAPIClient) SubscribeEventsFromLatest(ctx context.Context, in *SubscribeEventsFromLatestRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeEventsFromLatestClient, error) { - stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[7], ExecutionDataAPI_SubscribeEventsFromLatest_FullMethodName, opts...) +func (c *executionDataAPIClient) SubscribeEventsFromLatest(ctx context.Context, in *SubscribeEventsFromLatestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeEventsResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[7], ExecutionDataAPI_SubscribeEventsFromLatest_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &executionDataAPISubscribeEventsFromLatestClient{stream} + x := &grpc.GenericClientStream[SubscribeEventsFromLatestRequest, SubscribeEventsResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -524,38 +437,26 @@ func (c *executionDataAPIClient) SubscribeEventsFromLatest(ctx context.Context, return x, nil } -type ExecutionDataAPI_SubscribeEventsFromLatestClient interface { - Recv() (*SubscribeEventsResponse, error) - grpc.ClientStream -} - -type executionDataAPISubscribeEventsFromLatestClient struct { - grpc.ClientStream -} - -func (x *executionDataAPISubscribeEventsFromLatestClient) Recv() (*SubscribeEventsResponse, error) { - m := new(SubscribeEventsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeEventsFromLatestClient = grpc.ServerStreamingClient[SubscribeEventsResponse] func (c *executionDataAPIClient) GetRegisterValues(ctx context.Context, in *GetRegisterValuesRequest, opts ...grpc.CallOption) (*GetRegisterValuesResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetRegisterValuesResponse) - err := c.cc.Invoke(ctx, ExecutionDataAPI_GetRegisterValues_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionDataAPI_GetRegisterValues_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } -func (c *executionDataAPIClient) SubscribeAccountStatusesFromStartBlockID(ctx context.Context, in *SubscribeAccountStatusesFromStartBlockIDRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockIDClient, error) { - stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[8], ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockID_FullMethodName, opts...) +func (c *executionDataAPIClient) SubscribeAccountStatusesFromStartBlockID(ctx context.Context, in *SubscribeAccountStatusesFromStartBlockIDRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeAccountStatusesResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[8], ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockID_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &executionDataAPISubscribeAccountStatusesFromStartBlockIDClient{stream} + x := &grpc.GenericClientStream[SubscribeAccountStatusesFromStartBlockIDRequest, SubscribeAccountStatusesResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -565,29 +466,16 @@ func (c *executionDataAPIClient) SubscribeAccountStatusesFromStartBlockID(ctx co return x, nil } -type ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockIDClient interface { - Recv() (*SubscribeAccountStatusesResponse, error) - grpc.ClientStream -} - -type executionDataAPISubscribeAccountStatusesFromStartBlockIDClient struct { - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockIDClient = grpc.ServerStreamingClient[SubscribeAccountStatusesResponse] -func (x *executionDataAPISubscribeAccountStatusesFromStartBlockIDClient) Recv() (*SubscribeAccountStatusesResponse, error) { - m := new(SubscribeAccountStatusesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *executionDataAPIClient) SubscribeAccountStatusesFromStartHeight(ctx context.Context, in *SubscribeAccountStatusesFromStartHeightRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeAccountStatusesFromStartHeightClient, error) { - stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[9], ExecutionDataAPI_SubscribeAccountStatusesFromStartHeight_FullMethodName, opts...) +func (c *executionDataAPIClient) SubscribeAccountStatusesFromStartHeight(ctx context.Context, in *SubscribeAccountStatusesFromStartHeightRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeAccountStatusesResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[9], ExecutionDataAPI_SubscribeAccountStatusesFromStartHeight_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &executionDataAPISubscribeAccountStatusesFromStartHeightClient{stream} + x := &grpc.GenericClientStream[SubscribeAccountStatusesFromStartHeightRequest, SubscribeAccountStatusesResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -597,29 +485,16 @@ func (c *executionDataAPIClient) SubscribeAccountStatusesFromStartHeight(ctx con return x, nil } -type ExecutionDataAPI_SubscribeAccountStatusesFromStartHeightClient interface { - Recv() (*SubscribeAccountStatusesResponse, error) - grpc.ClientStream -} - -type executionDataAPISubscribeAccountStatusesFromStartHeightClient struct { - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeAccountStatusesFromStartHeightClient = grpc.ServerStreamingClient[SubscribeAccountStatusesResponse] -func (x *executionDataAPISubscribeAccountStatusesFromStartHeightClient) Recv() (*SubscribeAccountStatusesResponse, error) { - m := new(SubscribeAccountStatusesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *executionDataAPIClient) SubscribeAccountStatusesFromLatestBlock(ctx context.Context, in *SubscribeAccountStatusesFromLatestBlockRequest, opts ...grpc.CallOption) (ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlockClient, error) { - stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[10], ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlock_FullMethodName, opts...) +func (c *executionDataAPIClient) SubscribeAccountStatusesFromLatestBlock(ctx context.Context, in *SubscribeAccountStatusesFromLatestBlockRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeAccountStatusesResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &ExecutionDataAPI_ServiceDesc.Streams[10], ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlock_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &executionDataAPISubscribeAccountStatusesFromLatestBlockClient{stream} + x := &grpc.GenericClientStream[SubscribeAccountStatusesFromLatestBlockRequest, SubscribeAccountStatusesResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -629,26 +504,14 @@ func (c *executionDataAPIClient) SubscribeAccountStatusesFromLatestBlock(ctx con return x, nil } -type ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlockClient interface { - Recv() (*SubscribeAccountStatusesResponse, error) - grpc.ClientStream -} - -type executionDataAPISubscribeAccountStatusesFromLatestBlockClient struct { - grpc.ClientStream -} - -func (x *executionDataAPISubscribeAccountStatusesFromLatestBlockClient) Recv() (*SubscribeAccountStatusesResponse, error) { - m := new(SubscribeAccountStatusesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlockClient = grpc.ServerStreamingClient[SubscribeAccountStatusesResponse] // ExecutionDataAPIServer is the server API for ExecutionDataAPI service. // All implementations should embed UnimplementedExecutionDataAPIServer -// for forward compatibility +// for forward compatibility. +// +// Execution Data API provides access to execution data from the Flow network type ExecutionDataAPIServer interface { // GetExecutionDataByBlockID returns execution data for a specific block ID. // @@ -677,7 +540,7 @@ type ExecutionDataAPIServer interface { // - NotFound is returned if the start block is not currently available on the // node. This may happen if the block was from a previous spork, or if the // block has yet not been received. - SubscribeExecutionData(*SubscribeExecutionDataRequest, ExecutionDataAPI_SubscribeExecutionDataServer) error + SubscribeExecutionData(*SubscribeExecutionDataRequest, grpc.ServerStreamingServer[SubscribeExecutionDataResponse]) error // SubscribeExecutionDataFromStartBlockID streams execution data for all // blocks starting at the requested start block, up until the latest available // block. Once the latest is reached, the stream will remain open and @@ -689,7 +552,7 @@ type ExecutionDataAPIServer interface { // - NotFound is returned if the start block is not currently available on the // node. This may happen if the block was from a previous spork, // or if the block has yet not been received. - SubscribeExecutionDataFromStartBlockID(*SubscribeExecutionDataFromStartBlockIDRequest, ExecutionDataAPI_SubscribeExecutionDataFromStartBlockIDServer) error + SubscribeExecutionDataFromStartBlockID(*SubscribeExecutionDataFromStartBlockIDRequest, grpc.ServerStreamingServer[SubscribeExecutionDataResponse]) error // SubscribeExecutionDataFromStartBlockHeight streams execution data for all // blocks starting at the requested start block, up until the latest available // block. Once the latest is reached, the stream will remain open and @@ -701,7 +564,7 @@ type ExecutionDataAPIServer interface { // - NotFound is returned if the start block is not currently available on the // node. This may happen if the block was from a previous spork, // or if the block has yet not been received. - SubscribeExecutionDataFromStartBlockHeight(*SubscribeExecutionDataFromStartBlockHeightRequest, ExecutionDataAPI_SubscribeExecutionDataFromStartBlockHeightServer) error + SubscribeExecutionDataFromStartBlockHeight(*SubscribeExecutionDataFromStartBlockHeightRequest, grpc.ServerStreamingServer[SubscribeExecutionDataResponse]) error // SubscribeExecutionDataFromStartBlockHeight streams execution data for all // blocks starting from the latest block. // @@ -709,7 +572,7 @@ type ExecutionDataAPIServer interface { // - NotFound is returned if the start block is not currently available on the // node. This may happen if the block was from a previous spork, // or if the block has yet not been received. - SubscribeExecutionDataFromLatest(*SubscribeExecutionDataFromLatestRequest, ExecutionDataAPI_SubscribeExecutionDataFromLatestServer) error + SubscribeExecutionDataFromLatest(*SubscribeExecutionDataFromLatestRequest, grpc.ServerStreamingServer[SubscribeExecutionDataResponse]) error // Deprecated: Do not use. // Warning: this endpoint is deprecated and will be removed in future // versions. Use SubscribeEventsFromStartBlockID, @@ -738,7 +601,7 @@ type ExecutionDataAPIServer interface { // // happen if the block was from a previous spork, or if the block has yet // not been received. - SubscribeEvents(*SubscribeEventsRequest, ExecutionDataAPI_SubscribeEventsServer) error + SubscribeEvents(*SubscribeEventsRequest, grpc.ServerStreamingServer[SubscribeEventsResponse]) error // SubscribeEventsFromStartBlockID streams events for all blocks starting at // the requested start block id, up until the latest available block. Once the // latest is reached, the stream will remain open and responses are sent for @@ -760,7 +623,7 @@ type ExecutionDataAPIServer interface { // - NotFound is returned if the start block id or execution data are not // currently available on the node. This may happen if the block was from a // previous spork, or if the block has yet not been received. - SubscribeEventsFromStartBlockID(*SubscribeEventsFromStartBlockIDRequest, ExecutionDataAPI_SubscribeEventsFromStartBlockIDServer) error + SubscribeEventsFromStartBlockID(*SubscribeEventsFromStartBlockIDRequest, grpc.ServerStreamingServer[SubscribeEventsResponse]) error // SubscribeEventsFromStartHeight streams events for all blocks starting at // the requested start block height, up until the latest available block. Once // the latest is reached, the stream will remain open and responses are sent @@ -782,7 +645,7 @@ type ExecutionDataAPIServer interface { // - NotFound is returned if the start block height or execution data are not // currently available on the node. This may happen if the block was from a // previous spork, or if the block has yet not been received. - SubscribeEventsFromStartHeight(*SubscribeEventsFromStartHeightRequest, ExecutionDataAPI_SubscribeEventsFromStartHeightServer) error + SubscribeEventsFromStartHeight(*SubscribeEventsFromStartHeightRequest, grpc.ServerStreamingServer[SubscribeEventsResponse]) error // SubscribeEventsFromLatest streams events for all blocks starting from the // latest sealed block. The stream will remain open and responses are sent for // each new block as it becomes available. @@ -800,7 +663,7 @@ type ExecutionDataAPIServer interface { // Errors: // - InvalidArgument is returned if the request contains an invalid // EventFilter. - SubscribeEventsFromLatest(*SubscribeEventsFromLatestRequest, ExecutionDataAPI_SubscribeEventsFromLatestServer) error + SubscribeEventsFromLatest(*SubscribeEventsFromLatestRequest, grpc.ServerStreamingServer[SubscribeEventsResponse]) error // GetRegisterValues gets the values for the given register IDs as of the // given block height GetRegisterValues(context.Context, *GetRegisterValuesRequest) (*GetRegisterValuesResponse, error) @@ -827,7 +690,7 @@ type ExecutionDataAPIServer interface { // block has yet // // not been received. - SubscribeAccountStatusesFromStartBlockID(*SubscribeAccountStatusesFromStartBlockIDRequest, ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockIDServer) error + SubscribeAccountStatusesFromStartBlockID(*SubscribeAccountStatusesFromStartBlockIDRequest, grpc.ServerStreamingServer[SubscribeAccountStatusesResponse]) error // SubscribeAccountStatusesFromStartHeight streams account statuses for all // blocks starting at the requested start block height, up until the latest // available block. Once the latest is reached, the stream will remain open @@ -851,7 +714,7 @@ type ExecutionDataAPIServer interface { // block has yet // // not been received. - SubscribeAccountStatusesFromStartHeight(*SubscribeAccountStatusesFromStartHeightRequest, ExecutionDataAPI_SubscribeAccountStatusesFromStartHeightServer) error + SubscribeAccountStatusesFromStartHeight(*SubscribeAccountStatusesFromStartHeightRequest, grpc.ServerStreamingServer[SubscribeAccountStatusesResponse]) error // SubscribeAccountStatusesFromLatestBlock streams account statuses for all // blocks starting at the last sealed block, up until the latest available // block. Once the latest is reached, the stream will remain open and @@ -875,52 +738,56 @@ type ExecutionDataAPIServer interface { // block has yet // // not been received. - SubscribeAccountStatusesFromLatestBlock(*SubscribeAccountStatusesFromLatestBlockRequest, ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlockServer) error + SubscribeAccountStatusesFromLatestBlock(*SubscribeAccountStatusesFromLatestBlockRequest, grpc.ServerStreamingServer[SubscribeAccountStatusesResponse]) error } -// UnimplementedExecutionDataAPIServer should be embedded to have forward compatible implementations. -type UnimplementedExecutionDataAPIServer struct { -} +// UnimplementedExecutionDataAPIServer should be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedExecutionDataAPIServer struct{} func (UnimplementedExecutionDataAPIServer) GetExecutionDataByBlockID(context.Context, *GetExecutionDataByBlockIDRequest) (*GetExecutionDataByBlockIDResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExecutionDataByBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetExecutionDataByBlockID not implemented") } -func (UnimplementedExecutionDataAPIServer) SubscribeExecutionData(*SubscribeExecutionDataRequest, ExecutionDataAPI_SubscribeExecutionDataServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeExecutionData not implemented") +func (UnimplementedExecutionDataAPIServer) SubscribeExecutionData(*SubscribeExecutionDataRequest, grpc.ServerStreamingServer[SubscribeExecutionDataResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeExecutionData not implemented") } -func (UnimplementedExecutionDataAPIServer) SubscribeExecutionDataFromStartBlockID(*SubscribeExecutionDataFromStartBlockIDRequest, ExecutionDataAPI_SubscribeExecutionDataFromStartBlockIDServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeExecutionDataFromStartBlockID not implemented") +func (UnimplementedExecutionDataAPIServer) SubscribeExecutionDataFromStartBlockID(*SubscribeExecutionDataFromStartBlockIDRequest, grpc.ServerStreamingServer[SubscribeExecutionDataResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeExecutionDataFromStartBlockID not implemented") } -func (UnimplementedExecutionDataAPIServer) SubscribeExecutionDataFromStartBlockHeight(*SubscribeExecutionDataFromStartBlockHeightRequest, ExecutionDataAPI_SubscribeExecutionDataFromStartBlockHeightServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeExecutionDataFromStartBlockHeight not implemented") +func (UnimplementedExecutionDataAPIServer) SubscribeExecutionDataFromStartBlockHeight(*SubscribeExecutionDataFromStartBlockHeightRequest, grpc.ServerStreamingServer[SubscribeExecutionDataResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeExecutionDataFromStartBlockHeight not implemented") } -func (UnimplementedExecutionDataAPIServer) SubscribeExecutionDataFromLatest(*SubscribeExecutionDataFromLatestRequest, ExecutionDataAPI_SubscribeExecutionDataFromLatestServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeExecutionDataFromLatest not implemented") +func (UnimplementedExecutionDataAPIServer) SubscribeExecutionDataFromLatest(*SubscribeExecutionDataFromLatestRequest, grpc.ServerStreamingServer[SubscribeExecutionDataResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeExecutionDataFromLatest not implemented") } -func (UnimplementedExecutionDataAPIServer) SubscribeEvents(*SubscribeEventsRequest, ExecutionDataAPI_SubscribeEventsServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeEvents not implemented") +func (UnimplementedExecutionDataAPIServer) SubscribeEvents(*SubscribeEventsRequest, grpc.ServerStreamingServer[SubscribeEventsResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeEvents not implemented") } -func (UnimplementedExecutionDataAPIServer) SubscribeEventsFromStartBlockID(*SubscribeEventsFromStartBlockIDRequest, ExecutionDataAPI_SubscribeEventsFromStartBlockIDServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeEventsFromStartBlockID not implemented") +func (UnimplementedExecutionDataAPIServer) SubscribeEventsFromStartBlockID(*SubscribeEventsFromStartBlockIDRequest, grpc.ServerStreamingServer[SubscribeEventsResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeEventsFromStartBlockID not implemented") } -func (UnimplementedExecutionDataAPIServer) SubscribeEventsFromStartHeight(*SubscribeEventsFromStartHeightRequest, ExecutionDataAPI_SubscribeEventsFromStartHeightServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeEventsFromStartHeight not implemented") +func (UnimplementedExecutionDataAPIServer) SubscribeEventsFromStartHeight(*SubscribeEventsFromStartHeightRequest, grpc.ServerStreamingServer[SubscribeEventsResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeEventsFromStartHeight not implemented") } -func (UnimplementedExecutionDataAPIServer) SubscribeEventsFromLatest(*SubscribeEventsFromLatestRequest, ExecutionDataAPI_SubscribeEventsFromLatestServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeEventsFromLatest not implemented") +func (UnimplementedExecutionDataAPIServer) SubscribeEventsFromLatest(*SubscribeEventsFromLatestRequest, grpc.ServerStreamingServer[SubscribeEventsResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeEventsFromLatest not implemented") } func (UnimplementedExecutionDataAPIServer) GetRegisterValues(context.Context, *GetRegisterValuesRequest) (*GetRegisterValuesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRegisterValues not implemented") + return nil, status.Error(codes.Unimplemented, "method GetRegisterValues not implemented") } -func (UnimplementedExecutionDataAPIServer) SubscribeAccountStatusesFromStartBlockID(*SubscribeAccountStatusesFromStartBlockIDRequest, ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockIDServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeAccountStatusesFromStartBlockID not implemented") +func (UnimplementedExecutionDataAPIServer) SubscribeAccountStatusesFromStartBlockID(*SubscribeAccountStatusesFromStartBlockIDRequest, grpc.ServerStreamingServer[SubscribeAccountStatusesResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeAccountStatusesFromStartBlockID not implemented") } -func (UnimplementedExecutionDataAPIServer) SubscribeAccountStatusesFromStartHeight(*SubscribeAccountStatusesFromStartHeightRequest, ExecutionDataAPI_SubscribeAccountStatusesFromStartHeightServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeAccountStatusesFromStartHeight not implemented") +func (UnimplementedExecutionDataAPIServer) SubscribeAccountStatusesFromStartHeight(*SubscribeAccountStatusesFromStartHeightRequest, grpc.ServerStreamingServer[SubscribeAccountStatusesResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeAccountStatusesFromStartHeight not implemented") } -func (UnimplementedExecutionDataAPIServer) SubscribeAccountStatusesFromLatestBlock(*SubscribeAccountStatusesFromLatestBlockRequest, ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlockServer) error { - return status.Errorf(codes.Unimplemented, "method SubscribeAccountStatusesFromLatestBlock not implemented") +func (UnimplementedExecutionDataAPIServer) SubscribeAccountStatusesFromLatestBlock(*SubscribeAccountStatusesFromLatestBlockRequest, grpc.ServerStreamingServer[SubscribeAccountStatusesResponse]) error { + return status.Error(codes.Unimplemented, "method SubscribeAccountStatusesFromLatestBlock not implemented") } +func (UnimplementedExecutionDataAPIServer) testEmbeddedByValue() {} // UnsafeExecutionDataAPIServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to ExecutionDataAPIServer will @@ -930,6 +797,13 @@ type UnsafeExecutionDataAPIServer interface { } func RegisterExecutionDataAPIServer(s grpc.ServiceRegistrar, srv ExecutionDataAPIServer) { + // If the following call panics, it indicates UnimplementedExecutionDataAPIServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&ExecutionDataAPI_ServiceDesc, srv) } @@ -956,168 +830,88 @@ func _ExecutionDataAPI_SubscribeExecutionData_Handler(srv interface{}, stream gr if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ExecutionDataAPIServer).SubscribeExecutionData(m, &executionDataAPISubscribeExecutionDataServer{stream}) -} - -type ExecutionDataAPI_SubscribeExecutionDataServer interface { - Send(*SubscribeExecutionDataResponse) error - grpc.ServerStream -} - -type executionDataAPISubscribeExecutionDataServer struct { - grpc.ServerStream + return srv.(ExecutionDataAPIServer).SubscribeExecutionData(m, &grpc.GenericServerStream[SubscribeExecutionDataRequest, SubscribeExecutionDataResponse]{ServerStream: stream}) } -func (x *executionDataAPISubscribeExecutionDataServer) Send(m *SubscribeExecutionDataResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeExecutionDataServer = grpc.ServerStreamingServer[SubscribeExecutionDataResponse] func _ExecutionDataAPI_SubscribeExecutionDataFromStartBlockID_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeExecutionDataFromStartBlockIDRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ExecutionDataAPIServer).SubscribeExecutionDataFromStartBlockID(m, &executionDataAPISubscribeExecutionDataFromStartBlockIDServer{stream}) + return srv.(ExecutionDataAPIServer).SubscribeExecutionDataFromStartBlockID(m, &grpc.GenericServerStream[SubscribeExecutionDataFromStartBlockIDRequest, SubscribeExecutionDataResponse]{ServerStream: stream}) } -type ExecutionDataAPI_SubscribeExecutionDataFromStartBlockIDServer interface { - Send(*SubscribeExecutionDataResponse) error - grpc.ServerStream -} - -type executionDataAPISubscribeExecutionDataFromStartBlockIDServer struct { - grpc.ServerStream -} - -func (x *executionDataAPISubscribeExecutionDataFromStartBlockIDServer) Send(m *SubscribeExecutionDataResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeExecutionDataFromStartBlockIDServer = grpc.ServerStreamingServer[SubscribeExecutionDataResponse] func _ExecutionDataAPI_SubscribeExecutionDataFromStartBlockHeight_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeExecutionDataFromStartBlockHeightRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ExecutionDataAPIServer).SubscribeExecutionDataFromStartBlockHeight(m, &executionDataAPISubscribeExecutionDataFromStartBlockHeightServer{stream}) -} - -type ExecutionDataAPI_SubscribeExecutionDataFromStartBlockHeightServer interface { - Send(*SubscribeExecutionDataResponse) error - grpc.ServerStream + return srv.(ExecutionDataAPIServer).SubscribeExecutionDataFromStartBlockHeight(m, &grpc.GenericServerStream[SubscribeExecutionDataFromStartBlockHeightRequest, SubscribeExecutionDataResponse]{ServerStream: stream}) } -type executionDataAPISubscribeExecutionDataFromStartBlockHeightServer struct { - grpc.ServerStream -} - -func (x *executionDataAPISubscribeExecutionDataFromStartBlockHeightServer) Send(m *SubscribeExecutionDataResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeExecutionDataFromStartBlockHeightServer = grpc.ServerStreamingServer[SubscribeExecutionDataResponse] func _ExecutionDataAPI_SubscribeExecutionDataFromLatest_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeExecutionDataFromLatestRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ExecutionDataAPIServer).SubscribeExecutionDataFromLatest(m, &executionDataAPISubscribeExecutionDataFromLatestServer{stream}) -} - -type ExecutionDataAPI_SubscribeExecutionDataFromLatestServer interface { - Send(*SubscribeExecutionDataResponse) error - grpc.ServerStream + return srv.(ExecutionDataAPIServer).SubscribeExecutionDataFromLatest(m, &grpc.GenericServerStream[SubscribeExecutionDataFromLatestRequest, SubscribeExecutionDataResponse]{ServerStream: stream}) } -type executionDataAPISubscribeExecutionDataFromLatestServer struct { - grpc.ServerStream -} - -func (x *executionDataAPISubscribeExecutionDataFromLatestServer) Send(m *SubscribeExecutionDataResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeExecutionDataFromLatestServer = grpc.ServerStreamingServer[SubscribeExecutionDataResponse] func _ExecutionDataAPI_SubscribeEvents_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeEventsRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ExecutionDataAPIServer).SubscribeEvents(m, &executionDataAPISubscribeEventsServer{stream}) -} - -type ExecutionDataAPI_SubscribeEventsServer interface { - Send(*SubscribeEventsResponse) error - grpc.ServerStream + return srv.(ExecutionDataAPIServer).SubscribeEvents(m, &grpc.GenericServerStream[SubscribeEventsRequest, SubscribeEventsResponse]{ServerStream: stream}) } -type executionDataAPISubscribeEventsServer struct { - grpc.ServerStream -} - -func (x *executionDataAPISubscribeEventsServer) Send(m *SubscribeEventsResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeEventsServer = grpc.ServerStreamingServer[SubscribeEventsResponse] func _ExecutionDataAPI_SubscribeEventsFromStartBlockID_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeEventsFromStartBlockIDRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ExecutionDataAPIServer).SubscribeEventsFromStartBlockID(m, &executionDataAPISubscribeEventsFromStartBlockIDServer{stream}) + return srv.(ExecutionDataAPIServer).SubscribeEventsFromStartBlockID(m, &grpc.GenericServerStream[SubscribeEventsFromStartBlockIDRequest, SubscribeEventsResponse]{ServerStream: stream}) } -type ExecutionDataAPI_SubscribeEventsFromStartBlockIDServer interface { - Send(*SubscribeEventsResponse) error - grpc.ServerStream -} - -type executionDataAPISubscribeEventsFromStartBlockIDServer struct { - grpc.ServerStream -} - -func (x *executionDataAPISubscribeEventsFromStartBlockIDServer) Send(m *SubscribeEventsResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeEventsFromStartBlockIDServer = grpc.ServerStreamingServer[SubscribeEventsResponse] func _ExecutionDataAPI_SubscribeEventsFromStartHeight_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeEventsFromStartHeightRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ExecutionDataAPIServer).SubscribeEventsFromStartHeight(m, &executionDataAPISubscribeEventsFromStartHeightServer{stream}) + return srv.(ExecutionDataAPIServer).SubscribeEventsFromStartHeight(m, &grpc.GenericServerStream[SubscribeEventsFromStartHeightRequest, SubscribeEventsResponse]{ServerStream: stream}) } -type ExecutionDataAPI_SubscribeEventsFromStartHeightServer interface { - Send(*SubscribeEventsResponse) error - grpc.ServerStream -} - -type executionDataAPISubscribeEventsFromStartHeightServer struct { - grpc.ServerStream -} - -func (x *executionDataAPISubscribeEventsFromStartHeightServer) Send(m *SubscribeEventsResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeEventsFromStartHeightServer = grpc.ServerStreamingServer[SubscribeEventsResponse] func _ExecutionDataAPI_SubscribeEventsFromLatest_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeEventsFromLatestRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ExecutionDataAPIServer).SubscribeEventsFromLatest(m, &executionDataAPISubscribeEventsFromLatestServer{stream}) -} - -type ExecutionDataAPI_SubscribeEventsFromLatestServer interface { - Send(*SubscribeEventsResponse) error - grpc.ServerStream -} - -type executionDataAPISubscribeEventsFromLatestServer struct { - grpc.ServerStream + return srv.(ExecutionDataAPIServer).SubscribeEventsFromLatest(m, &grpc.GenericServerStream[SubscribeEventsFromLatestRequest, SubscribeEventsResponse]{ServerStream: stream}) } -func (x *executionDataAPISubscribeEventsFromLatestServer) Send(m *SubscribeEventsResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeEventsFromLatestServer = grpc.ServerStreamingServer[SubscribeEventsResponse] func _ExecutionDataAPI_GetRegisterValues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetRegisterValuesRequest) @@ -1142,63 +936,33 @@ func _ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockID_Handler(srv inte if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ExecutionDataAPIServer).SubscribeAccountStatusesFromStartBlockID(m, &executionDataAPISubscribeAccountStatusesFromStartBlockIDServer{stream}) + return srv.(ExecutionDataAPIServer).SubscribeAccountStatusesFromStartBlockID(m, &grpc.GenericServerStream[SubscribeAccountStatusesFromStartBlockIDRequest, SubscribeAccountStatusesResponse]{ServerStream: stream}) } -type ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockIDServer interface { - Send(*SubscribeAccountStatusesResponse) error - grpc.ServerStream -} - -type executionDataAPISubscribeAccountStatusesFromStartBlockIDServer struct { - grpc.ServerStream -} - -func (x *executionDataAPISubscribeAccountStatusesFromStartBlockIDServer) Send(m *SubscribeAccountStatusesResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockIDServer = grpc.ServerStreamingServer[SubscribeAccountStatusesResponse] func _ExecutionDataAPI_SubscribeAccountStatusesFromStartHeight_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeAccountStatusesFromStartHeightRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ExecutionDataAPIServer).SubscribeAccountStatusesFromStartHeight(m, &executionDataAPISubscribeAccountStatusesFromStartHeightServer{stream}) + return srv.(ExecutionDataAPIServer).SubscribeAccountStatusesFromStartHeight(m, &grpc.GenericServerStream[SubscribeAccountStatusesFromStartHeightRequest, SubscribeAccountStatusesResponse]{ServerStream: stream}) } -type ExecutionDataAPI_SubscribeAccountStatusesFromStartHeightServer interface { - Send(*SubscribeAccountStatusesResponse) error - grpc.ServerStream -} - -type executionDataAPISubscribeAccountStatusesFromStartHeightServer struct { - grpc.ServerStream -} - -func (x *executionDataAPISubscribeAccountStatusesFromStartHeightServer) Send(m *SubscribeAccountStatusesResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeAccountStatusesFromStartHeightServer = grpc.ServerStreamingServer[SubscribeAccountStatusesResponse] func _ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlock_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(SubscribeAccountStatusesFromLatestBlockRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(ExecutionDataAPIServer).SubscribeAccountStatusesFromLatestBlock(m, &executionDataAPISubscribeAccountStatusesFromLatestBlockServer{stream}) -} - -type ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlockServer interface { - Send(*SubscribeAccountStatusesResponse) error - grpc.ServerStream -} - -type executionDataAPISubscribeAccountStatusesFromLatestBlockServer struct { - grpc.ServerStream + return srv.(ExecutionDataAPIServer).SubscribeAccountStatusesFromLatestBlock(m, &grpc.GenericServerStream[SubscribeAccountStatusesFromLatestBlockRequest, SubscribeAccountStatusesResponse]{ServerStream: stream}) } -func (x *executionDataAPISubscribeAccountStatusesFromLatestBlockServer) Send(m *SubscribeAccountStatusesResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlockServer = grpc.ServerStreamingServer[SubscribeAccountStatusesResponse] // ExecutionDataAPI_ServiceDesc is the grpc.ServiceDesc for ExecutionDataAPI service. // It's only intended for direct use with grpc.RegisterService, diff --git a/protobuf/go/flow/go.mod b/protobuf/go/flow/go.mod index d6426df7a..ebc6ef43f 100644 --- a/protobuf/go/flow/go.mod +++ b/protobuf/go/flow/go.mod @@ -1,16 +1,15 @@ module github.com/onflow/flow/protobuf/go/flow -go 1.18 +go 1.25 require ( - github.com/golang/protobuf v1.5.2 - google.golang.org/grpc v1.51.0 - google.golang.org/protobuf v1.28.1 + google.golang.org/grpc v1.78.0 + google.golang.org/protobuf v1.36.11 ) require ( - golang.org/x/net v0.4.0 // indirect - golang.org/x/sys v0.3.0 // indirect - golang.org/x/text v0.5.0 // indirect - google.golang.org/genproto v0.0.0-20221207170731-23e4bf6bdc37 // indirect + golang.org/x/net v0.49.0 // indirect + golang.org/x/sys v0.40.0 // indirect + golang.org/x/text v0.33.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20251029180050-ab9386a59fda // indirect ) diff --git a/protobuf/go/flow/go.sum b/protobuf/go/flow/go.sum index 9c48c8f2d..3d5134cd6 100644 --- a/protobuf/go/flow/go.sum +++ b/protobuf/go/flow/go.sum @@ -1,74 +1,36 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.5.0 h1:LUVKkCeviFUMKqHa4tXIIij/lbhnMbP7Fn5wKdKkRh4= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a h1:oWX7TPOiFAMXLq8o0ikBYfCJVlRHBcsciT5bXOrH628= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.4.0 h1:Q5QPcMlvfxFTAPV0+07Xz/MpK9NTXu2VDUuy0FeMfaU= -golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ= -golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM= -golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20221207170731-23e4bf6bdc37 h1:jmIfw8+gSvXcZSgaFAGyInDXeWzUhvYH57G/5GKMn70= -google.golang.org/genproto v0.0.0-20221207170731-23e4bf6bdc37/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.28.0 h1:bO/TA4OxCOummhSf10siHuG7vJOiwh7SpRpFZDkOgl4= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.51.0 h1:E1eGv1FTqoLIdnBCZufiSHgKjlqG6fKFf6pPWtMTh8U= -google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= -google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= +github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= +github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= +github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= +go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= +go.opentelemetry.io/otel v1.38.0 h1:RkfdswUDRimDg0m2Az18RKOsnI8UDzppJAtj01/Ymk8= +go.opentelemetry.io/otel v1.38.0/go.mod h1:zcmtmQ1+YmQM9wrNsTGV/q/uyusom3P8RxwExxkZhjM= +go.opentelemetry.io/otel/metric v1.38.0 h1:Kl6lzIYGAh5M159u9NgiRkmoMKjvbsKtYRwgfrA6WpA= +go.opentelemetry.io/otel/metric v1.38.0/go.mod h1:kB5n/QoRM8YwmUahxvI3bO34eVtQf2i4utNVLr9gEmI= +go.opentelemetry.io/otel/sdk v1.38.0 h1:l48sr5YbNf2hpCUj/FoGhW9yDkl+Ma+LrVl8qaM5b+E= +go.opentelemetry.io/otel/sdk v1.38.0/go.mod h1:ghmNdGlVemJI3+ZB5iDEuk4bWA3GkTpW+DOoZMYBVVg= +go.opentelemetry.io/otel/sdk/metric v1.38.0 h1:aSH66iL0aZqo//xXzQLYozmWrXxyFkBJ6qT5wthqPoM= +go.opentelemetry.io/otel/sdk/metric v1.38.0/go.mod h1:dg9PBnW9XdQ1Hd6ZnRz689CbtrUp0wMMs9iPcgT9EZA= +go.opentelemetry.io/otel/trace v1.38.0 h1:Fxk5bKrDZJUH+AMyyIXGcFAPah0oRcT+LuNtJrmcNLE= +go.opentelemetry.io/otel/trace v1.38.0/go.mod h1:j1P9ivuFsTceSWe1oY+EeW3sc+Pp42sO++GHkg4wwhs= +golang.org/x/net v0.49.0 h1:eeHFmOGUTtaaPSGNmjBKpbng9MulQsJURQUAfUwY++o= +golang.org/x/net v0.49.0/go.mod h1:/ysNB2EvaqvesRkuLAyjI1ycPZlQHM3q01F02UY/MV8= +golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ= +golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= +golang.org/x/text v0.33.0 h1:B3njUFyqtHDUI5jMn1YIr5B0IE2U0qck04r6d4KPAxE= +golang.org/x/text v0.33.0/go.mod h1:LuMebE6+rBincTi9+xWTY8TztLzKHc/9C1uBCG27+q8= +gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk= +gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E= +google.golang.org/genproto/googleapis/rpc v0.0.0-20251029180050-ab9386a59fda h1:i/Q+bfisr7gq6feoJnS/DlpdwEL4ihp41fvRiM3Ork0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20251029180050-ab9386a59fda/go.mod h1:7i2o+ce6H/6BluujYR+kqX3GKH+dChPTQU19wjRPiGk= +google.golang.org/grpc v1.78.0 h1:K1XZG/yGDJnzMdd/uZHAkVqJE+xIDOcmdSFZkBUicNc= +google.golang.org/grpc v1.78.0/go.mod h1:I47qjTo4OKbMkjA/aOOwxDIiPSBofUtQUI5EfpWvW7U= +google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE= +google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= diff --git a/protobuf/go/flow/legacy/access/access.pb.go b/protobuf/go/flow/legacy/access/access.pb.go index 2f26acaf3..a9384d991 100644 --- a/protobuf/go/flow/legacy/access/access.pb.go +++ b/protobuf/go/flow/legacy/access/access.pb.go @@ -1,1474 +1,1764 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/legacy/access/access.proto package access import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" entities "github.com/onflow/flow/protobuf/go/flow/legacy/entities" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type PingRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *PingRequest) Reset() { *m = PingRequest{} } -func (m *PingRequest) String() string { return proto.CompactTextString(m) } -func (*PingRequest) ProtoMessage() {} -func (*PingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{0} +func (x *PingRequest) Reset() { + *x = PingRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *PingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PingRequest.Unmarshal(m, b) -} -func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PingRequest.Marshal(b, m, deterministic) -} -func (m *PingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PingRequest.Merge(m, src) -} -func (m *PingRequest) XXX_Size() int { - return xxx_messageInfo_PingRequest.Size(m) -} -func (m *PingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PingRequest.DiscardUnknown(m) +func (x *PingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PingRequest proto.InternalMessageInfo +func (*PingRequest) ProtoMessage() {} -type PingResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *PingRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *PingResponse) Reset() { *m = PingResponse{} } -func (m *PingResponse) String() string { return proto.CompactTextString(m) } -func (*PingResponse) ProtoMessage() {} -func (*PingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{1} +// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead. +func (*PingRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{0} } -func (m *PingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PingResponse.Unmarshal(m, b) -} -func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PingResponse.Marshal(b, m, deterministic) -} -func (m *PingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PingResponse.Merge(m, src) +type PingResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *PingResponse) XXX_Size() int { - return xxx_messageInfo_PingResponse.Size(m) + +func (x *PingResponse) Reset() { + *x = PingResponse{} + mi := &file_flow_legacy_access_access_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *PingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PingResponse.DiscardUnknown(m) + +func (x *PingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PingResponse proto.InternalMessageInfo +func (*PingResponse) ProtoMessage() {} -type GetLatestBlockHeaderRequest struct { - IsSealed bool `protobuf:"varint,1,opt,name=is_sealed,json=isSealed,proto3" json:"is_sealed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *PingResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *GetLatestBlockHeaderRequest) Reset() { *m = GetLatestBlockHeaderRequest{} } -func (m *GetLatestBlockHeaderRequest) String() string { return proto.CompactTextString(m) } -func (*GetLatestBlockHeaderRequest) ProtoMessage() {} -func (*GetLatestBlockHeaderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{2} +// Deprecated: Use PingResponse.ProtoReflect.Descriptor instead. +func (*PingResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{1} } -func (m *GetLatestBlockHeaderRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLatestBlockHeaderRequest.Unmarshal(m, b) -} -func (m *GetLatestBlockHeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLatestBlockHeaderRequest.Marshal(b, m, deterministic) +type GetLatestBlockHeaderRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + IsSealed bool `protobuf:"varint,1,opt,name=is_sealed,json=isSealed,proto3" json:"is_sealed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetLatestBlockHeaderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLatestBlockHeaderRequest.Merge(m, src) + +func (x *GetLatestBlockHeaderRequest) Reset() { + *x = GetLatestBlockHeaderRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetLatestBlockHeaderRequest) XXX_Size() int { - return xxx_messageInfo_GetLatestBlockHeaderRequest.Size(m) + +func (x *GetLatestBlockHeaderRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetLatestBlockHeaderRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLatestBlockHeaderRequest.DiscardUnknown(m) + +func (*GetLatestBlockHeaderRequest) ProtoMessage() {} + +func (x *GetLatestBlockHeaderRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetLatestBlockHeaderRequest proto.InternalMessageInfo +// Deprecated: Use GetLatestBlockHeaderRequest.ProtoReflect.Descriptor instead. +func (*GetLatestBlockHeaderRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{2} +} -func (m *GetLatestBlockHeaderRequest) GetIsSealed() bool { - if m != nil { - return m.IsSealed +func (x *GetLatestBlockHeaderRequest) GetIsSealed() bool { + if x != nil { + return x.IsSealed } return false } type GetBlockHeaderByIDRequest struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetBlockHeaderByIDRequest) Reset() { *m = GetBlockHeaderByIDRequest{} } -func (m *GetBlockHeaderByIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlockHeaderByIDRequest) ProtoMessage() {} -func (*GetBlockHeaderByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{3} +func (x *GetBlockHeaderByIDRequest) Reset() { + *x = GetBlockHeaderByIDRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetBlockHeaderByIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlockHeaderByIDRequest.Unmarshal(m, b) +func (x *GetBlockHeaderByIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlockHeaderByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlockHeaderByIDRequest.Marshal(b, m, deterministic) -} -func (m *GetBlockHeaderByIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlockHeaderByIDRequest.Merge(m, src) -} -func (m *GetBlockHeaderByIDRequest) XXX_Size() int { - return xxx_messageInfo_GetBlockHeaderByIDRequest.Size(m) -} -func (m *GetBlockHeaderByIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlockHeaderByIDRequest.DiscardUnknown(m) + +func (*GetBlockHeaderByIDRequest) ProtoMessage() {} + +func (x *GetBlockHeaderByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetBlockHeaderByIDRequest proto.InternalMessageInfo +// Deprecated: Use GetBlockHeaderByIDRequest.ProtoReflect.Descriptor instead. +func (*GetBlockHeaderByIDRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{3} +} -func (m *GetBlockHeaderByIDRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetBlockHeaderByIDRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } type GetBlockHeaderByHeightRequest struct { - Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetBlockHeaderByHeightRequest) Reset() { *m = GetBlockHeaderByHeightRequest{} } -func (m *GetBlockHeaderByHeightRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlockHeaderByHeightRequest) ProtoMessage() {} -func (*GetBlockHeaderByHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{4} +func (x *GetBlockHeaderByHeightRequest) Reset() { + *x = GetBlockHeaderByHeightRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetBlockHeaderByHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlockHeaderByHeightRequest.Unmarshal(m, b) +func (x *GetBlockHeaderByHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlockHeaderByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlockHeaderByHeightRequest.Marshal(b, m, deterministic) -} -func (m *GetBlockHeaderByHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlockHeaderByHeightRequest.Merge(m, src) -} -func (m *GetBlockHeaderByHeightRequest) XXX_Size() int { - return xxx_messageInfo_GetBlockHeaderByHeightRequest.Size(m) -} -func (m *GetBlockHeaderByHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlockHeaderByHeightRequest.DiscardUnknown(m) + +func (*GetBlockHeaderByHeightRequest) ProtoMessage() {} + +func (x *GetBlockHeaderByHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetBlockHeaderByHeightRequest proto.InternalMessageInfo +// Deprecated: Use GetBlockHeaderByHeightRequest.ProtoReflect.Descriptor instead. +func (*GetBlockHeaderByHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{4} +} -func (m *GetBlockHeaderByHeightRequest) GetHeight() uint64 { - if m != nil { - return m.Height +func (x *GetBlockHeaderByHeightRequest) GetHeight() uint64 { + if x != nil { + return x.Height } return 0 } type BlockHeaderResponse struct { - Block *entities.BlockHeader `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Block *entities.BlockHeader `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *BlockHeaderResponse) Reset() { *m = BlockHeaderResponse{} } -func (m *BlockHeaderResponse) String() string { return proto.CompactTextString(m) } -func (*BlockHeaderResponse) ProtoMessage() {} -func (*BlockHeaderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{5} +func (x *BlockHeaderResponse) Reset() { + *x = BlockHeaderResponse{} + mi := &file_flow_legacy_access_access_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *BlockHeaderResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockHeaderResponse.Unmarshal(m, b) -} -func (m *BlockHeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockHeaderResponse.Marshal(b, m, deterministic) +func (x *BlockHeaderResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockHeaderResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockHeaderResponse.Merge(m, src) -} -func (m *BlockHeaderResponse) XXX_Size() int { - return xxx_messageInfo_BlockHeaderResponse.Size(m) -} -func (m *BlockHeaderResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BlockHeaderResponse.DiscardUnknown(m) + +func (*BlockHeaderResponse) ProtoMessage() {} + +func (x *BlockHeaderResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlockHeaderResponse proto.InternalMessageInfo +// Deprecated: Use BlockHeaderResponse.ProtoReflect.Descriptor instead. +func (*BlockHeaderResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{5} +} -func (m *BlockHeaderResponse) GetBlock() *entities.BlockHeader { - if m != nil { - return m.Block +func (x *BlockHeaderResponse) GetBlock() *entities.BlockHeader { + if x != nil { + return x.Block } return nil } type GetLatestBlockRequest struct { - IsSealed bool `protobuf:"varint,1,opt,name=is_sealed,json=isSealed,proto3" json:"is_sealed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + IsSealed bool `protobuf:"varint,1,opt,name=is_sealed,json=isSealed,proto3" json:"is_sealed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetLatestBlockRequest) Reset() { *m = GetLatestBlockRequest{} } -func (m *GetLatestBlockRequest) String() string { return proto.CompactTextString(m) } -func (*GetLatestBlockRequest) ProtoMessage() {} -func (*GetLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{6} +func (x *GetLatestBlockRequest) Reset() { + *x = GetLatestBlockRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetLatestBlockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLatestBlockRequest.Unmarshal(m, b) -} -func (m *GetLatestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLatestBlockRequest.Marshal(b, m, deterministic) +func (x *GetLatestBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetLatestBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLatestBlockRequest.Merge(m, src) -} -func (m *GetLatestBlockRequest) XXX_Size() int { - return xxx_messageInfo_GetLatestBlockRequest.Size(m) -} -func (m *GetLatestBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLatestBlockRequest.DiscardUnknown(m) + +func (*GetLatestBlockRequest) ProtoMessage() {} + +func (x *GetLatestBlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetLatestBlockRequest proto.InternalMessageInfo +// Deprecated: Use GetLatestBlockRequest.ProtoReflect.Descriptor instead. +func (*GetLatestBlockRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{6} +} -func (m *GetLatestBlockRequest) GetIsSealed() bool { - if m != nil { - return m.IsSealed +func (x *GetLatestBlockRequest) GetIsSealed() bool { + if x != nil { + return x.IsSealed } return false } type GetBlockByIDRequest struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetBlockByIDRequest) Reset() { *m = GetBlockByIDRequest{} } -func (m *GetBlockByIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlockByIDRequest) ProtoMessage() {} -func (*GetBlockByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{7} +func (x *GetBlockByIDRequest) Reset() { + *x = GetBlockByIDRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetBlockByIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlockByIDRequest.Unmarshal(m, b) -} -func (m *GetBlockByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlockByIDRequest.Marshal(b, m, deterministic) -} -func (m *GetBlockByIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlockByIDRequest.Merge(m, src) +func (x *GetBlockByIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlockByIDRequest) XXX_Size() int { - return xxx_messageInfo_GetBlockByIDRequest.Size(m) -} -func (m *GetBlockByIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlockByIDRequest.DiscardUnknown(m) + +func (*GetBlockByIDRequest) ProtoMessage() {} + +func (x *GetBlockByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetBlockByIDRequest proto.InternalMessageInfo +// Deprecated: Use GetBlockByIDRequest.ProtoReflect.Descriptor instead. +func (*GetBlockByIDRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{7} +} -func (m *GetBlockByIDRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetBlockByIDRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } type GetBlockByHeightRequest struct { - Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetBlockByHeightRequest) Reset() { *m = GetBlockByHeightRequest{} } -func (m *GetBlockByHeightRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlockByHeightRequest) ProtoMessage() {} -func (*GetBlockByHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{8} +func (x *GetBlockByHeightRequest) Reset() { + *x = GetBlockByHeightRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetBlockByHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlockByHeightRequest.Unmarshal(m, b) -} -func (m *GetBlockByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlockByHeightRequest.Marshal(b, m, deterministic) -} -func (m *GetBlockByHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlockByHeightRequest.Merge(m, src) +func (x *GetBlockByHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlockByHeightRequest) XXX_Size() int { - return xxx_messageInfo_GetBlockByHeightRequest.Size(m) -} -func (m *GetBlockByHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlockByHeightRequest.DiscardUnknown(m) + +func (*GetBlockByHeightRequest) ProtoMessage() {} + +func (x *GetBlockByHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetBlockByHeightRequest proto.InternalMessageInfo +// Deprecated: Use GetBlockByHeightRequest.ProtoReflect.Descriptor instead. +func (*GetBlockByHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{8} +} -func (m *GetBlockByHeightRequest) GetHeight() uint64 { - if m != nil { - return m.Height +func (x *GetBlockByHeightRequest) GetHeight() uint64 { + if x != nil { + return x.Height } return 0 } type BlockResponse struct { - Block *entities.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Block *entities.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *BlockResponse) Reset() { *m = BlockResponse{} } -func (m *BlockResponse) String() string { return proto.CompactTextString(m) } -func (*BlockResponse) ProtoMessage() {} -func (*BlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{9} +func (x *BlockResponse) Reset() { + *x = BlockResponse{} + mi := &file_flow_legacy_access_access_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *BlockResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockResponse.Unmarshal(m, b) -} -func (m *BlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockResponse.Marshal(b, m, deterministic) -} -func (m *BlockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockResponse.Merge(m, src) -} -func (m *BlockResponse) XXX_Size() int { - return xxx_messageInfo_BlockResponse.Size(m) +func (x *BlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BlockResponse.DiscardUnknown(m) + +func (*BlockResponse) ProtoMessage() {} + +func (x *BlockResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlockResponse proto.InternalMessageInfo +// Deprecated: Use BlockResponse.ProtoReflect.Descriptor instead. +func (*BlockResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{9} +} -func (m *BlockResponse) GetBlock() *entities.Block { - if m != nil { - return m.Block +func (x *BlockResponse) GetBlock() *entities.Block { + if x != nil { + return x.Block } return nil } type GetCollectionByIDRequest struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetCollectionByIDRequest) Reset() { *m = GetCollectionByIDRequest{} } -func (m *GetCollectionByIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetCollectionByIDRequest) ProtoMessage() {} -func (*GetCollectionByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{10} +func (x *GetCollectionByIDRequest) Reset() { + *x = GetCollectionByIDRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetCollectionByIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCollectionByIDRequest.Unmarshal(m, b) -} -func (m *GetCollectionByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCollectionByIDRequest.Marshal(b, m, deterministic) -} -func (m *GetCollectionByIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCollectionByIDRequest.Merge(m, src) +func (x *GetCollectionByIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetCollectionByIDRequest) XXX_Size() int { - return xxx_messageInfo_GetCollectionByIDRequest.Size(m) -} -func (m *GetCollectionByIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCollectionByIDRequest.DiscardUnknown(m) + +func (*GetCollectionByIDRequest) ProtoMessage() {} + +func (x *GetCollectionByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetCollectionByIDRequest proto.InternalMessageInfo +// Deprecated: Use GetCollectionByIDRequest.ProtoReflect.Descriptor instead. +func (*GetCollectionByIDRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{10} +} -func (m *GetCollectionByIDRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetCollectionByIDRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } type CollectionResponse struct { - Collection *entities.Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Collection *entities.Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *CollectionResponse) Reset() { *m = CollectionResponse{} } -func (m *CollectionResponse) String() string { return proto.CompactTextString(m) } -func (*CollectionResponse) ProtoMessage() {} -func (*CollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{11} +func (x *CollectionResponse) Reset() { + *x = CollectionResponse{} + mi := &file_flow_legacy_access_access_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *CollectionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CollectionResponse.Unmarshal(m, b) +func (x *CollectionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CollectionResponse.Marshal(b, m, deterministic) -} -func (m *CollectionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectionResponse.Merge(m, src) -} -func (m *CollectionResponse) XXX_Size() int { - return xxx_messageInfo_CollectionResponse.Size(m) -} -func (m *CollectionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CollectionResponse.DiscardUnknown(m) + +func (*CollectionResponse) ProtoMessage() {} + +func (x *CollectionResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CollectionResponse proto.InternalMessageInfo +// Deprecated: Use CollectionResponse.ProtoReflect.Descriptor instead. +func (*CollectionResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{11} +} -func (m *CollectionResponse) GetCollection() *entities.Collection { - if m != nil { - return m.Collection +func (x *CollectionResponse) GetCollection() *entities.Collection { + if x != nil { + return x.Collection } return nil } type SendTransactionRequest struct { - Transaction *entities.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Transaction *entities.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SendTransactionRequest) Reset() { *m = SendTransactionRequest{} } -func (m *SendTransactionRequest) String() string { return proto.CompactTextString(m) } -func (*SendTransactionRequest) ProtoMessage() {} -func (*SendTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{12} +func (x *SendTransactionRequest) Reset() { + *x = SendTransactionRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SendTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendTransactionRequest.Unmarshal(m, b) -} -func (m *SendTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendTransactionRequest.Marshal(b, m, deterministic) +func (x *SendTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SendTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendTransactionRequest.Merge(m, src) -} -func (m *SendTransactionRequest) XXX_Size() int { - return xxx_messageInfo_SendTransactionRequest.Size(m) -} -func (m *SendTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SendTransactionRequest.DiscardUnknown(m) + +func (*SendTransactionRequest) ProtoMessage() {} + +func (x *SendTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SendTransactionRequest proto.InternalMessageInfo +// Deprecated: Use SendTransactionRequest.ProtoReflect.Descriptor instead. +func (*SendTransactionRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{12} +} -func (m *SendTransactionRequest) GetTransaction() *entities.Transaction { - if m != nil { - return m.Transaction +func (x *SendTransactionRequest) GetTransaction() *entities.Transaction { + if x != nil { + return x.Transaction } return nil } type SendTransactionResponse struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *SendTransactionResponse) Reset() { *m = SendTransactionResponse{} } -func (m *SendTransactionResponse) String() string { return proto.CompactTextString(m) } -func (*SendTransactionResponse) ProtoMessage() {} -func (*SendTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{13} +func (x *SendTransactionResponse) Reset() { + *x = SendTransactionResponse{} + mi := &file_flow_legacy_access_access_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SendTransactionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendTransactionResponse.Unmarshal(m, b) -} -func (m *SendTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendTransactionResponse.Marshal(b, m, deterministic) +func (x *SendTransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SendTransactionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendTransactionResponse.Merge(m, src) -} -func (m *SendTransactionResponse) XXX_Size() int { - return xxx_messageInfo_SendTransactionResponse.Size(m) -} -func (m *SendTransactionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SendTransactionResponse.DiscardUnknown(m) + +func (*SendTransactionResponse) ProtoMessage() {} + +func (x *SendTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SendTransactionResponse proto.InternalMessageInfo +// Deprecated: Use SendTransactionResponse.ProtoReflect.Descriptor instead. +func (*SendTransactionResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{13} +} -func (m *SendTransactionResponse) GetId() []byte { - if m != nil { - return m.Id +func (x *SendTransactionResponse) GetId() []byte { + if x != nil { + return x.Id } return nil } type GetTransactionRequest struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionRequest) Reset() { *m = GetTransactionRequest{} } -func (m *GetTransactionRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransactionRequest) ProtoMessage() {} -func (*GetTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{14} +func (x *GetTransactionRequest) Reset() { + *x = GetTransactionRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionRequest.Unmarshal(m, b) -} -func (m *GetTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionRequest.Marshal(b, m, deterministic) -} -func (m *GetTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionRequest.Merge(m, src) +func (x *GetTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionRequest.Size(m) -} -func (m *GetTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionRequest.DiscardUnknown(m) + +func (*GetTransactionRequest) ProtoMessage() {} + +func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionRequest proto.InternalMessageInfo +// Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{14} +} -func (m *GetTransactionRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *GetTransactionRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } type TransactionResponse struct { - Transaction *entities.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Transaction *entities.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *TransactionResponse) Reset() { *m = TransactionResponse{} } -func (m *TransactionResponse) String() string { return proto.CompactTextString(m) } -func (*TransactionResponse) ProtoMessage() {} -func (*TransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{15} +func (x *TransactionResponse) Reset() { + *x = TransactionResponse{} + mi := &file_flow_legacy_access_access_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *TransactionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionResponse.Unmarshal(m, b) -} -func (m *TransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionResponse.Marshal(b, m, deterministic) -} -func (m *TransactionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionResponse.Merge(m, src) +func (x *TransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TransactionResponse) XXX_Size() int { - return xxx_messageInfo_TransactionResponse.Size(m) -} -func (m *TransactionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionResponse.DiscardUnknown(m) + +func (*TransactionResponse) ProtoMessage() {} + +func (x *TransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TransactionResponse proto.InternalMessageInfo +// Deprecated: Use TransactionResponse.ProtoReflect.Descriptor instead. +func (*TransactionResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{15} +} -func (m *TransactionResponse) GetTransaction() *entities.Transaction { - if m != nil { - return m.Transaction +func (x *TransactionResponse) GetTransaction() *entities.Transaction { + if x != nil { + return x.Transaction } return nil } type TransactionResultResponse struct { - Status entities.TransactionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=entities.TransactionStatus" json:"status,omitempty"` - StatusCode uint32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` - ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - Events []*entities.Event `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransactionResultResponse) Reset() { *m = TransactionResultResponse{} } -func (m *TransactionResultResponse) String() string { return proto.CompactTextString(m) } -func (*TransactionResultResponse) ProtoMessage() {} -func (*TransactionResultResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{16} + state protoimpl.MessageState `protogen:"open.v1"` + Status entities.TransactionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=entities.TransactionStatus" json:"status,omitempty"` + StatusCode uint32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` + ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` + Events []*entities.Event `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *TransactionResultResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionResultResponse.Unmarshal(m, b) -} -func (m *TransactionResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionResultResponse.Marshal(b, m, deterministic) +func (x *TransactionResultResponse) Reset() { + *x = TransactionResultResponse{} + mi := &file_flow_legacy_access_access_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *TransactionResultResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionResultResponse.Merge(m, src) -} -func (m *TransactionResultResponse) XXX_Size() int { - return xxx_messageInfo_TransactionResultResponse.Size(m) + +func (x *TransactionResultResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TransactionResultResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionResultResponse.DiscardUnknown(m) + +func (*TransactionResultResponse) ProtoMessage() {} + +func (x *TransactionResultResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TransactionResultResponse proto.InternalMessageInfo +// Deprecated: Use TransactionResultResponse.ProtoReflect.Descriptor instead. +func (*TransactionResultResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{16} +} -func (m *TransactionResultResponse) GetStatus() entities.TransactionStatus { - if m != nil { - return m.Status +func (x *TransactionResultResponse) GetStatus() entities.TransactionStatus { + if x != nil { + return x.Status } - return entities.TransactionStatus_UNKNOWN + return entities.TransactionStatus(0) } -func (m *TransactionResultResponse) GetStatusCode() uint32 { - if m != nil { - return m.StatusCode +func (x *TransactionResultResponse) GetStatusCode() uint32 { + if x != nil { + return x.StatusCode } return 0 } -func (m *TransactionResultResponse) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage +func (x *TransactionResultResponse) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage } return "" } -func (m *TransactionResultResponse) GetEvents() []*entities.Event { - if m != nil { - return m.Events +func (x *TransactionResultResponse) GetEvents() []*entities.Event { + if x != nil { + return x.Events } return nil } type GetAccountRequest struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountRequest) Reset() { *m = GetAccountRequest{} } -func (m *GetAccountRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountRequest) ProtoMessage() {} -func (*GetAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{17} +func (x *GetAccountRequest) Reset() { + *x = GetAccountRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountRequest.Unmarshal(m, b) -} -func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountRequest.Marshal(b, m, deterministic) -} -func (m *GetAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountRequest.Merge(m, src) -} -func (m *GetAccountRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountRequest.Size(m) +func (x *GetAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountRequest.DiscardUnknown(m) + +func (*GetAccountRequest) ProtoMessage() {} + +func (x *GetAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead. +func (*GetAccountRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{17} +} -func (m *GetAccountRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } type GetAccountResponse struct { - Account *entities.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Account *entities.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountResponse) Reset() { *m = GetAccountResponse{} } -func (m *GetAccountResponse) String() string { return proto.CompactTextString(m) } -func (*GetAccountResponse) ProtoMessage() {} -func (*GetAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{18} +func (x *GetAccountResponse) Reset() { + *x = GetAccountResponse{} + mi := &file_flow_legacy_access_access_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountResponse.Unmarshal(m, b) -} -func (m *GetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountResponse.Marshal(b, m, deterministic) -} -func (m *GetAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountResponse.Merge(m, src) +func (x *GetAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountResponse) XXX_Size() int { - return xxx_messageInfo_GetAccountResponse.Size(m) -} -func (m *GetAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountResponse.DiscardUnknown(m) + +func (*GetAccountResponse) ProtoMessage() {} + +func (x *GetAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountResponse proto.InternalMessageInfo +// Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead. +func (*GetAccountResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{18} +} -func (m *GetAccountResponse) GetAccount() *entities.Account { - if m != nil { - return m.Account +func (x *GetAccountResponse) GetAccount() *entities.Account { + if x != nil { + return x.Account } return nil } type GetAccountAtLatestBlockRequest struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountAtLatestBlockRequest) Reset() { *m = GetAccountAtLatestBlockRequest{} } -func (m *GetAccountAtLatestBlockRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountAtLatestBlockRequest) ProtoMessage() {} -func (*GetAccountAtLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{19} +func (x *GetAccountAtLatestBlockRequest) Reset() { + *x = GetAccountAtLatestBlockRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountAtLatestBlockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountAtLatestBlockRequest.Unmarshal(m, b) +func (x *GetAccountAtLatestBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountAtLatestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountAtLatestBlockRequest.Marshal(b, m, deterministic) -} -func (m *GetAccountAtLatestBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountAtLatestBlockRequest.Merge(m, src) -} -func (m *GetAccountAtLatestBlockRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountAtLatestBlockRequest.Size(m) -} -func (m *GetAccountAtLatestBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountAtLatestBlockRequest.DiscardUnknown(m) + +func (*GetAccountAtLatestBlockRequest) ProtoMessage() {} + +func (x *GetAccountAtLatestBlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountAtLatestBlockRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountAtLatestBlockRequest.ProtoReflect.Descriptor instead. +func (*GetAccountAtLatestBlockRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{19} +} -func (m *GetAccountAtLatestBlockRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountAtLatestBlockRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } type AccountResponse struct { - Account *entities.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Account *entities.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *AccountResponse) Reset() { *m = AccountResponse{} } -func (m *AccountResponse) String() string { return proto.CompactTextString(m) } -func (*AccountResponse) ProtoMessage() {} -func (*AccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{20} +func (x *AccountResponse) Reset() { + *x = AccountResponse{} + mi := &file_flow_legacy_access_access_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *AccountResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccountResponse.Unmarshal(m, b) -} -func (m *AccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccountResponse.Marshal(b, m, deterministic) +func (x *AccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountResponse.Merge(m, src) -} -func (m *AccountResponse) XXX_Size() int { - return xxx_messageInfo_AccountResponse.Size(m) -} -func (m *AccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AccountResponse.DiscardUnknown(m) + +func (*AccountResponse) ProtoMessage() {} + +func (x *AccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountResponse proto.InternalMessageInfo +// Deprecated: Use AccountResponse.ProtoReflect.Descriptor instead. +func (*AccountResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{20} +} -func (m *AccountResponse) GetAccount() *entities.Account { - if m != nil { - return m.Account +func (x *AccountResponse) GetAccount() *entities.Account { + if x != nil { + return x.Account } return nil } type GetAccountAtBlockHeightRequest struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountAtBlockHeightRequest) Reset() { *m = GetAccountAtBlockHeightRequest{} } -func (m *GetAccountAtBlockHeightRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountAtBlockHeightRequest) ProtoMessage() {} -func (*GetAccountAtBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{21} +func (x *GetAccountAtBlockHeightRequest) Reset() { + *x = GetAccountAtBlockHeightRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountAtBlockHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountAtBlockHeightRequest.Unmarshal(m, b) -} -func (m *GetAccountAtBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountAtBlockHeightRequest.Marshal(b, m, deterministic) +func (x *GetAccountAtBlockHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountAtBlockHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountAtBlockHeightRequest.Merge(m, src) -} -func (m *GetAccountAtBlockHeightRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountAtBlockHeightRequest.Size(m) -} -func (m *GetAccountAtBlockHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountAtBlockHeightRequest.DiscardUnknown(m) + +func (*GetAccountAtBlockHeightRequest) ProtoMessage() {} + +func (x *GetAccountAtBlockHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountAtBlockHeightRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountAtBlockHeightRequest.ProtoReflect.Descriptor instead. +func (*GetAccountAtBlockHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{21} +} -func (m *GetAccountAtBlockHeightRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountAtBlockHeightRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *GetAccountAtBlockHeightRequest) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *GetAccountAtBlockHeightRequest) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } type ExecuteScriptAtLatestBlockRequest struct { - Script []byte `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` - Arguments [][]byte `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Script []byte `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` + Arguments [][]byte `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecuteScriptAtLatestBlockRequest) Reset() { *m = ExecuteScriptAtLatestBlockRequest{} } -func (m *ExecuteScriptAtLatestBlockRequest) String() string { return proto.CompactTextString(m) } -func (*ExecuteScriptAtLatestBlockRequest) ProtoMessage() {} -func (*ExecuteScriptAtLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{22} +func (x *ExecuteScriptAtLatestBlockRequest) Reset() { + *x = ExecuteScriptAtLatestBlockRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecuteScriptAtLatestBlockRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteScriptAtLatestBlockRequest.Unmarshal(m, b) -} -func (m *ExecuteScriptAtLatestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteScriptAtLatestBlockRequest.Marshal(b, m, deterministic) -} -func (m *ExecuteScriptAtLatestBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteScriptAtLatestBlockRequest.Merge(m, src) +func (x *ExecuteScriptAtLatestBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecuteScriptAtLatestBlockRequest) XXX_Size() int { - return xxx_messageInfo_ExecuteScriptAtLatestBlockRequest.Size(m) -} -func (m *ExecuteScriptAtLatestBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteScriptAtLatestBlockRequest.DiscardUnknown(m) + +func (*ExecuteScriptAtLatestBlockRequest) ProtoMessage() {} + +func (x *ExecuteScriptAtLatestBlockRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecuteScriptAtLatestBlockRequest proto.InternalMessageInfo +// Deprecated: Use ExecuteScriptAtLatestBlockRequest.ProtoReflect.Descriptor instead. +func (*ExecuteScriptAtLatestBlockRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{22} +} -func (m *ExecuteScriptAtLatestBlockRequest) GetScript() []byte { - if m != nil { - return m.Script +func (x *ExecuteScriptAtLatestBlockRequest) GetScript() []byte { + if x != nil { + return x.Script } return nil } -func (m *ExecuteScriptAtLatestBlockRequest) GetArguments() [][]byte { - if m != nil { - return m.Arguments +func (x *ExecuteScriptAtLatestBlockRequest) GetArguments() [][]byte { + if x != nil { + return x.Arguments } return nil } type ExecuteScriptAtBlockIDRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` - Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` + Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecuteScriptAtBlockIDRequest) Reset() { *m = ExecuteScriptAtBlockIDRequest{} } -func (m *ExecuteScriptAtBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*ExecuteScriptAtBlockIDRequest) ProtoMessage() {} -func (*ExecuteScriptAtBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{23} +func (x *ExecuteScriptAtBlockIDRequest) Reset() { + *x = ExecuteScriptAtBlockIDRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecuteScriptAtBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Unmarshal(m, b) -} -func (m *ExecuteScriptAtBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Marshal(b, m, deterministic) -} -func (m *ExecuteScriptAtBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Merge(m, src) +func (x *ExecuteScriptAtBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecuteScriptAtBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Size(m) -} -func (m *ExecuteScriptAtBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteScriptAtBlockIDRequest.DiscardUnknown(m) + +func (*ExecuteScriptAtBlockIDRequest) ProtoMessage() {} + +func (x *ExecuteScriptAtBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[23] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecuteScriptAtBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use ExecuteScriptAtBlockIDRequest.ProtoReflect.Descriptor instead. +func (*ExecuteScriptAtBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{23} +} -func (m *ExecuteScriptAtBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *ExecuteScriptAtBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *ExecuteScriptAtBlockIDRequest) GetScript() []byte { - if m != nil { - return m.Script +func (x *ExecuteScriptAtBlockIDRequest) GetScript() []byte { + if x != nil { + return x.Script } return nil } -func (m *ExecuteScriptAtBlockIDRequest) GetArguments() [][]byte { - if m != nil { - return m.Arguments +func (x *ExecuteScriptAtBlockIDRequest) GetArguments() [][]byte { + if x != nil { + return x.Arguments } return nil } type ExecuteScriptAtBlockHeightRequest struct { - BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` - Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` + Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecuteScriptAtBlockHeightRequest) Reset() { *m = ExecuteScriptAtBlockHeightRequest{} } -func (m *ExecuteScriptAtBlockHeightRequest) String() string { return proto.CompactTextString(m) } -func (*ExecuteScriptAtBlockHeightRequest) ProtoMessage() {} -func (*ExecuteScriptAtBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{24} +func (x *ExecuteScriptAtBlockHeightRequest) Reset() { + *x = ExecuteScriptAtBlockHeightRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecuteScriptAtBlockHeightRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteScriptAtBlockHeightRequest.Unmarshal(m, b) -} -func (m *ExecuteScriptAtBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteScriptAtBlockHeightRequest.Marshal(b, m, deterministic) -} -func (m *ExecuteScriptAtBlockHeightRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteScriptAtBlockHeightRequest.Merge(m, src) -} -func (m *ExecuteScriptAtBlockHeightRequest) XXX_Size() int { - return xxx_messageInfo_ExecuteScriptAtBlockHeightRequest.Size(m) +func (x *ExecuteScriptAtBlockHeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecuteScriptAtBlockHeightRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteScriptAtBlockHeightRequest.DiscardUnknown(m) + +func (*ExecuteScriptAtBlockHeightRequest) ProtoMessage() {} + +func (x *ExecuteScriptAtBlockHeightRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[24] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecuteScriptAtBlockHeightRequest proto.InternalMessageInfo +// Deprecated: Use ExecuteScriptAtBlockHeightRequest.ProtoReflect.Descriptor instead. +func (*ExecuteScriptAtBlockHeightRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{24} +} -func (m *ExecuteScriptAtBlockHeightRequest) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *ExecuteScriptAtBlockHeightRequest) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *ExecuteScriptAtBlockHeightRequest) GetScript() []byte { - if m != nil { - return m.Script +func (x *ExecuteScriptAtBlockHeightRequest) GetScript() []byte { + if x != nil { + return x.Script } return nil } -func (m *ExecuteScriptAtBlockHeightRequest) GetArguments() [][]byte { - if m != nil { - return m.Arguments +func (x *ExecuteScriptAtBlockHeightRequest) GetArguments() [][]byte { + if x != nil { + return x.Arguments } return nil } type ExecuteScriptResponse struct { - Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecuteScriptResponse) Reset() { *m = ExecuteScriptResponse{} } -func (m *ExecuteScriptResponse) String() string { return proto.CompactTextString(m) } -func (*ExecuteScriptResponse) ProtoMessage() {} -func (*ExecuteScriptResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{25} +func (x *ExecuteScriptResponse) Reset() { + *x = ExecuteScriptResponse{} + mi := &file_flow_legacy_access_access_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecuteScriptResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteScriptResponse.Unmarshal(m, b) -} -func (m *ExecuteScriptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteScriptResponse.Marshal(b, m, deterministic) -} -func (m *ExecuteScriptResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteScriptResponse.Merge(m, src) -} -func (m *ExecuteScriptResponse) XXX_Size() int { - return xxx_messageInfo_ExecuteScriptResponse.Size(m) +func (x *ExecuteScriptResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecuteScriptResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteScriptResponse.DiscardUnknown(m) + +func (*ExecuteScriptResponse) ProtoMessage() {} + +func (x *ExecuteScriptResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[25] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecuteScriptResponse proto.InternalMessageInfo +// Deprecated: Use ExecuteScriptResponse.ProtoReflect.Descriptor instead. +func (*ExecuteScriptResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{25} +} -func (m *ExecuteScriptResponse) GetValue() []byte { - if m != nil { - return m.Value +func (x *ExecuteScriptResponse) GetValue() []byte { + if x != nil { + return x.Value } return nil } type GetEventsForHeightRangeRequest struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - StartHeight uint64 `protobuf:"varint,2,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` - EndHeight uint64 `protobuf:"varint,3,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + StartHeight uint64 `protobuf:"varint,2,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` + EndHeight uint64 `protobuf:"varint,3,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetEventsForHeightRangeRequest) Reset() { *m = GetEventsForHeightRangeRequest{} } -func (m *GetEventsForHeightRangeRequest) String() string { return proto.CompactTextString(m) } -func (*GetEventsForHeightRangeRequest) ProtoMessage() {} -func (*GetEventsForHeightRangeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{26} +func (x *GetEventsForHeightRangeRequest) Reset() { + *x = GetEventsForHeightRangeRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetEventsForHeightRangeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEventsForHeightRangeRequest.Unmarshal(m, b) -} -func (m *GetEventsForHeightRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEventsForHeightRangeRequest.Marshal(b, m, deterministic) -} -func (m *GetEventsForHeightRangeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEventsForHeightRangeRequest.Merge(m, src) +func (x *GetEventsForHeightRangeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEventsForHeightRangeRequest) XXX_Size() int { - return xxx_messageInfo_GetEventsForHeightRangeRequest.Size(m) -} -func (m *GetEventsForHeightRangeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEventsForHeightRangeRequest.DiscardUnknown(m) + +func (*GetEventsForHeightRangeRequest) ProtoMessage() {} + +func (x *GetEventsForHeightRangeRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[26] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetEventsForHeightRangeRequest proto.InternalMessageInfo +// Deprecated: Use GetEventsForHeightRangeRequest.ProtoReflect.Descriptor instead. +func (*GetEventsForHeightRangeRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{26} +} -func (m *GetEventsForHeightRangeRequest) GetType() string { - if m != nil { - return m.Type +func (x *GetEventsForHeightRangeRequest) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *GetEventsForHeightRangeRequest) GetStartHeight() uint64 { - if m != nil { - return m.StartHeight +func (x *GetEventsForHeightRangeRequest) GetStartHeight() uint64 { + if x != nil { + return x.StartHeight } return 0 } -func (m *GetEventsForHeightRangeRequest) GetEndHeight() uint64 { - if m != nil { - return m.EndHeight +func (x *GetEventsForHeightRangeRequest) GetEndHeight() uint64 { + if x != nil { + return x.EndHeight } return 0 } type GetEventsForBlockIDsRequest struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - BlockIds [][]byte `protobuf:"bytes,2,rep,name=block_ids,json=blockIds,proto3" json:"block_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + BlockIds [][]byte `protobuf:"bytes,2,rep,name=block_ids,json=blockIds,proto3" json:"block_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetEventsForBlockIDsRequest) Reset() { *m = GetEventsForBlockIDsRequest{} } -func (m *GetEventsForBlockIDsRequest) String() string { return proto.CompactTextString(m) } -func (*GetEventsForBlockIDsRequest) ProtoMessage() {} -func (*GetEventsForBlockIDsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{27} +func (x *GetEventsForBlockIDsRequest) Reset() { + *x = GetEventsForBlockIDsRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetEventsForBlockIDsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEventsForBlockIDsRequest.Unmarshal(m, b) +func (x *GetEventsForBlockIDsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetEventsForBlockIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEventsForBlockIDsRequest.Marshal(b, m, deterministic) -} -func (m *GetEventsForBlockIDsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEventsForBlockIDsRequest.Merge(m, src) -} -func (m *GetEventsForBlockIDsRequest) XXX_Size() int { - return xxx_messageInfo_GetEventsForBlockIDsRequest.Size(m) -} -func (m *GetEventsForBlockIDsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEventsForBlockIDsRequest.DiscardUnknown(m) + +func (*GetEventsForBlockIDsRequest) ProtoMessage() {} + +func (x *GetEventsForBlockIDsRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[27] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetEventsForBlockIDsRequest proto.InternalMessageInfo +// Deprecated: Use GetEventsForBlockIDsRequest.ProtoReflect.Descriptor instead. +func (*GetEventsForBlockIDsRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{27} +} -func (m *GetEventsForBlockIDsRequest) GetType() string { - if m != nil { - return m.Type +func (x *GetEventsForBlockIDsRequest) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *GetEventsForBlockIDsRequest) GetBlockIds() [][]byte { - if m != nil { - return m.BlockIds +func (x *GetEventsForBlockIDsRequest) GetBlockIds() [][]byte { + if x != nil { + return x.BlockIds } return nil } type EventsResponse struct { - Results []*EventsResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Results []*EventsResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *EventsResponse) Reset() { *m = EventsResponse{} } -func (m *EventsResponse) String() string { return proto.CompactTextString(m) } -func (*EventsResponse) ProtoMessage() {} -func (*EventsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{28} +func (x *EventsResponse) Reset() { + *x = EventsResponse{} + mi := &file_flow_legacy_access_access_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *EventsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventsResponse.Unmarshal(m, b) +func (x *EventsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventsResponse.Marshal(b, m, deterministic) -} -func (m *EventsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventsResponse.Merge(m, src) -} -func (m *EventsResponse) XXX_Size() int { - return xxx_messageInfo_EventsResponse.Size(m) -} -func (m *EventsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_EventsResponse.DiscardUnknown(m) + +func (*EventsResponse) ProtoMessage() {} + +func (x *EventsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[28] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_EventsResponse proto.InternalMessageInfo +// Deprecated: Use EventsResponse.ProtoReflect.Descriptor instead. +func (*EventsResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{28} +} -func (m *EventsResponse) GetResults() []*EventsResponse_Result { - if m != nil { - return m.Results +func (x *EventsResponse) GetResults() []*EventsResponse_Result { + if x != nil { + return x.Results } return nil } -type EventsResponse_Result struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - Events []*entities.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetNetworkParametersRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *EventsResponse_Result) Reset() { *m = EventsResponse_Result{} } -func (m *EventsResponse_Result) String() string { return proto.CompactTextString(m) } -func (*EventsResponse_Result) ProtoMessage() {} -func (*EventsResponse_Result) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{28, 0} +func (x *GetNetworkParametersRequest) Reset() { + *x = GetNetworkParametersRequest{} + mi := &file_flow_legacy_access_access_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GetNetworkParametersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EventsResponse_Result) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventsResponse_Result.Unmarshal(m, b) +func (*GetNetworkParametersRequest) ProtoMessage() {} + +func (x *GetNetworkParametersRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[29] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *EventsResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventsResponse_Result.Marshal(b, m, deterministic) + +// Deprecated: Use GetNetworkParametersRequest.ProtoReflect.Descriptor instead. +func (*GetNetworkParametersRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{29} } -func (m *EventsResponse_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventsResponse_Result.Merge(m, src) + +type GetNetworkParametersResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *EventsResponse_Result) XXX_Size() int { - return xxx_messageInfo_EventsResponse_Result.Size(m) + +func (x *GetNetworkParametersResponse) Reset() { + *x = GetNetworkParametersResponse{} + mi := &file_flow_legacy_access_access_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *EventsResponse_Result) XXX_DiscardUnknown() { - xxx_messageInfo_EventsResponse_Result.DiscardUnknown(m) + +func (x *GetNetworkParametersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_EventsResponse_Result proto.InternalMessageInfo +func (*GetNetworkParametersResponse) ProtoMessage() {} -func (m *EventsResponse_Result) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetNetworkParametersResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[30] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *EventsResponse_Result) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight - } - return 0 +// Deprecated: Use GetNetworkParametersResponse.ProtoReflect.Descriptor instead. +func (*GetNetworkParametersResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{30} } -func (m *EventsResponse_Result) GetEvents() []*entities.Event { - if m != nil { - return m.Events +func (x *GetNetworkParametersResponse) GetChainId() string { + if x != nil { + return x.ChainId } - return nil + return "" } -type GetNetworkParametersRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type EventsResponse_Result struct { + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Events []*entities.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetNetworkParametersRequest) Reset() { *m = GetNetworkParametersRequest{} } -func (m *GetNetworkParametersRequest) String() string { return proto.CompactTextString(m) } -func (*GetNetworkParametersRequest) ProtoMessage() {} -func (*GetNetworkParametersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{29} +func (x *EventsResponse_Result) Reset() { + *x = EventsResponse_Result{} + mi := &file_flow_legacy_access_access_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetNetworkParametersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetNetworkParametersRequest.Unmarshal(m, b) -} -func (m *GetNetworkParametersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetNetworkParametersRequest.Marshal(b, m, deterministic) -} -func (m *GetNetworkParametersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNetworkParametersRequest.Merge(m, src) -} -func (m *GetNetworkParametersRequest) XXX_Size() int { - return xxx_messageInfo_GetNetworkParametersRequest.Size(m) -} -func (m *GetNetworkParametersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNetworkParametersRequest.DiscardUnknown(m) +func (x *EventsResponse_Result) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetNetworkParametersRequest proto.InternalMessageInfo +func (*EventsResponse_Result) ProtoMessage() {} -type GetNetworkParametersResponse struct { - ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *EventsResponse_Result) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_access_access_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *GetNetworkParametersResponse) Reset() { *m = GetNetworkParametersResponse{} } -func (m *GetNetworkParametersResponse) String() string { return proto.CompactTextString(m) } -func (*GetNetworkParametersResponse) ProtoMessage() {} -func (*GetNetworkParametersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1967bd8421cd93, []int{30} +// Deprecated: Use EventsResponse_Result.ProtoReflect.Descriptor instead. +func (*EventsResponse_Result) Descriptor() ([]byte, []int) { + return file_flow_legacy_access_access_proto_rawDescGZIP(), []int{28, 0} } -func (m *GetNetworkParametersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetNetworkParametersResponse.Unmarshal(m, b) -} -func (m *GetNetworkParametersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetNetworkParametersResponse.Marshal(b, m, deterministic) -} -func (m *GetNetworkParametersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNetworkParametersResponse.Merge(m, src) -} -func (m *GetNetworkParametersResponse) XXX_Size() int { - return xxx_messageInfo_GetNetworkParametersResponse.Size(m) -} -func (m *GetNetworkParametersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNetworkParametersResponse.DiscardUnknown(m) +func (x *EventsResponse_Result) GetBlockId() []byte { + if x != nil { + return x.BlockId + } + return nil } -var xxx_messageInfo_GetNetworkParametersResponse proto.InternalMessageInfo +func (x *EventsResponse_Result) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight + } + return 0 +} -func (m *GetNetworkParametersResponse) GetChainId() string { - if m != nil { - return m.ChainId +func (x *EventsResponse_Result) GetEvents() []*entities.Event { + if x != nil { + return x.Events } - return "" + return nil } -func init() { - proto.RegisterType((*PingRequest)(nil), "access.PingRequest") - proto.RegisterType((*PingResponse)(nil), "access.PingResponse") - proto.RegisterType((*GetLatestBlockHeaderRequest)(nil), "access.GetLatestBlockHeaderRequest") - proto.RegisterType((*GetBlockHeaderByIDRequest)(nil), "access.GetBlockHeaderByIDRequest") - proto.RegisterType((*GetBlockHeaderByHeightRequest)(nil), "access.GetBlockHeaderByHeightRequest") - proto.RegisterType((*BlockHeaderResponse)(nil), "access.BlockHeaderResponse") - proto.RegisterType((*GetLatestBlockRequest)(nil), "access.GetLatestBlockRequest") - proto.RegisterType((*GetBlockByIDRequest)(nil), "access.GetBlockByIDRequest") - proto.RegisterType((*GetBlockByHeightRequest)(nil), "access.GetBlockByHeightRequest") - proto.RegisterType((*BlockResponse)(nil), "access.BlockResponse") - proto.RegisterType((*GetCollectionByIDRequest)(nil), "access.GetCollectionByIDRequest") - proto.RegisterType((*CollectionResponse)(nil), "access.CollectionResponse") - proto.RegisterType((*SendTransactionRequest)(nil), "access.SendTransactionRequest") - proto.RegisterType((*SendTransactionResponse)(nil), "access.SendTransactionResponse") - proto.RegisterType((*GetTransactionRequest)(nil), "access.GetTransactionRequest") - proto.RegisterType((*TransactionResponse)(nil), "access.TransactionResponse") - proto.RegisterType((*TransactionResultResponse)(nil), "access.TransactionResultResponse") - proto.RegisterType((*GetAccountRequest)(nil), "access.GetAccountRequest") - proto.RegisterType((*GetAccountResponse)(nil), "access.GetAccountResponse") - proto.RegisterType((*GetAccountAtLatestBlockRequest)(nil), "access.GetAccountAtLatestBlockRequest") - proto.RegisterType((*AccountResponse)(nil), "access.AccountResponse") - proto.RegisterType((*GetAccountAtBlockHeightRequest)(nil), "access.GetAccountAtBlockHeightRequest") - proto.RegisterType((*ExecuteScriptAtLatestBlockRequest)(nil), "access.ExecuteScriptAtLatestBlockRequest") - proto.RegisterType((*ExecuteScriptAtBlockIDRequest)(nil), "access.ExecuteScriptAtBlockIDRequest") - proto.RegisterType((*ExecuteScriptAtBlockHeightRequest)(nil), "access.ExecuteScriptAtBlockHeightRequest") - proto.RegisterType((*ExecuteScriptResponse)(nil), "access.ExecuteScriptResponse") - proto.RegisterType((*GetEventsForHeightRangeRequest)(nil), "access.GetEventsForHeightRangeRequest") - proto.RegisterType((*GetEventsForBlockIDsRequest)(nil), "access.GetEventsForBlockIDsRequest") - proto.RegisterType((*EventsResponse)(nil), "access.EventsResponse") - proto.RegisterType((*EventsResponse_Result)(nil), "access.EventsResponse.Result") - proto.RegisterType((*GetNetworkParametersRequest)(nil), "access.GetNetworkParametersRequest") - proto.RegisterType((*GetNetworkParametersResponse)(nil), "access.GetNetworkParametersResponse") -} - -func init() { proto.RegisterFile("flow/legacy/access/access.proto", fileDescriptor_bd1967bd8421cd93) } - -var fileDescriptor_bd1967bd8421cd93 = []byte{ - // 1188 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xdd, 0x52, 0xdb, 0x46, - 0x14, 0x1e, 0xdb, 0xc4, 0xe0, 0x83, 0x81, 0x66, 0x01, 0x63, 0xe4, 0x38, 0x18, 0xa5, 0x04, 0x68, - 0x26, 0xf6, 0x84, 0xa4, 0xcd, 0x34, 0x17, 0x9d, 0x01, 0x9a, 0x10, 0x32, 0x29, 0x43, 0x44, 0x2e, - 0x1a, 0xa6, 0x2d, 0x23, 0xa4, 0xc5, 0xd6, 0xc4, 0x48, 0xae, 0x76, 0x4d, 0xca, 0x4c, 0xdf, 0xaa, - 0x77, 0xbd, 0xe9, 0xab, 0x75, 0xbc, 0x3f, 0xd2, 0x4a, 0x5a, 0xc9, 0x99, 0xe4, 0x26, 0xf1, 0xee, - 0x7e, 0xfb, 0x9d, 0xdf, 0x3d, 0xe7, 0x08, 0xd8, 0xb8, 0x1a, 0x06, 0x9f, 0x7a, 0x43, 0xdc, 0xb7, - 0x9d, 0xdb, 0x9e, 0xed, 0x38, 0x98, 0x10, 0xf1, 0x5f, 0x77, 0x14, 0x06, 0x34, 0x40, 0x55, 0xbe, - 0x32, 0x4c, 0x15, 0x88, 0x7d, 0xea, 0x51, 0x0f, 0x33, 0x68, 0x30, 0xf6, 0x29, 0xc7, 0x1a, 0xdb, - 0x5a, 0xcc, 0xe5, 0x30, 0x70, 0x3e, 0x5e, 0x0c, 0xb0, 0xed, 0xe2, 0x50, 0x00, 0x3b, 0xf9, 0x40, - 0x81, 0xd8, 0xd2, 0x22, 0x9c, 0x60, 0x38, 0xc4, 0x0e, 0xf5, 0x02, 0xbf, 0x90, 0x08, 0xdf, 0xe0, - 0x48, 0xa7, 0x87, 0x5a, 0x04, 0x0d, 0x6d, 0x9f, 0xd8, 0x0a, 0x93, 0xb9, 0x00, 0xf3, 0xa7, 0x9e, - 0xdf, 0xb7, 0xf0, 0x9f, 0x63, 0x4c, 0xa8, 0xb9, 0x08, 0x75, 0xbe, 0x24, 0xa3, 0xc0, 0x27, 0xd8, - 0x7c, 0x01, 0xad, 0x23, 0x4c, 0xdf, 0xda, 0x14, 0x13, 0x7a, 0x30, 0xd1, 0xf3, 0x35, 0xb3, 0x47, - 0xc0, 0x51, 0x0b, 0x6a, 0x1e, 0xb9, 0x20, 0xd8, 0x1e, 0x62, 0xb7, 0x59, 0xea, 0x94, 0x76, 0xe6, - 0xac, 0x39, 0x8f, 0x9c, 0xb1, 0xb5, 0xf9, 0x08, 0xd6, 0x8f, 0xb0, 0x7a, 0xeb, 0xe0, 0xf6, 0xf8, - 0x67, 0x79, 0x73, 0x11, 0xca, 0x1e, 0xbf, 0x52, 0xb7, 0xca, 0x9e, 0x6b, 0x3e, 0x87, 0x76, 0x1a, - 0xfc, 0x1a, 0x7b, 0xfd, 0x01, 0x95, 0x17, 0x1a, 0x50, 0x1d, 0xb0, 0x0d, 0x76, 0x69, 0xc6, 0x12, - 0x2b, 0xf3, 0x00, 0x96, 0x13, 0x8a, 0x71, 0xc5, 0xd1, 0x23, 0xb8, 0xc3, 0xfc, 0xca, 0xd0, 0xf3, - 0x7b, 0xab, 0x5d, 0xe9, 0x83, 0xae, 0x8a, 0xe6, 0x18, 0xf3, 0x19, 0xac, 0x26, 0xad, 0xfc, 0x2c, - 0xfb, 0xb6, 0x60, 0x59, 0xaa, 0x5c, 0x64, 0xd9, 0x13, 0x58, 0x8b, 0x61, 0x9f, 0x67, 0xd3, 0x0f, - 0xb0, 0x20, 0xd4, 0x10, 0xd6, 0x6c, 0x25, 0xad, 0x59, 0x4a, 0x59, 0x23, 0xed, 0xf8, 0x0e, 0x9a, - 0x47, 0x98, 0x1e, 0x46, 0xd9, 0x52, 0xa4, 0xd6, 0x1b, 0x40, 0x31, 0x30, 0x12, 0xf4, 0x0c, 0x20, - 0x4e, 0x36, 0x21, 0x6d, 0x25, 0x96, 0xa6, 0xdc, 0x50, 0x70, 0xe6, 0x3b, 0x68, 0x9c, 0x61, 0xdf, - 0x7d, 0x1f, 0x67, 0x97, 0x94, 0xfa, 0x1c, 0xe6, 0x95, 0x9c, 0xcb, 0x06, 0x43, 0xbd, 0xa2, 0x22, - 0xcd, 0x5d, 0x58, 0xcb, 0x50, 0x0a, 0x1d, 0xd3, 0x96, 0x6c, 0xb3, 0xe8, 0x69, 0x84, 0xa7, 0x81, - 0x27, 0xb0, 0xac, 0xe3, 0xfb, 0x62, 0x1d, 0xff, 0x2b, 0xc1, 0x7a, 0x92, 0x70, 0x3c, 0xa4, 0x11, - 0xed, 0x53, 0xa8, 0x12, 0x6a, 0xd3, 0x31, 0x61, 0x8c, 0x8b, 0x7b, 0x2d, 0x2d, 0xe3, 0x19, 0x83, - 0x58, 0x02, 0x8a, 0x36, 0x60, 0x9e, 0xff, 0xba, 0x70, 0x02, 0x17, 0x37, 0xcb, 0x9d, 0xd2, 0xce, - 0x82, 0x05, 0x7c, 0xeb, 0x30, 0x70, 0x31, 0x7a, 0x00, 0x0b, 0x38, 0x0c, 0x83, 0xf0, 0xe2, 0x1a, - 0x13, 0x62, 0xf7, 0x71, 0xb3, 0xd2, 0x29, 0xed, 0xd4, 0xac, 0x3a, 0xdb, 0xfc, 0x85, 0xef, 0xa1, - 0x6d, 0xa8, 0xb2, 0x5a, 0x40, 0x9a, 0x33, 0x9d, 0x4a, 0x32, 0x5f, 0x5e, 0x4e, 0xf6, 0x2d, 0x71, - 0x6c, 0x3e, 0x86, 0xbb, 0x47, 0x98, 0xee, 0xf3, 0x6a, 0x26, 0xdd, 0xd6, 0x84, 0x59, 0xdb, 0x75, - 0x43, 0x4c, 0x88, 0xf0, 0x9d, 0x5c, 0x9a, 0xfb, 0x80, 0x54, 0x78, 0xf4, 0xd4, 0x66, 0x45, 0x3d, - 0x14, 0xbe, 0xbb, 0x1b, 0x8b, 0x93, 0x58, 0x89, 0x30, 0x5f, 0xc0, 0xfd, 0x98, 0x62, 0x5f, 0xf7, - 0xe6, 0xf2, 0xc5, 0xff, 0x04, 0x4b, 0x5f, 0x25, 0xfb, 0xf7, 0xa4, 0x6c, 0x51, 0x08, 0xd4, 0x07, - 0x99, 0x2b, 0x1b, 0x6d, 0x42, 0x5d, 0x16, 0x74, 0xf6, 0x60, 0xcb, 0xec, 0xc1, 0xce, 0x5f, 0xc6, - 0x1c, 0xe6, 0x07, 0xd8, 0x7c, 0xf9, 0x17, 0x76, 0xc6, 0x14, 0x9f, 0x39, 0xa1, 0x37, 0xd2, 0x5b, - 0xd7, 0x80, 0x2a, 0x61, 0xa7, 0x42, 0x80, 0x58, 0xa1, 0x7b, 0x50, 0xb3, 0xc3, 0xfe, 0xf8, 0x9a, - 0x45, 0xad, 0xdc, 0xa9, 0xec, 0xd4, 0xad, 0x78, 0xc3, 0x1c, 0x41, 0x3b, 0x45, 0xcd, 0x48, 0xe3, - 0xd7, 0xbd, 0x0e, 0x73, 0x5c, 0xbd, 0x28, 0xe1, 0x67, 0xd9, 0xfa, 0xd8, 0x55, 0x24, 0x96, 0xf3, - 0x25, 0x56, 0xd2, 0x12, 0xff, 0xce, 0x18, 0xa3, 0x71, 0x57, 0xda, 0x29, 0xa5, 0x8c, 0x53, 0xbe, - 0x50, 0xfa, 0x63, 0x58, 0x4d, 0x48, 0x8f, 0xe2, 0xbd, 0x02, 0x77, 0x6e, 0xec, 0xe1, 0x18, 0x0b, - 0x23, 0xf9, 0xc2, 0xbc, 0x61, 0x81, 0x65, 0xa9, 0x4d, 0x5e, 0x05, 0xa1, 0x50, 0xd2, 0xf6, 0xfb, - 0x58, 0x6a, 0x8a, 0x60, 0x86, 0xde, 0x8e, 0xf8, 0xb5, 0x9a, 0xc5, 0x7e, 0x4f, 0xb4, 0x27, 0xd4, - 0x0e, 0x69, 0x2a, 0xa4, 0x6c, 0x4f, 0x68, 0xdf, 0x06, 0xc0, 0xbe, 0x2b, 0x01, 0x15, 0x06, 0xa8, - 0x61, 0xdf, 0x15, 0x11, 0x3f, 0x61, 0xdd, 0x31, 0x92, 0x2b, 0x62, 0x42, 0x8a, 0x84, 0xb6, 0xa0, - 0x26, 0x03, 0x25, 0xe3, 0x3c, 0x27, 0x22, 0x45, 0xcc, 0x7f, 0x4b, 0xb0, 0xc8, 0xd9, 0x94, 0xe2, - 0x34, 0x1b, 0xb2, 0xba, 0x32, 0xc9, 0xc8, 0xc9, 0x5b, 0x6e, 0x77, 0xc5, 0x9c, 0x92, 0x04, 0x76, - 0x45, 0xf5, 0x91, 0x68, 0x23, 0x80, 0x2a, 0xdf, 0x2a, 0xca, 0x8d, 0xe9, 0x59, 0xad, 0xd4, 0x92, - 0x4a, 0x71, 0x2d, 0x69, 0x33, 0x67, 0x9c, 0x60, 0xfa, 0x29, 0x08, 0x3f, 0x9e, 0xda, 0xa1, 0x7d, - 0x8d, 0x29, 0x0e, 0xa5, 0x33, 0xcc, 0x1f, 0xe1, 0x9e, 0xfe, 0x58, 0x18, 0xba, 0x0e, 0x73, 0xce, - 0xc0, 0xf6, 0x7c, 0xa9, 0x65, 0xcd, 0x9a, 0x65, 0xeb, 0x63, 0x77, 0xef, 0x9f, 0x05, 0xa8, 0xed, - 0x33, 0xa3, 0xf7, 0x4f, 0x8f, 0xd1, 0x13, 0x98, 0x99, 0x8c, 0x28, 0x68, 0x59, 0x3a, 0x42, 0x99, - 0x5f, 0x8c, 0x95, 0xe4, 0xa6, 0xe0, 0xfe, 0x15, 0x56, 0x74, 0x53, 0x0c, 0x7a, 0x20, 0xd1, 0x05, - 0x33, 0x8e, 0xd1, 0x92, 0x20, 0xdd, 0x98, 0xf1, 0x9e, 0x55, 0xc4, 0xd4, 0x8c, 0x83, 0x36, 0x15, - 0x5e, 0xfd, 0xfc, 0x53, 0xcc, 0xfa, 0x1b, 0x34, 0xf4, 0xc3, 0x10, 0xda, 0xca, 0x63, 0x4e, 0x3c, - 0xcc, 0x62, 0xf6, 0x57, 0xb0, 0x98, 0xb4, 0x17, 0xb5, 0xf5, 0x7e, 0x90, 0x6c, 0xab, 0x09, 0xb6, - 0x88, 0xe7, 0x00, 0xea, 0xea, 0xfc, 0x83, 0x5a, 0x69, 0xdd, 0x54, 0x7b, 0x73, 0x38, 0xde, 0xc0, - 0x37, 0xe9, 0xe1, 0x08, 0x6d, 0x64, 0x79, 0x92, 0xd6, 0xe5, 0x70, 0xbd, 0x63, 0xcd, 0x2c, 0x39, - 0xfd, 0xa0, 0x8e, 0x42, 0xa6, 0x1d, 0x8c, 0x0c, 0x43, 0x22, 0x34, 0xe3, 0x90, 0x05, 0x4b, 0xa9, - 0x29, 0x04, 0xdd, 0x97, 0x70, 0xfd, 0xc4, 0x63, 0x6c, 0xe4, 0x9e, 0x0b, 0xce, 0xb7, 0xcc, 0xfd, - 0x2a, 0xa5, 0xea, 0x7e, 0x0d, 0x63, 0xe4, 0x57, 0x1d, 0x1b, 0x4f, 0xed, 0xcc, 0x14, 0x32, 0x8d, - 0x73, 0x53, 0xcf, 0xa9, 0xce, 0x2f, 0x87, 0x00, 0x71, 0xb7, 0x44, 0xeb, 0x0a, 0x5f, 0x72, 0x5e, - 0x88, 0x1d, 0xa8, 0x99, 0x0d, 0xce, 0xd9, 0xf0, 0xab, 0x6b, 0xf7, 0xe8, 0x61, 0xf6, 0x9a, 0xae, - 0x63, 0x1a, 0x6b, 0x12, 0x37, 0x85, 0x5b, 0xe9, 0x4f, 0x7a, 0xee, 0x6c, 0x03, 0xcb, 0xe7, 0xbe, - 0x02, 0x23, 0xbf, 0x97, 0xa3, 0xdd, 0xa8, 0x06, 0x4f, 0xeb, 0xf7, 0x46, 0x5b, 0x0b, 0x8d, 0xe4, - 0xfc, 0x01, 0x0d, 0x7d, 0x63, 0x8f, 0x5f, 0x7a, 0x61, 0xe3, 0x9f, 0xc6, 0x9f, 0xb5, 0x43, 0x75, - 0xd3, 0x6e, 0x91, 0x8c, 0xa4, 0xa7, 0xa6, 0xc8, 0xf9, 0xc0, 0x62, 0xa1, 0xeb, 0xc0, 0x89, 0x58, - 0x14, 0xb4, 0x68, 0xa3, 0xa1, 0x6f, 0x6c, 0xe8, 0x8c, 0x65, 0x78, 0xa6, 0xc9, 0x26, 0x8a, 0x77, - 0x5e, 0x0b, 0xce, 0x25, 0xb5, 0x19, 0x69, 0xa6, 0x1b, 0x25, 0x48, 0xf3, 0x5a, 0x99, 0xf1, 0x6d, - 0x31, 0x88, 0x8b, 0x38, 0x38, 0x87, 0xcd, 0x20, 0xec, 0x77, 0x03, 0x7f, 0xf2, 0x25, 0xce, 0xbf, - 0xb6, 0x2f, 0xc7, 0x57, 0x5d, 0xfe, 0x49, 0x2e, 0x18, 0xce, 0xbf, 0xef, 0x7b, 0x74, 0x30, 0xbe, - 0xec, 0x3a, 0xc1, 0x75, 0x8f, 0x23, 0x7b, 0xec, 0x1f, 0x09, 0xef, 0xf5, 0x83, 0x5e, 0xf6, 0x4f, - 0x15, 0x97, 0x55, 0x76, 0xfe, 0xf4, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x31, 0xbb, 0xa4, 0x7d, - 0xc7, 0x10, 0x00, 0x00, +var File_flow_legacy_access_access_proto protoreflect.FileDescriptor + +const file_flow_legacy_access_access_proto_rawDesc = "" + + "\n" + + "\x1fflow/legacy/access/access.proto\x12\x06access\x1a\"flow/legacy/entities/account.proto\x1a'flow/legacy/entities/block_header.proto\x1a flow/legacy/entities/block.proto\x1a%flow/legacy/entities/collection.proto\x1a flow/legacy/entities/event.proto\x1a&flow/legacy/entities/transaction.proto\"\r\n" + + "\vPingRequest\"\x0e\n" + + "\fPingResponse\":\n" + + "\x1bGetLatestBlockHeaderRequest\x12\x1b\n" + + "\tis_sealed\x18\x01 \x01(\bR\bisSealed\"+\n" + + "\x19GetBlockHeaderByIDRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\"7\n" + + "\x1dGetBlockHeaderByHeightRequest\x12\x16\n" + + "\x06height\x18\x01 \x01(\x04R\x06height\"B\n" + + "\x13BlockHeaderResponse\x12+\n" + + "\x05block\x18\x01 \x01(\v2\x15.entities.BlockHeaderR\x05block\"4\n" + + "\x15GetLatestBlockRequest\x12\x1b\n" + + "\tis_sealed\x18\x01 \x01(\bR\bisSealed\"%\n" + + "\x13GetBlockByIDRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\"1\n" + + "\x17GetBlockByHeightRequest\x12\x16\n" + + "\x06height\x18\x01 \x01(\x04R\x06height\"6\n" + + "\rBlockResponse\x12%\n" + + "\x05block\x18\x01 \x01(\v2\x0f.entities.BlockR\x05block\"*\n" + + "\x18GetCollectionByIDRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\"J\n" + + "\x12CollectionResponse\x124\n" + + "\n" + + "collection\x18\x01 \x01(\v2\x14.entities.CollectionR\n" + + "collection\"Q\n" + + "\x16SendTransactionRequest\x127\n" + + "\vtransaction\x18\x01 \x01(\v2\x15.entities.TransactionR\vtransaction\")\n" + + "\x17SendTransactionResponse\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\"'\n" + + "\x15GetTransactionRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\"N\n" + + "\x13TransactionResponse\x127\n" + + "\vtransaction\x18\x01 \x01(\v2\x15.entities.TransactionR\vtransaction\"\xbf\x01\n" + + "\x19TransactionResultResponse\x123\n" + + "\x06status\x18\x01 \x01(\x0e2\x1b.entities.TransactionStatusR\x06status\x12\x1f\n" + + "\vstatus_code\x18\x02 \x01(\rR\n" + + "statusCode\x12#\n" + + "\rerror_message\x18\x03 \x01(\tR\ferrorMessage\x12'\n" + + "\x06events\x18\x04 \x03(\v2\x0f.entities.EventR\x06events\"-\n" + + "\x11GetAccountRequest\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\"A\n" + + "\x12GetAccountResponse\x12+\n" + + "\aaccount\x18\x01 \x01(\v2\x11.entities.AccountR\aaccount\":\n" + + "\x1eGetAccountAtLatestBlockRequest\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\">\n" + + "\x0fAccountResponse\x12+\n" + + "\aaccount\x18\x01 \x01(\v2\x11.entities.AccountR\aaccount\"]\n" + + "\x1eGetAccountAtBlockHeightRequest\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12!\n" + + "\fblock_height\x18\x02 \x01(\x04R\vblockHeight\"Y\n" + + "!ExecuteScriptAtLatestBlockRequest\x12\x16\n" + + "\x06script\x18\x01 \x01(\fR\x06script\x12\x1c\n" + + "\targuments\x18\x02 \x03(\fR\targuments\"p\n" + + "\x1dExecuteScriptAtBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12\x16\n" + + "\x06script\x18\x02 \x01(\fR\x06script\x12\x1c\n" + + "\targuments\x18\x03 \x03(\fR\targuments\"|\n" + + "!ExecuteScriptAtBlockHeightRequest\x12!\n" + + "\fblock_height\x18\x01 \x01(\x04R\vblockHeight\x12\x16\n" + + "\x06script\x18\x02 \x01(\fR\x06script\x12\x1c\n" + + "\targuments\x18\x03 \x03(\fR\targuments\"-\n" + + "\x15ExecuteScriptResponse\x12\x14\n" + + "\x05value\x18\x01 \x01(\fR\x05value\"v\n" + + "\x1eGetEventsForHeightRangeRequest\x12\x12\n" + + "\x04type\x18\x01 \x01(\tR\x04type\x12!\n" + + "\fstart_height\x18\x02 \x01(\x04R\vstartHeight\x12\x1d\n" + + "\n" + + "end_height\x18\x03 \x01(\x04R\tendHeight\"N\n" + + "\x1bGetEventsForBlockIDsRequest\x12\x12\n" + + "\x04type\x18\x01 \x01(\tR\x04type\x12\x1b\n" + + "\tblock_ids\x18\x02 \x03(\fR\bblockIds\"\xba\x01\n" + + "\x0eEventsResponse\x127\n" + + "\aresults\x18\x01 \x03(\v2\x1d.access.EventsResponse.ResultR\aresults\x1ao\n" + + "\x06Result\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12!\n" + + "\fblock_height\x18\x02 \x01(\x04R\vblockHeight\x12'\n" + + "\x06events\x18\x03 \x03(\v2\x0f.entities.EventR\x06events\"\x1d\n" + + "\x1bGetNetworkParametersRequest\"9\n" + + "\x1cGetNetworkParametersResponse\x12\x19\n" + + "\bchain_id\x18\x01 \x01(\tR\achainId2\xb3\r\n" + + "\tAccessAPI\x121\n" + + "\x04Ping\x12\x13.access.PingRequest\x1a\x14.access.PingResponse\x12X\n" + + "\x14GetLatestBlockHeader\x12#.access.GetLatestBlockHeaderRequest\x1a\x1b.access.BlockHeaderResponse\x12T\n" + + "\x12GetBlockHeaderByID\x12!.access.GetBlockHeaderByIDRequest\x1a\x1b.access.BlockHeaderResponse\x12\\\n" + + "\x16GetBlockHeaderByHeight\x12%.access.GetBlockHeaderByHeightRequest\x1a\x1b.access.BlockHeaderResponse\x12F\n" + + "\x0eGetLatestBlock\x12\x1d.access.GetLatestBlockRequest\x1a\x15.access.BlockResponse\x12B\n" + + "\fGetBlockByID\x12\x1b.access.GetBlockByIDRequest\x1a\x15.access.BlockResponse\x12J\n" + + "\x10GetBlockByHeight\x12\x1f.access.GetBlockByHeightRequest\x1a\x15.access.BlockResponse\x12Q\n" + + "\x11GetCollectionByID\x12 .access.GetCollectionByIDRequest\x1a\x1a.access.CollectionResponse\x12R\n" + + "\x0fSendTransaction\x12\x1e.access.SendTransactionRequest\x1a\x1f.access.SendTransactionResponse\x12L\n" + + "\x0eGetTransaction\x12\x1d.access.GetTransactionRequest\x1a\x1b.access.TransactionResponse\x12X\n" + + "\x14GetTransactionResult\x12\x1d.access.GetTransactionRequest\x1a!.access.TransactionResultResponse\x12C\n" + + "\n" + + "GetAccount\x12\x19.access.GetAccountRequest\x1a\x1a.access.GetAccountResponse\x12Z\n" + + "\x17GetAccountAtLatestBlock\x12&.access.GetAccountAtLatestBlockRequest\x1a\x17.access.AccountResponse\x12Z\n" + + "\x17GetAccountAtBlockHeight\x12&.access.GetAccountAtBlockHeightRequest\x1a\x17.access.AccountResponse\x12f\n" + + "\x1aExecuteScriptAtLatestBlock\x12).access.ExecuteScriptAtLatestBlockRequest\x1a\x1d.access.ExecuteScriptResponse\x12^\n" + + "\x16ExecuteScriptAtBlockID\x12%.access.ExecuteScriptAtBlockIDRequest\x1a\x1d.access.ExecuteScriptResponse\x12f\n" + + "\x1aExecuteScriptAtBlockHeight\x12).access.ExecuteScriptAtBlockHeightRequest\x1a\x1d.access.ExecuteScriptResponse\x12Y\n" + + "\x17GetEventsForHeightRange\x12&.access.GetEventsForHeightRangeRequest\x1a\x16.access.EventsResponse\x12S\n" + + "\x14GetEventsForBlockIDs\x12#.access.GetEventsForBlockIDsRequest\x1a\x16.access.EventsResponse\x12a\n" + + "\x14GetNetworkParameters\x12#.access.GetNetworkParametersRequest\x1a$.access.GetNetworkParametersResponseBZ\n" + + "!org.onflow.protobuf.legacy.accessZ5github.com/onflow/flow/protobuf/go/flow/legacy/accessb\x06proto3" + +var ( + file_flow_legacy_access_access_proto_rawDescOnce sync.Once + file_flow_legacy_access_access_proto_rawDescData []byte +) + +func file_flow_legacy_access_access_proto_rawDescGZIP() []byte { + file_flow_legacy_access_access_proto_rawDescOnce.Do(func() { + file_flow_legacy_access_access_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_legacy_access_access_proto_rawDesc), len(file_flow_legacy_access_access_proto_rawDesc))) + }) + return file_flow_legacy_access_access_proto_rawDescData +} + +var file_flow_legacy_access_access_proto_msgTypes = make([]protoimpl.MessageInfo, 32) +var file_flow_legacy_access_access_proto_goTypes = []any{ + (*PingRequest)(nil), // 0: access.PingRequest + (*PingResponse)(nil), // 1: access.PingResponse + (*GetLatestBlockHeaderRequest)(nil), // 2: access.GetLatestBlockHeaderRequest + (*GetBlockHeaderByIDRequest)(nil), // 3: access.GetBlockHeaderByIDRequest + (*GetBlockHeaderByHeightRequest)(nil), // 4: access.GetBlockHeaderByHeightRequest + (*BlockHeaderResponse)(nil), // 5: access.BlockHeaderResponse + (*GetLatestBlockRequest)(nil), // 6: access.GetLatestBlockRequest + (*GetBlockByIDRequest)(nil), // 7: access.GetBlockByIDRequest + (*GetBlockByHeightRequest)(nil), // 8: access.GetBlockByHeightRequest + (*BlockResponse)(nil), // 9: access.BlockResponse + (*GetCollectionByIDRequest)(nil), // 10: access.GetCollectionByIDRequest + (*CollectionResponse)(nil), // 11: access.CollectionResponse + (*SendTransactionRequest)(nil), // 12: access.SendTransactionRequest + (*SendTransactionResponse)(nil), // 13: access.SendTransactionResponse + (*GetTransactionRequest)(nil), // 14: access.GetTransactionRequest + (*TransactionResponse)(nil), // 15: access.TransactionResponse + (*TransactionResultResponse)(nil), // 16: access.TransactionResultResponse + (*GetAccountRequest)(nil), // 17: access.GetAccountRequest + (*GetAccountResponse)(nil), // 18: access.GetAccountResponse + (*GetAccountAtLatestBlockRequest)(nil), // 19: access.GetAccountAtLatestBlockRequest + (*AccountResponse)(nil), // 20: access.AccountResponse + (*GetAccountAtBlockHeightRequest)(nil), // 21: access.GetAccountAtBlockHeightRequest + (*ExecuteScriptAtLatestBlockRequest)(nil), // 22: access.ExecuteScriptAtLatestBlockRequest + (*ExecuteScriptAtBlockIDRequest)(nil), // 23: access.ExecuteScriptAtBlockIDRequest + (*ExecuteScriptAtBlockHeightRequest)(nil), // 24: access.ExecuteScriptAtBlockHeightRequest + (*ExecuteScriptResponse)(nil), // 25: access.ExecuteScriptResponse + (*GetEventsForHeightRangeRequest)(nil), // 26: access.GetEventsForHeightRangeRequest + (*GetEventsForBlockIDsRequest)(nil), // 27: access.GetEventsForBlockIDsRequest + (*EventsResponse)(nil), // 28: access.EventsResponse + (*GetNetworkParametersRequest)(nil), // 29: access.GetNetworkParametersRequest + (*GetNetworkParametersResponse)(nil), // 30: access.GetNetworkParametersResponse + (*EventsResponse_Result)(nil), // 31: access.EventsResponse.Result + (*entities.BlockHeader)(nil), // 32: entities.BlockHeader + (*entities.Block)(nil), // 33: entities.Block + (*entities.Collection)(nil), // 34: entities.Collection + (*entities.Transaction)(nil), // 35: entities.Transaction + (entities.TransactionStatus)(0), // 36: entities.TransactionStatus + (*entities.Event)(nil), // 37: entities.Event + (*entities.Account)(nil), // 38: entities.Account +} +var file_flow_legacy_access_access_proto_depIdxs = []int32{ + 32, // 0: access.BlockHeaderResponse.block:type_name -> entities.BlockHeader + 33, // 1: access.BlockResponse.block:type_name -> entities.Block + 34, // 2: access.CollectionResponse.collection:type_name -> entities.Collection + 35, // 3: access.SendTransactionRequest.transaction:type_name -> entities.Transaction + 35, // 4: access.TransactionResponse.transaction:type_name -> entities.Transaction + 36, // 5: access.TransactionResultResponse.status:type_name -> entities.TransactionStatus + 37, // 6: access.TransactionResultResponse.events:type_name -> entities.Event + 38, // 7: access.GetAccountResponse.account:type_name -> entities.Account + 38, // 8: access.AccountResponse.account:type_name -> entities.Account + 31, // 9: access.EventsResponse.results:type_name -> access.EventsResponse.Result + 37, // 10: access.EventsResponse.Result.events:type_name -> entities.Event + 0, // 11: access.AccessAPI.Ping:input_type -> access.PingRequest + 2, // 12: access.AccessAPI.GetLatestBlockHeader:input_type -> access.GetLatestBlockHeaderRequest + 3, // 13: access.AccessAPI.GetBlockHeaderByID:input_type -> access.GetBlockHeaderByIDRequest + 4, // 14: access.AccessAPI.GetBlockHeaderByHeight:input_type -> access.GetBlockHeaderByHeightRequest + 6, // 15: access.AccessAPI.GetLatestBlock:input_type -> access.GetLatestBlockRequest + 7, // 16: access.AccessAPI.GetBlockByID:input_type -> access.GetBlockByIDRequest + 8, // 17: access.AccessAPI.GetBlockByHeight:input_type -> access.GetBlockByHeightRequest + 10, // 18: access.AccessAPI.GetCollectionByID:input_type -> access.GetCollectionByIDRequest + 12, // 19: access.AccessAPI.SendTransaction:input_type -> access.SendTransactionRequest + 14, // 20: access.AccessAPI.GetTransaction:input_type -> access.GetTransactionRequest + 14, // 21: access.AccessAPI.GetTransactionResult:input_type -> access.GetTransactionRequest + 17, // 22: access.AccessAPI.GetAccount:input_type -> access.GetAccountRequest + 19, // 23: access.AccessAPI.GetAccountAtLatestBlock:input_type -> access.GetAccountAtLatestBlockRequest + 21, // 24: access.AccessAPI.GetAccountAtBlockHeight:input_type -> access.GetAccountAtBlockHeightRequest + 22, // 25: access.AccessAPI.ExecuteScriptAtLatestBlock:input_type -> access.ExecuteScriptAtLatestBlockRequest + 23, // 26: access.AccessAPI.ExecuteScriptAtBlockID:input_type -> access.ExecuteScriptAtBlockIDRequest + 24, // 27: access.AccessAPI.ExecuteScriptAtBlockHeight:input_type -> access.ExecuteScriptAtBlockHeightRequest + 26, // 28: access.AccessAPI.GetEventsForHeightRange:input_type -> access.GetEventsForHeightRangeRequest + 27, // 29: access.AccessAPI.GetEventsForBlockIDs:input_type -> access.GetEventsForBlockIDsRequest + 29, // 30: access.AccessAPI.GetNetworkParameters:input_type -> access.GetNetworkParametersRequest + 1, // 31: access.AccessAPI.Ping:output_type -> access.PingResponse + 5, // 32: access.AccessAPI.GetLatestBlockHeader:output_type -> access.BlockHeaderResponse + 5, // 33: access.AccessAPI.GetBlockHeaderByID:output_type -> access.BlockHeaderResponse + 5, // 34: access.AccessAPI.GetBlockHeaderByHeight:output_type -> access.BlockHeaderResponse + 9, // 35: access.AccessAPI.GetLatestBlock:output_type -> access.BlockResponse + 9, // 36: access.AccessAPI.GetBlockByID:output_type -> access.BlockResponse + 9, // 37: access.AccessAPI.GetBlockByHeight:output_type -> access.BlockResponse + 11, // 38: access.AccessAPI.GetCollectionByID:output_type -> access.CollectionResponse + 13, // 39: access.AccessAPI.SendTransaction:output_type -> access.SendTransactionResponse + 15, // 40: access.AccessAPI.GetTransaction:output_type -> access.TransactionResponse + 16, // 41: access.AccessAPI.GetTransactionResult:output_type -> access.TransactionResultResponse + 18, // 42: access.AccessAPI.GetAccount:output_type -> access.GetAccountResponse + 20, // 43: access.AccessAPI.GetAccountAtLatestBlock:output_type -> access.AccountResponse + 20, // 44: access.AccessAPI.GetAccountAtBlockHeight:output_type -> access.AccountResponse + 25, // 45: access.AccessAPI.ExecuteScriptAtLatestBlock:output_type -> access.ExecuteScriptResponse + 25, // 46: access.AccessAPI.ExecuteScriptAtBlockID:output_type -> access.ExecuteScriptResponse + 25, // 47: access.AccessAPI.ExecuteScriptAtBlockHeight:output_type -> access.ExecuteScriptResponse + 28, // 48: access.AccessAPI.GetEventsForHeightRange:output_type -> access.EventsResponse + 28, // 49: access.AccessAPI.GetEventsForBlockIDs:output_type -> access.EventsResponse + 30, // 50: access.AccessAPI.GetNetworkParameters:output_type -> access.GetNetworkParametersResponse + 31, // [31:51] is the sub-list for method output_type + 11, // [11:31] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name +} + +func init() { file_flow_legacy_access_access_proto_init() } +func file_flow_legacy_access_access_proto_init() { + if File_flow_legacy_access_access_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_legacy_access_access_proto_rawDesc), len(file_flow_legacy_access_access_proto_rawDesc)), + NumEnums: 0, + NumMessages: 32, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_flow_legacy_access_access_proto_goTypes, + DependencyIndexes: file_flow_legacy_access_access_proto_depIdxs, + MessageInfos: file_flow_legacy_access_access_proto_msgTypes, + }.Build() + File_flow_legacy_access_access_proto = out.File + file_flow_legacy_access_access_proto_goTypes = nil + file_flow_legacy_access_access_proto_depIdxs = nil } diff --git a/protobuf/go/flow/legacy/access/access_grpc.pb.go b/protobuf/go/flow/legacy/access/access_grpc.pb.go index 76938b868..8bd8c0b2e 100644 --- a/protobuf/go/flow/legacy/access/access_grpc.pb.go +++ b/protobuf/go/flow/legacy/access/access_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.6.0 // - protoc (unknown) // source: flow/legacy/access/access.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( AccessAPI_Ping_FullMethodName = "/access.AccessAPI/Ping" @@ -44,6 +44,8 @@ const ( // AccessAPIClient is the client API for AccessAPI service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// AccessAPI is the public-facing API provided by access nodes. type AccessAPIClient interface { // Ping is used to check if the access node is alive and healthy. Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) @@ -107,8 +109,9 @@ func NewAccessAPIClient(cc grpc.ClientConnInterface) AccessAPIClient { } func (c *accessAPIClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PingResponse) - err := c.cc.Invoke(ctx, AccessAPI_Ping_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_Ping_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -116,8 +119,9 @@ func (c *accessAPIClient) Ping(ctx context.Context, in *PingRequest, opts ...grp } func (c *accessAPIClient) GetLatestBlockHeader(ctx context.Context, in *GetLatestBlockHeaderRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockHeaderResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetLatestBlockHeader_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetLatestBlockHeader_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -125,8 +129,9 @@ func (c *accessAPIClient) GetLatestBlockHeader(ctx context.Context, in *GetLates } func (c *accessAPIClient) GetBlockHeaderByID(ctx context.Context, in *GetBlockHeaderByIDRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockHeaderResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetBlockHeaderByID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetBlockHeaderByID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -134,8 +139,9 @@ func (c *accessAPIClient) GetBlockHeaderByID(ctx context.Context, in *GetBlockHe } func (c *accessAPIClient) GetBlockHeaderByHeight(ctx context.Context, in *GetBlockHeaderByHeightRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockHeaderResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetBlockHeaderByHeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetBlockHeaderByHeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -143,8 +149,9 @@ func (c *accessAPIClient) GetBlockHeaderByHeight(ctx context.Context, in *GetBlo } func (c *accessAPIClient) GetLatestBlock(ctx context.Context, in *GetLatestBlockRequest, opts ...grpc.CallOption) (*BlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetLatestBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetLatestBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -152,8 +159,9 @@ func (c *accessAPIClient) GetLatestBlock(ctx context.Context, in *GetLatestBlock } func (c *accessAPIClient) GetBlockByID(ctx context.Context, in *GetBlockByIDRequest, opts ...grpc.CallOption) (*BlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetBlockByID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetBlockByID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -161,8 +169,9 @@ func (c *accessAPIClient) GetBlockByID(ctx context.Context, in *GetBlockByIDRequ } func (c *accessAPIClient) GetBlockByHeight(ctx context.Context, in *GetBlockByHeightRequest, opts ...grpc.CallOption) (*BlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetBlockByHeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetBlockByHeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -170,8 +179,9 @@ func (c *accessAPIClient) GetBlockByHeight(ctx context.Context, in *GetBlockByHe } func (c *accessAPIClient) GetCollectionByID(ctx context.Context, in *GetCollectionByIDRequest, opts ...grpc.CallOption) (*CollectionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CollectionResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetCollectionByID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetCollectionByID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -179,8 +189,9 @@ func (c *accessAPIClient) GetCollectionByID(ctx context.Context, in *GetCollecti } func (c *accessAPIClient) SendTransaction(ctx context.Context, in *SendTransactionRequest, opts ...grpc.CallOption) (*SendTransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SendTransactionResponse) - err := c.cc.Invoke(ctx, AccessAPI_SendTransaction_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_SendTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -188,8 +199,9 @@ func (c *accessAPIClient) SendTransaction(ctx context.Context, in *SendTransacti } func (c *accessAPIClient) GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*TransactionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetTransaction_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -197,8 +209,9 @@ func (c *accessAPIClient) GetTransaction(ctx context.Context, in *GetTransaction } func (c *accessAPIClient) GetTransactionResult(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*TransactionResultResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionResultResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetTransactionResult_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetTransactionResult_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -206,8 +219,9 @@ func (c *accessAPIClient) GetTransactionResult(ctx context.Context, in *GetTrans } func (c *accessAPIClient) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAccountResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetAccount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -215,8 +229,9 @@ func (c *accessAPIClient) GetAccount(ctx context.Context, in *GetAccountRequest, } func (c *accessAPIClient) GetAccountAtLatestBlock(ctx context.Context, in *GetAccountAtLatestBlockRequest, opts ...grpc.CallOption) (*AccountResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetAccountAtLatestBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetAccountAtLatestBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -224,8 +239,9 @@ func (c *accessAPIClient) GetAccountAtLatestBlock(ctx context.Context, in *GetAc } func (c *accessAPIClient) GetAccountAtBlockHeight(ctx context.Context, in *GetAccountAtBlockHeightRequest, opts ...grpc.CallOption) (*AccountResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetAccountAtBlockHeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetAccountAtBlockHeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -233,8 +249,9 @@ func (c *accessAPIClient) GetAccountAtBlockHeight(ctx context.Context, in *GetAc } func (c *accessAPIClient) ExecuteScriptAtLatestBlock(ctx context.Context, in *ExecuteScriptAtLatestBlockRequest, opts ...grpc.CallOption) (*ExecuteScriptResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExecuteScriptResponse) - err := c.cc.Invoke(ctx, AccessAPI_ExecuteScriptAtLatestBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_ExecuteScriptAtLatestBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -242,8 +259,9 @@ func (c *accessAPIClient) ExecuteScriptAtLatestBlock(ctx context.Context, in *Ex } func (c *accessAPIClient) ExecuteScriptAtBlockID(ctx context.Context, in *ExecuteScriptAtBlockIDRequest, opts ...grpc.CallOption) (*ExecuteScriptResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExecuteScriptResponse) - err := c.cc.Invoke(ctx, AccessAPI_ExecuteScriptAtBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_ExecuteScriptAtBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -251,8 +269,9 @@ func (c *accessAPIClient) ExecuteScriptAtBlockID(ctx context.Context, in *Execut } func (c *accessAPIClient) ExecuteScriptAtBlockHeight(ctx context.Context, in *ExecuteScriptAtBlockHeightRequest, opts ...grpc.CallOption) (*ExecuteScriptResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExecuteScriptResponse) - err := c.cc.Invoke(ctx, AccessAPI_ExecuteScriptAtBlockHeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_ExecuteScriptAtBlockHeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -260,8 +279,9 @@ func (c *accessAPIClient) ExecuteScriptAtBlockHeight(ctx context.Context, in *Ex } func (c *accessAPIClient) GetEventsForHeightRange(ctx context.Context, in *GetEventsForHeightRangeRequest, opts ...grpc.CallOption) (*EventsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(EventsResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetEventsForHeightRange_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetEventsForHeightRange_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -269,8 +289,9 @@ func (c *accessAPIClient) GetEventsForHeightRange(ctx context.Context, in *GetEv } func (c *accessAPIClient) GetEventsForBlockIDs(ctx context.Context, in *GetEventsForBlockIDsRequest, opts ...grpc.CallOption) (*EventsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(EventsResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetEventsForBlockIDs_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetEventsForBlockIDs_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -278,8 +299,9 @@ func (c *accessAPIClient) GetEventsForBlockIDs(ctx context.Context, in *GetEvent } func (c *accessAPIClient) GetNetworkParameters(ctx context.Context, in *GetNetworkParametersRequest, opts ...grpc.CallOption) (*GetNetworkParametersResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetNetworkParametersResponse) - err := c.cc.Invoke(ctx, AccessAPI_GetNetworkParameters_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AccessAPI_GetNetworkParameters_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -288,7 +310,9 @@ func (c *accessAPIClient) GetNetworkParameters(ctx context.Context, in *GetNetwo // AccessAPIServer is the server API for AccessAPI service. // All implementations should embed UnimplementedAccessAPIServer -// for forward compatibility +// for forward compatibility. +// +// AccessAPI is the public-facing API provided by access nodes. type AccessAPIServer interface { // Ping is used to check if the access node is alive and healthy. Ping(context.Context, *PingRequest) (*PingResponse, error) @@ -343,70 +367,74 @@ type AccessAPIServer interface { GetNetworkParameters(context.Context, *GetNetworkParametersRequest) (*GetNetworkParametersResponse, error) } -// UnimplementedAccessAPIServer should be embedded to have forward compatible implementations. -type UnimplementedAccessAPIServer struct { -} +// UnimplementedAccessAPIServer should be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedAccessAPIServer struct{} func (UnimplementedAccessAPIServer) Ping(context.Context, *PingRequest) (*PingResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") + return nil, status.Error(codes.Unimplemented, "method Ping not implemented") } func (UnimplementedAccessAPIServer) GetLatestBlockHeader(context.Context, *GetLatestBlockHeaderRequest) (*BlockHeaderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLatestBlockHeader not implemented") + return nil, status.Error(codes.Unimplemented, "method GetLatestBlockHeader not implemented") } func (UnimplementedAccessAPIServer) GetBlockHeaderByID(context.Context, *GetBlockHeaderByIDRequest) (*BlockHeaderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockHeaderByID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetBlockHeaderByID not implemented") } func (UnimplementedAccessAPIServer) GetBlockHeaderByHeight(context.Context, *GetBlockHeaderByHeightRequest) (*BlockHeaderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockHeaderByHeight not implemented") + return nil, status.Error(codes.Unimplemented, "method GetBlockHeaderByHeight not implemented") } func (UnimplementedAccessAPIServer) GetLatestBlock(context.Context, *GetLatestBlockRequest) (*BlockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLatestBlock not implemented") + return nil, status.Error(codes.Unimplemented, "method GetLatestBlock not implemented") } func (UnimplementedAccessAPIServer) GetBlockByID(context.Context, *GetBlockByIDRequest) (*BlockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetBlockByID not implemented") } func (UnimplementedAccessAPIServer) GetBlockByHeight(context.Context, *GetBlockByHeightRequest) (*BlockResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByHeight not implemented") + return nil, status.Error(codes.Unimplemented, "method GetBlockByHeight not implemented") } func (UnimplementedAccessAPIServer) GetCollectionByID(context.Context, *GetCollectionByIDRequest) (*CollectionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCollectionByID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetCollectionByID not implemented") } func (UnimplementedAccessAPIServer) SendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SendTransaction not implemented") + return nil, status.Error(codes.Unimplemented, "method SendTransaction not implemented") } func (UnimplementedAccessAPIServer) GetTransaction(context.Context, *GetTransactionRequest) (*TransactionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransaction not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransaction not implemented") } func (UnimplementedAccessAPIServer) GetTransactionResult(context.Context, *GetTransactionRequest) (*TransactionResultResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionResult not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionResult not implemented") } func (UnimplementedAccessAPIServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccount not implemented") } func (UnimplementedAccessAPIServer) GetAccountAtLatestBlock(context.Context, *GetAccountAtLatestBlockRequest) (*AccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountAtLatestBlock not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccountAtLatestBlock not implemented") } func (UnimplementedAccessAPIServer) GetAccountAtBlockHeight(context.Context, *GetAccountAtBlockHeightRequest) (*AccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountAtBlockHeight not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccountAtBlockHeight not implemented") } func (UnimplementedAccessAPIServer) ExecuteScriptAtLatestBlock(context.Context, *ExecuteScriptAtLatestBlockRequest) (*ExecuteScriptResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExecuteScriptAtLatestBlock not implemented") + return nil, status.Error(codes.Unimplemented, "method ExecuteScriptAtLatestBlock not implemented") } func (UnimplementedAccessAPIServer) ExecuteScriptAtBlockID(context.Context, *ExecuteScriptAtBlockIDRequest) (*ExecuteScriptResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExecuteScriptAtBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method ExecuteScriptAtBlockID not implemented") } func (UnimplementedAccessAPIServer) ExecuteScriptAtBlockHeight(context.Context, *ExecuteScriptAtBlockHeightRequest) (*ExecuteScriptResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExecuteScriptAtBlockHeight not implemented") + return nil, status.Error(codes.Unimplemented, "method ExecuteScriptAtBlockHeight not implemented") } func (UnimplementedAccessAPIServer) GetEventsForHeightRange(context.Context, *GetEventsForHeightRangeRequest) (*EventsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEventsForHeightRange not implemented") + return nil, status.Error(codes.Unimplemented, "method GetEventsForHeightRange not implemented") } func (UnimplementedAccessAPIServer) GetEventsForBlockIDs(context.Context, *GetEventsForBlockIDsRequest) (*EventsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEventsForBlockIDs not implemented") + return nil, status.Error(codes.Unimplemented, "method GetEventsForBlockIDs not implemented") } func (UnimplementedAccessAPIServer) GetNetworkParameters(context.Context, *GetNetworkParametersRequest) (*GetNetworkParametersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNetworkParameters not implemented") + return nil, status.Error(codes.Unimplemented, "method GetNetworkParameters not implemented") } +func (UnimplementedAccessAPIServer) testEmbeddedByValue() {} // UnsafeAccessAPIServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to AccessAPIServer will @@ -416,6 +444,13 @@ type UnsafeAccessAPIServer interface { } func RegisterAccessAPIServer(s grpc.ServiceRegistrar, srv AccessAPIServer) { + // If the following call panics, it indicates UnimplementedAccessAPIServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&AccessAPI_ServiceDesc, srv) } diff --git a/protobuf/go/flow/legacy/entities/account.pb.go b/protobuf/go/flow/legacy/entities/account.pb.go index 48dad4492..8d1483d74 100644 --- a/protobuf/go/flow/legacy/entities/account.pb.go +++ b/protobuf/go/flow/legacy/entities/account.pb.go @@ -1,196 +1,245 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/legacy/entities/account.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type Account struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` - Code []byte `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` - Keys []*AccountKey `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Account) Reset() { *m = Account{} } -func (m *Account) String() string { return proto.CompactTextString(m) } -func (*Account) ProtoMessage() {} -func (*Account) Descriptor() ([]byte, []int) { - return fileDescriptor_a4aab70d5e0d112b, []int{0} + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` + Code []byte `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` + Keys []*AccountKey `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Account) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Account.Unmarshal(m, b) -} -func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Account.Marshal(b, m, deterministic) +func (x *Account) Reset() { + *x = Account{} + mi := &file_flow_legacy_entities_account_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Account) XXX_Merge(src proto.Message) { - xxx_messageInfo_Account.Merge(m, src) -} -func (m *Account) XXX_Size() int { - return xxx_messageInfo_Account.Size(m) + +func (x *Account) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Account) XXX_DiscardUnknown() { - xxx_messageInfo_Account.DiscardUnknown(m) + +func (*Account) ProtoMessage() {} + +func (x *Account) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_entities_account_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Account proto.InternalMessageInfo +// Deprecated: Use Account.ProtoReflect.Descriptor instead. +func (*Account) Descriptor() ([]byte, []int) { + return file_flow_legacy_entities_account_proto_rawDescGZIP(), []int{0} +} -func (m *Account) GetAddress() []byte { - if m != nil { - return m.Address +func (x *Account) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *Account) GetBalance() uint64 { - if m != nil { - return m.Balance +func (x *Account) GetBalance() uint64 { + if x != nil { + return x.Balance } return 0 } -func (m *Account) GetCode() []byte { - if m != nil { - return m.Code +func (x *Account) GetCode() []byte { + if x != nil { + return x.Code } return nil } -func (m *Account) GetKeys() []*AccountKey { - if m != nil { - return m.Keys +func (x *Account) GetKeys() []*AccountKey { + if x != nil { + return x.Keys } return nil } type AccountKey struct { - Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - SignAlgo uint32 `protobuf:"varint,3,opt,name=sign_algo,json=signAlgo,proto3" json:"sign_algo,omitempty"` - HashAlgo uint32 `protobuf:"varint,4,opt,name=hash_algo,json=hashAlgo,proto3" json:"hash_algo,omitempty"` - Weight uint32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"` - SequenceNumber uint32 `protobuf:"varint,6,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AccountKey) Reset() { *m = AccountKey{} } -func (m *AccountKey) String() string { return proto.CompactTextString(m) } -func (*AccountKey) ProtoMessage() {} -func (*AccountKey) Descriptor() ([]byte, []int) { - return fileDescriptor_a4aab70d5e0d112b, []int{1} + state protoimpl.MessageState `protogen:"open.v1"` + Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` + PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + SignAlgo uint32 `protobuf:"varint,3,opt,name=sign_algo,json=signAlgo,proto3" json:"sign_algo,omitempty"` + HashAlgo uint32 `protobuf:"varint,4,opt,name=hash_algo,json=hashAlgo,proto3" json:"hash_algo,omitempty"` + Weight uint32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"` + SequenceNumber uint32 `protobuf:"varint,6,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AccountKey) Reset() { + *x = AccountKey{} + mi := &file_flow_legacy_entities_account_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AccountKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountKey) ProtoMessage() {} + +func (x *AccountKey) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_entities_account_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *AccountKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccountKey.Unmarshal(m, b) -} -func (m *AccountKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccountKey.Marshal(b, m, deterministic) -} -func (m *AccountKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountKey.Merge(m, src) -} -func (m *AccountKey) XXX_Size() int { - return xxx_messageInfo_AccountKey.Size(m) -} -func (m *AccountKey) XXX_DiscardUnknown() { - xxx_messageInfo_AccountKey.DiscardUnknown(m) +// Deprecated: Use AccountKey.ProtoReflect.Descriptor instead. +func (*AccountKey) Descriptor() ([]byte, []int) { + return file_flow_legacy_entities_account_proto_rawDescGZIP(), []int{1} } -var xxx_messageInfo_AccountKey proto.InternalMessageInfo - -func (m *AccountKey) GetIndex() uint32 { - if m != nil { - return m.Index +func (x *AccountKey) GetIndex() uint32 { + if x != nil { + return x.Index } return 0 } -func (m *AccountKey) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *AccountKey) GetPublicKey() []byte { + if x != nil { + return x.PublicKey } return nil } -func (m *AccountKey) GetSignAlgo() uint32 { - if m != nil { - return m.SignAlgo +func (x *AccountKey) GetSignAlgo() uint32 { + if x != nil { + return x.SignAlgo } return 0 } -func (m *AccountKey) GetHashAlgo() uint32 { - if m != nil { - return m.HashAlgo +func (x *AccountKey) GetHashAlgo() uint32 { + if x != nil { + return x.HashAlgo } return 0 } -func (m *AccountKey) GetWeight() uint32 { - if m != nil { - return m.Weight +func (x *AccountKey) GetWeight() uint32 { + if x != nil { + return x.Weight } return 0 } -func (m *AccountKey) GetSequenceNumber() uint32 { - if m != nil { - return m.SequenceNumber +func (x *AccountKey) GetSequenceNumber() uint32 { + if x != nil { + return x.SequenceNumber } return 0 } -func init() { - proto.RegisterType((*Account)(nil), "entities.Account") - proto.RegisterType((*AccountKey)(nil), "entities.AccountKey") -} - -func init() { - proto.RegisterFile("flow/legacy/entities/account.proto", fileDescriptor_a4aab70d5e0d112b) -} - -var fileDescriptor_a4aab70d5e0d112b = []byte{ - // 309 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xbf, 0x4e, 0xf3, 0x30, - 0x14, 0xc5, 0x95, 0xaf, 0xe9, 0xbf, 0xfb, 0xb5, 0x20, 0x59, 0x15, 0xb2, 0x84, 0x90, 0xaa, 0x32, - 0x90, 0x29, 0x96, 0x60, 0x60, 0x2e, 0x2b, 0x12, 0x43, 0x46, 0x06, 0x22, 0xc7, 0xb9, 0x75, 0xac, - 0xa6, 0x76, 0x89, 0x13, 0x95, 0x88, 0x57, 0xe3, 0xe1, 0x50, 0xec, 0x1a, 0x16, 0x96, 0x28, 0xe7, - 0xfc, 0xce, 0xd5, 0xb1, 0xaf, 0x61, 0xb3, 0xab, 0xcd, 0x89, 0xd5, 0x28, 0xb9, 0xe8, 0x19, 0xea, - 0x56, 0xb5, 0x0a, 0x2d, 0xe3, 0x42, 0x98, 0x4e, 0xb7, 0xe9, 0xb1, 0x31, 0xad, 0x21, 0xb3, 0xe0, - 0x6f, 0x3e, 0x61, 0xba, 0xf5, 0x88, 0x50, 0x98, 0xf2, 0xb2, 0x6c, 0xd0, 0x5a, 0x1a, 0xad, 0xa3, - 0x64, 0x91, 0x05, 0x39, 0x90, 0x82, 0xd7, 0x5c, 0x0b, 0xa4, 0xff, 0xd6, 0x51, 0x12, 0x67, 0x41, - 0x12, 0x02, 0xb1, 0x30, 0x25, 0xd2, 0x91, 0x1b, 0x70, 0xff, 0x24, 0x81, 0x78, 0x8f, 0xbd, 0xa5, - 0xf1, 0x7a, 0x94, 0xfc, 0xbf, 0x5f, 0xa5, 0xa1, 0x2b, 0x3d, 0x17, 0x3d, 0x63, 0x9f, 0xb9, 0xc4, - 0xe6, 0x2b, 0x02, 0xf8, 0x35, 0xc9, 0x0a, 0xc6, 0x4a, 0x97, 0xf8, 0xe1, 0xea, 0x97, 0x99, 0x17, - 0xe4, 0x06, 0xe0, 0xd8, 0x15, 0xb5, 0x12, 0xf9, 0x1e, 0x7b, 0xd7, 0xbf, 0xc8, 0xe6, 0xde, 0x19, - 0x86, 0xae, 0x61, 0x6e, 0x95, 0xd4, 0x39, 0xaf, 0xa5, 0x71, 0xc7, 0x58, 0x66, 0xb3, 0xc1, 0xd8, - 0xd6, 0xd2, 0x0c, 0xb0, 0xe2, 0xb6, 0xf2, 0x30, 0xf6, 0x70, 0x30, 0x1c, 0xbc, 0x82, 0xc9, 0x09, - 0x95, 0xac, 0x5a, 0x3a, 0x76, 0xe4, 0xac, 0xc8, 0x1d, 0x5c, 0x5a, 0x7c, 0xef, 0x50, 0x0b, 0xcc, - 0x75, 0x77, 0x28, 0xb0, 0xa1, 0x13, 0x17, 0xb8, 0x08, 0xf6, 0x8b, 0x73, 0x9f, 0xde, 0xe0, 0xd6, - 0x34, 0x32, 0x35, 0x7a, 0xd8, 0xb8, 0xdf, 0x6c, 0xd1, 0xed, 0x52, 0xbf, 0xfa, 0x9f, 0x6b, 0xbf, - 0x3e, 0x4a, 0xd5, 0x56, 0x5d, 0x91, 0x0a, 0x73, 0x60, 0x3e, 0xcb, 0xdc, 0x27, 0x0c, 0x30, 0x69, - 0xd8, 0x5f, 0x6f, 0x56, 0x4c, 0x5c, 0xe2, 0xe1, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xba, 0x98, 0x95, - 0xff, 0xd2, 0x01, 0x00, 0x00, +var File_flow_legacy_entities_account_proto protoreflect.FileDescriptor + +const file_flow_legacy_entities_account_proto_rawDesc = "" + + "\n" + + "\"flow/legacy/entities/account.proto\x12\bentities\"{\n" + + "\aAccount\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12\x18\n" + + "\abalance\x18\x02 \x01(\x04R\abalance\x12\x12\n" + + "\x04code\x18\x03 \x01(\fR\x04code\x12(\n" + + "\x04keys\x18\x04 \x03(\v2\x14.entities.AccountKeyR\x04keys\"\xbc\x01\n" + + "\n" + + "AccountKey\x12\x14\n" + + "\x05index\x18\x01 \x01(\rR\x05index\x12\x1d\n" + + "\n" + + "public_key\x18\x02 \x01(\fR\tpublicKey\x12\x1b\n" + + "\tsign_algo\x18\x03 \x01(\rR\bsignAlgo\x12\x1b\n" + + "\thash_algo\x18\x04 \x01(\rR\bhashAlgo\x12\x16\n" + + "\x06weight\x18\x05 \x01(\rR\x06weight\x12'\n" + + "\x0fsequence_number\x18\x06 \x01(\rR\x0esequenceNumberB^\n" + + "#org.onflow.protobuf.legacy.entitiesZ7github.com/onflow/flow/protobuf/go/flow/legacy/entitiesb\x06proto3" + +var ( + file_flow_legacy_entities_account_proto_rawDescOnce sync.Once + file_flow_legacy_entities_account_proto_rawDescData []byte +) + +func file_flow_legacy_entities_account_proto_rawDescGZIP() []byte { + file_flow_legacy_entities_account_proto_rawDescOnce.Do(func() { + file_flow_legacy_entities_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_account_proto_rawDesc), len(file_flow_legacy_entities_account_proto_rawDesc))) + }) + return file_flow_legacy_entities_account_proto_rawDescData +} + +var file_flow_legacy_entities_account_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_flow_legacy_entities_account_proto_goTypes = []any{ + (*Account)(nil), // 0: entities.Account + (*AccountKey)(nil), // 1: entities.AccountKey +} +var file_flow_legacy_entities_account_proto_depIdxs = []int32{ + 1, // 0: entities.Account.keys:type_name -> entities.AccountKey + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_flow_legacy_entities_account_proto_init() } +func file_flow_legacy_entities_account_proto_init() { + if File_flow_legacy_entities_account_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_account_proto_rawDesc), len(file_flow_legacy_entities_account_proto_rawDesc)), + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_legacy_entities_account_proto_goTypes, + DependencyIndexes: file_flow_legacy_entities_account_proto_depIdxs, + MessageInfos: file_flow_legacy_entities_account_proto_msgTypes, + }.Build() + File_flow_legacy_entities_account_proto = out.File + file_flow_legacy_entities_account_proto_goTypes = nil + file_flow_legacy_entities_account_proto_depIdxs = nil } diff --git a/protobuf/go/flow/legacy/entities/block.pb.go b/protobuf/go/flow/legacy/entities/block.pb.go index 320a2417d..8aa02de9e 100644 --- a/protobuf/go/flow/legacy/entities/block.pb.go +++ b/protobuf/go/flow/legacy/entities/block.pb.go @@ -1,27 +1,29 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/legacy/entities/block.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - math "math" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type Block struct { + state protoimpl.MessageState `protogen:"open.v1"` Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ParentId []byte `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` @@ -29,112 +31,159 @@ type Block struct { CollectionGuarantees []*CollectionGuarantee `protobuf:"bytes,5,rep,name=collection_guarantees,json=collectionGuarantees,proto3" json:"collection_guarantees,omitempty"` BlockSeals []*BlockSeal `protobuf:"bytes,6,rep,name=block_seals,json=blockSeals,proto3" json:"block_seals,omitempty"` Signatures [][]byte `protobuf:"bytes,7,rep,name=signatures,proto3" json:"signatures,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Block) Reset() { *m = Block{} } -func (m *Block) String() string { return proto.CompactTextString(m) } -func (*Block) ProtoMessage() {} -func (*Block) Descriptor() ([]byte, []int) { - return fileDescriptor_62d5112242020686, []int{0} +func (x *Block) Reset() { + *x = Block{} + mi := &file_flow_legacy_entities_block_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Block) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Block.Unmarshal(m, b) -} -func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Block.Marshal(b, m, deterministic) +func (x *Block) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Block) XXX_Merge(src proto.Message) { - xxx_messageInfo_Block.Merge(m, src) -} -func (m *Block) XXX_Size() int { - return xxx_messageInfo_Block.Size(m) -} -func (m *Block) XXX_DiscardUnknown() { - xxx_messageInfo_Block.DiscardUnknown(m) + +func (*Block) ProtoMessage() {} + +func (x *Block) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_entities_block_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Block proto.InternalMessageInfo +// Deprecated: Use Block.ProtoReflect.Descriptor instead. +func (*Block) Descriptor() ([]byte, []int) { + return file_flow_legacy_entities_block_proto_rawDescGZIP(), []int{0} +} -func (m *Block) GetId() []byte { - if m != nil { - return m.Id +func (x *Block) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *Block) GetParentId() []byte { - if m != nil { - return m.ParentId +func (x *Block) GetParentId() []byte { + if x != nil { + return x.ParentId } return nil } -func (m *Block) GetHeight() uint64 { - if m != nil { - return m.Height +func (x *Block) GetHeight() uint64 { + if x != nil { + return x.Height } return 0 } -func (m *Block) GetTimestamp() *timestamppb.Timestamp { - if m != nil { - return m.Timestamp +func (x *Block) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp } return nil } -func (m *Block) GetCollectionGuarantees() []*CollectionGuarantee { - if m != nil { - return m.CollectionGuarantees +func (x *Block) GetCollectionGuarantees() []*CollectionGuarantee { + if x != nil { + return x.CollectionGuarantees } return nil } -func (m *Block) GetBlockSeals() []*BlockSeal { - if m != nil { - return m.BlockSeals +func (x *Block) GetBlockSeals() []*BlockSeal { + if x != nil { + return x.BlockSeals } return nil } -func (m *Block) GetSignatures() [][]byte { - if m != nil { - return m.Signatures +func (x *Block) GetSignatures() [][]byte { + if x != nil { + return x.Signatures } return nil } -func init() { - proto.RegisterType((*Block)(nil), "entities.Block") -} - -func init() { proto.RegisterFile("flow/legacy/entities/block.proto", fileDescriptor_62d5112242020686) } - -var fileDescriptor_62d5112242020686 = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x4b, 0xfb, 0x30, - 0x18, 0xc7, 0x69, 0xf7, 0xe7, 0xb7, 0x65, 0xe3, 0x77, 0x88, 0x7f, 0x08, 0x13, 0xb5, 0x28, 0x42, - 0x4f, 0x09, 0x4c, 0x41, 0xcf, 0xf3, 0x20, 0x5e, 0xa3, 0x27, 0x0f, 0x8e, 0xb4, 0x7d, 0x96, 0x05, - 0xb3, 0x66, 0x34, 0x29, 0xe2, 0xbb, 0xf2, 0x25, 0xca, 0x52, 0xd3, 0x0a, 0x0e, 0x2f, 0xa5, 0xf9, - 0xf2, 0xe1, 0x9b, 0x7c, 0x9e, 0x07, 0x25, 0x2b, 0x6d, 0xde, 0x99, 0x06, 0x29, 0xf2, 0x0f, 0x06, - 0xa5, 0x53, 0x4e, 0x81, 0x65, 0x99, 0x36, 0xf9, 0x1b, 0xdd, 0x56, 0xc6, 0x19, 0x3c, 0x0a, 0xe9, - 0xec, 0x5c, 0x1a, 0x23, 0x35, 0x30, 0x9f, 0x67, 0xf5, 0x8a, 0x39, 0xb5, 0x01, 0xeb, 0xc4, 0x66, - 0xdb, 0xa0, 0xb3, 0xab, 0xbd, 0x65, 0xb9, 0xd1, 0x1a, 0x72, 0xa7, 0x4c, 0xf9, 0x27, 0xe6, 0xef, - 0x5c, 0x5a, 0x10, 0xba, 0xc1, 0x2e, 0x3e, 0x63, 0x34, 0x58, 0xec, 0x42, 0xfc, 0x1f, 0xc5, 0xaa, - 0x20, 0x51, 0x12, 0xa5, 0x53, 0x1e, 0xab, 0x02, 0x9f, 0xa0, 0xf1, 0x56, 0x54, 0x50, 0xba, 0xa5, - 0x2a, 0x48, 0xec, 0xe3, 0x51, 0x13, 0x3c, 0x16, 0xf8, 0x18, 0x0d, 0xd7, 0xa0, 0xe4, 0xda, 0x91, - 0x5e, 0x12, 0xa5, 0x7d, 0xfe, 0x7d, 0xc2, 0x77, 0x68, 0xdc, 0xbe, 0x97, 0xf4, 0x93, 0x28, 0x9d, - 0xcc, 0x67, 0xb4, 0x31, 0xa2, 0xc1, 0x88, 0x3e, 0x07, 0x82, 0x77, 0x30, 0xe6, 0xe8, 0xa8, 0x73, - 0x58, 0xca, 0x5a, 0x54, 0xa2, 0x74, 0x00, 0x96, 0x0c, 0x92, 0x5e, 0x3a, 0x99, 0x9f, 0xd2, 0xe0, - 0x40, 0xef, 0x5b, 0xec, 0x21, 0x50, 0xfc, 0x30, 0xff, 0x1d, 0x5a, 0x7c, 0x83, 0x26, 0x9d, 0xb0, - 0x25, 0x43, 0xdf, 0x74, 0xd0, 0x35, 0x79, 0xf1, 0x27, 0x10, 0x9a, 0xa3, 0x2c, 0xfc, 0x5a, 0x7c, - 0x86, 0x90, 0x55, 0xb2, 0x14, 0xae, 0xae, 0xc0, 0x92, 0x7f, 0x49, 0x2f, 0x9d, 0xf2, 0x1f, 0xc9, - 0xe2, 0x15, 0x5d, 0x9a, 0x4a, 0x52, 0x53, 0xee, 0x26, 0xdc, 0x59, 0x35, 0xa3, 0x6e, 0xcb, 0x5f, - 0x6e, 0xa5, 0x72, 0xeb, 0x3a, 0xa3, 0xb9, 0xd9, 0xb0, 0x86, 0x65, 0xfe, 0xd3, 0x2e, 0x56, 0x1a, - 0xb6, 0x6f, 0x47, 0xd9, 0xd0, 0x13, 0xd7, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x56, 0xbf, 0xd4, - 0xf2, 0x36, 0x02, 0x00, 0x00, +var File_flow_legacy_entities_block_proto protoreflect.FileDescriptor + +const file_flow_legacy_entities_block_proto_rawDesc = "" + + "\n" + + " flow/legacy/entities/block.proto\x12\bentities\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%flow/legacy/entities/collection.proto\x1a%flow/legacy/entities/block_seal.proto\"\xb0\x02\n" + + "\x05Block\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x12\x1b\n" + + "\tparent_id\x18\x02 \x01(\fR\bparentId\x12\x16\n" + + "\x06height\x18\x03 \x01(\x04R\x06height\x128\n" + + "\ttimestamp\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestamp\x12R\n" + + "\x15collection_guarantees\x18\x05 \x03(\v2\x1d.entities.CollectionGuaranteeR\x14collectionGuarantees\x124\n" + + "\vblock_seals\x18\x06 \x03(\v2\x13.entities.BlockSealR\n" + + "blockSeals\x12\x1e\n" + + "\n" + + "signatures\x18\a \x03(\fR\n" + + "signaturesB^\n" + + "#org.onflow.protobuf.legacy.entitiesZ7github.com/onflow/flow/protobuf/go/flow/legacy/entitiesb\x06proto3" + +var ( + file_flow_legacy_entities_block_proto_rawDescOnce sync.Once + file_flow_legacy_entities_block_proto_rawDescData []byte +) + +func file_flow_legacy_entities_block_proto_rawDescGZIP() []byte { + file_flow_legacy_entities_block_proto_rawDescOnce.Do(func() { + file_flow_legacy_entities_block_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_block_proto_rawDesc), len(file_flow_legacy_entities_block_proto_rawDesc))) + }) + return file_flow_legacy_entities_block_proto_rawDescData +} + +var file_flow_legacy_entities_block_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flow_legacy_entities_block_proto_goTypes = []any{ + (*Block)(nil), // 0: entities.Block + (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp + (*CollectionGuarantee)(nil), // 2: entities.CollectionGuarantee + (*BlockSeal)(nil), // 3: entities.BlockSeal +} +var file_flow_legacy_entities_block_proto_depIdxs = []int32{ + 1, // 0: entities.Block.timestamp:type_name -> google.protobuf.Timestamp + 2, // 1: entities.Block.collection_guarantees:type_name -> entities.CollectionGuarantee + 3, // 2: entities.Block.block_seals:type_name -> entities.BlockSeal + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_flow_legacy_entities_block_proto_init() } +func file_flow_legacy_entities_block_proto_init() { + if File_flow_legacy_entities_block_proto != nil { + return + } + file_flow_legacy_entities_collection_proto_init() + file_flow_legacy_entities_block_seal_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_block_proto_rawDesc), len(file_flow_legacy_entities_block_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_legacy_entities_block_proto_goTypes, + DependencyIndexes: file_flow_legacy_entities_block_proto_depIdxs, + MessageInfos: file_flow_legacy_entities_block_proto_msgTypes, + }.Build() + File_flow_legacy_entities_block_proto = out.File + file_flow_legacy_entities_block_proto_goTypes = nil + file_flow_legacy_entities_block_proto_depIdxs = nil } diff --git a/protobuf/go/flow/legacy/entities/block_header.pb.go b/protobuf/go/flow/legacy/entities/block_header.pb.go index b23b57967..faa1bb3ec 100644 --- a/protobuf/go/flow/legacy/entities/block_header.pb.go +++ b/protobuf/go/flow/legacy/entities/block_header.pb.go @@ -1,112 +1,153 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/legacy/entities/block_header.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - math "math" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type BlockHeader struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - ParentId []byte `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` - Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` - Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + ParentId []byte `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` + Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` + Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *BlockHeader) Reset() { *m = BlockHeader{} } -func (m *BlockHeader) String() string { return proto.CompactTextString(m) } -func (*BlockHeader) ProtoMessage() {} -func (*BlockHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_57ffa47d11182ad6, []int{0} +func (x *BlockHeader) Reset() { + *x = BlockHeader{} + mi := &file_flow_legacy_entities_block_header_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *BlockHeader) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockHeader.Unmarshal(m, b) -} -func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockHeader.Marshal(b, m, deterministic) -} -func (m *BlockHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockHeader.Merge(m, src) +func (x *BlockHeader) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockHeader) XXX_Size() int { - return xxx_messageInfo_BlockHeader.Size(m) -} -func (m *BlockHeader) XXX_DiscardUnknown() { - xxx_messageInfo_BlockHeader.DiscardUnknown(m) + +func (*BlockHeader) ProtoMessage() {} + +func (x *BlockHeader) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_entities_block_header_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlockHeader proto.InternalMessageInfo +// Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead. +func (*BlockHeader) Descriptor() ([]byte, []int) { + return file_flow_legacy_entities_block_header_proto_rawDescGZIP(), []int{0} +} -func (m *BlockHeader) GetId() []byte { - if m != nil { - return m.Id +func (x *BlockHeader) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *BlockHeader) GetParentId() []byte { - if m != nil { - return m.ParentId +func (x *BlockHeader) GetParentId() []byte { + if x != nil { + return x.ParentId } return nil } -func (m *BlockHeader) GetHeight() uint64 { - if m != nil { - return m.Height +func (x *BlockHeader) GetHeight() uint64 { + if x != nil { + return x.Height } return 0 } -func (m *BlockHeader) GetTimestamp() *timestamppb.Timestamp { - if m != nil { - return m.Timestamp +func (x *BlockHeader) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp } return nil } -func init() { - proto.RegisterType((*BlockHeader)(nil), "entities.BlockHeader") +var File_flow_legacy_entities_block_header_proto protoreflect.FileDescriptor + +const file_flow_legacy_entities_block_header_proto_rawDesc = "" + + "\n" + + "'flow/legacy/entities/block_header.proto\x12\bentities\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8c\x01\n" + + "\vBlockHeader\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x12\x1b\n" + + "\tparent_id\x18\x02 \x01(\fR\bparentId\x12\x16\n" + + "\x06height\x18\x03 \x01(\x04R\x06height\x128\n" + + "\ttimestamp\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestampB^\n" + + "#org.onflow.protobuf.legacy.entitiesZ7github.com/onflow/flow/protobuf/go/flow/legacy/entitiesb\x06proto3" + +var ( + file_flow_legacy_entities_block_header_proto_rawDescOnce sync.Once + file_flow_legacy_entities_block_header_proto_rawDescData []byte +) + +func file_flow_legacy_entities_block_header_proto_rawDescGZIP() []byte { + file_flow_legacy_entities_block_header_proto_rawDescOnce.Do(func() { + file_flow_legacy_entities_block_header_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_block_header_proto_rawDesc), len(file_flow_legacy_entities_block_header_proto_rawDesc))) + }) + return file_flow_legacy_entities_block_header_proto_rawDescData } -func init() { - proto.RegisterFile("flow/legacy/entities/block_header.proto", fileDescriptor_57ffa47d11182ad6) +var file_flow_legacy_entities_block_header_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flow_legacy_entities_block_header_proto_goTypes = []any{ + (*BlockHeader)(nil), // 0: entities.BlockHeader + (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp +} +var file_flow_legacy_entities_block_header_proto_depIdxs = []int32{ + 1, // 0: entities.BlockHeader.timestamp:type_name -> google.protobuf.Timestamp + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name } -var fileDescriptor_57ffa47d11182ad6 = []byte{ - // 239 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x86, 0xe5, 0x50, 0x55, 0xad, 0x8b, 0x18, 0x3c, 0xa0, 0xa8, 0x0c, 0x44, 0x30, 0x90, 0xc9, - 0x96, 0x60, 0x80, 0xb9, 0x13, 0xac, 0x11, 0x13, 0x03, 0x55, 0x12, 0x5f, 0x9d, 0x13, 0x49, 0x2e, - 0x4a, 0xaf, 0x42, 0xbc, 0x03, 0x0f, 0x8d, 0x6a, 0xe3, 0x66, 0xe9, 0x62, 0xc9, 0xbf, 0x3f, 0x9d, - 0xff, 0xef, 0xe4, 0xc3, 0xae, 0xa5, 0x6f, 0xd3, 0x82, 0x2b, 0xeb, 0x1f, 0x03, 0x3d, 0x23, 0x23, - 0xec, 0x4d, 0xd5, 0x52, 0xfd, 0xb5, 0x6d, 0xa0, 0xb4, 0x30, 0xea, 0x61, 0x24, 0x26, 0xb5, 0x88, - 0x8f, 0xeb, 0x5b, 0x47, 0xe4, 0x5a, 0x30, 0x3e, 0xaf, 0x0e, 0x3b, 0xc3, 0xd8, 0xc1, 0x9e, 0xcb, - 0x6e, 0x08, 0xe8, 0xdd, 0xaf, 0x90, 0xab, 0xcd, 0x71, 0xc2, 0xab, 0x1f, 0xa0, 0xae, 0x64, 0x82, - 0x36, 0x15, 0x99, 0xc8, 0x2f, 0x8b, 0x04, 0xad, 0xba, 0x91, 0xcb, 0xa1, 0x1c, 0xa1, 0xe7, 0x2d, - 0xda, 0x34, 0xf1, 0xf1, 0x22, 0x04, 0x6f, 0x56, 0x5d, 0xcb, 0x79, 0x03, 0xe8, 0x1a, 0x4e, 0x2f, - 0x32, 0x91, 0xcf, 0x8a, 0xff, 0x9b, 0x7a, 0x91, 0xcb, 0xd3, 0x3f, 0xe9, 0x2c, 0x13, 0xf9, 0xea, - 0x71, 0xad, 0x43, 0x13, 0x1d, 0x9b, 0xe8, 0xf7, 0x48, 0x14, 0x13, 0xbc, 0xf9, 0x94, 0xf7, 0x34, - 0x3a, 0x4d, 0xfd, 0x51, 0x75, 0x62, 0x83, 0xb3, 0x8e, 0x5a, 0x1f, 0xcf, 0x0e, 0xb9, 0x39, 0x54, - 0xba, 0xa6, 0xce, 0x04, 0xd6, 0xf8, 0xe3, 0xa4, 0xe9, 0xc8, 0x9c, 0x5b, 0x56, 0x35, 0xf7, 0xc4, - 0xd3, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xde, 0xe8, 0x2c, 0xcb, 0x4b, 0x01, 0x00, 0x00, +func init() { file_flow_legacy_entities_block_header_proto_init() } +func file_flow_legacy_entities_block_header_proto_init() { + if File_flow_legacy_entities_block_header_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_block_header_proto_rawDesc), len(file_flow_legacy_entities_block_header_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_legacy_entities_block_header_proto_goTypes, + DependencyIndexes: file_flow_legacy_entities_block_header_proto_depIdxs, + MessageInfos: file_flow_legacy_entities_block_header_proto_msgTypes, + }.Build() + File_flow_legacy_entities_block_header_proto = out.File + file_flow_legacy_entities_block_header_proto_goTypes = nil + file_flow_legacy_entities_block_header_proto_depIdxs = nil } diff --git a/protobuf/go/flow/legacy/entities/block_seal.pb.go b/protobuf/go/flow/legacy/entities/block_seal.pb.go index 158bd16a4..de7e950fc 100644 --- a/protobuf/go/flow/legacy/entities/block_seal.pb.go +++ b/protobuf/go/flow/legacy/entities/block_seal.pb.go @@ -1,112 +1,150 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/legacy/entities/block_seal.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type BlockSeal struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - ExecutionReceiptId []byte `protobuf:"bytes,2,opt,name=execution_receipt_id,json=executionReceiptId,proto3" json:"execution_receipt_id,omitempty"` - ExecutionReceiptSignatures [][]byte `protobuf:"bytes,3,rep,name=execution_receipt_signatures,json=executionReceiptSignatures,proto3" json:"execution_receipt_signatures,omitempty"` - ResultApprovalSignatures [][]byte `protobuf:"bytes,4,rep,name=result_approval_signatures,json=resultApprovalSignatures,proto3" json:"result_approval_signatures,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + ExecutionReceiptId []byte `protobuf:"bytes,2,opt,name=execution_receipt_id,json=executionReceiptId,proto3" json:"execution_receipt_id,omitempty"` + ExecutionReceiptSignatures [][]byte `protobuf:"bytes,3,rep,name=execution_receipt_signatures,json=executionReceiptSignatures,proto3" json:"execution_receipt_signatures,omitempty"` + ResultApprovalSignatures [][]byte `protobuf:"bytes,4,rep,name=result_approval_signatures,json=resultApprovalSignatures,proto3" json:"result_approval_signatures,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *BlockSeal) Reset() { *m = BlockSeal{} } -func (m *BlockSeal) String() string { return proto.CompactTextString(m) } -func (*BlockSeal) ProtoMessage() {} -func (*BlockSeal) Descriptor() ([]byte, []int) { - return fileDescriptor_951535fdf2985bf3, []int{0} +func (x *BlockSeal) Reset() { + *x = BlockSeal{} + mi := &file_flow_legacy_entities_block_seal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *BlockSeal) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockSeal.Unmarshal(m, b) -} -func (m *BlockSeal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockSeal.Marshal(b, m, deterministic) -} -func (m *BlockSeal) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockSeal.Merge(m, src) +func (x *BlockSeal) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BlockSeal) XXX_Size() int { - return xxx_messageInfo_BlockSeal.Size(m) -} -func (m *BlockSeal) XXX_DiscardUnknown() { - xxx_messageInfo_BlockSeal.DiscardUnknown(m) + +func (*BlockSeal) ProtoMessage() {} + +func (x *BlockSeal) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_entities_block_seal_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BlockSeal proto.InternalMessageInfo +// Deprecated: Use BlockSeal.ProtoReflect.Descriptor instead. +func (*BlockSeal) Descriptor() ([]byte, []int) { + return file_flow_legacy_entities_block_seal_proto_rawDescGZIP(), []int{0} +} -func (m *BlockSeal) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *BlockSeal) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *BlockSeal) GetExecutionReceiptId() []byte { - if m != nil { - return m.ExecutionReceiptId +func (x *BlockSeal) GetExecutionReceiptId() []byte { + if x != nil { + return x.ExecutionReceiptId } return nil } -func (m *BlockSeal) GetExecutionReceiptSignatures() [][]byte { - if m != nil { - return m.ExecutionReceiptSignatures +func (x *BlockSeal) GetExecutionReceiptSignatures() [][]byte { + if x != nil { + return x.ExecutionReceiptSignatures } return nil } -func (m *BlockSeal) GetResultApprovalSignatures() [][]byte { - if m != nil { - return m.ResultApprovalSignatures +func (x *BlockSeal) GetResultApprovalSignatures() [][]byte { + if x != nil { + return x.ResultApprovalSignatures } return nil } -func init() { - proto.RegisterType((*BlockSeal)(nil), "entities.BlockSeal") +var File_flow_legacy_entities_block_seal_proto protoreflect.FileDescriptor + +const file_flow_legacy_entities_block_seal_proto_rawDesc = "" + + "\n" + + "%flow/legacy/entities/block_seal.proto\x12\bentities\"\xd8\x01\n" + + "\tBlockSeal\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x120\n" + + "\x14execution_receipt_id\x18\x02 \x01(\fR\x12executionReceiptId\x12@\n" + + "\x1cexecution_receipt_signatures\x18\x03 \x03(\fR\x1aexecutionReceiptSignatures\x12<\n" + + "\x1aresult_approval_signatures\x18\x04 \x03(\fR\x18resultApprovalSignaturesB^\n" + + "#org.onflow.protobuf.legacy.entitiesZ7github.com/onflow/flow/protobuf/go/flow/legacy/entitiesb\x06proto3" + +var ( + file_flow_legacy_entities_block_seal_proto_rawDescOnce sync.Once + file_flow_legacy_entities_block_seal_proto_rawDescData []byte +) + +func file_flow_legacy_entities_block_seal_proto_rawDescGZIP() []byte { + file_flow_legacy_entities_block_seal_proto_rawDescOnce.Do(func() { + file_flow_legacy_entities_block_seal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_block_seal_proto_rawDesc), len(file_flow_legacy_entities_block_seal_proto_rawDesc))) + }) + return file_flow_legacy_entities_block_seal_proto_rawDescData } -func init() { - proto.RegisterFile("flow/legacy/entities/block_seal.proto", fileDescriptor_951535fdf2985bf3) +var file_flow_legacy_entities_block_seal_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flow_legacy_entities_block_seal_proto_goTypes = []any{ + (*BlockSeal)(nil), // 0: entities.BlockSeal +} +var file_flow_legacy_entities_block_seal_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } -var fileDescriptor_951535fdf2985bf3 = []byte{ - // 244 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x3f, 0x4f, 0xc3, 0x30, - 0x10, 0x47, 0x15, 0x8a, 0xa0, 0x58, 0x9d, 0x2c, 0x86, 0x50, 0x31, 0x54, 0x20, 0xa4, 0x4e, 0x36, - 0x12, 0x03, 0x0b, 0x03, 0x74, 0xeb, 0x9a, 0x6e, 0x0c, 0x44, 0x8e, 0x73, 0x35, 0x16, 0x26, 0x17, - 0xd9, 0x67, 0xfe, 0x7c, 0x53, 0x3e, 0x0e, 0x8a, 0x4d, 0x0a, 0x02, 0x16, 0x4b, 0xd6, 0xef, 0xbd, - 0xe1, 0x1e, 0xbb, 0xd8, 0x3a, 0x7c, 0x95, 0x0e, 0x8c, 0xd2, 0xef, 0x12, 0x3a, 0xb2, 0x64, 0x21, - 0xc8, 0xc6, 0xa1, 0x7e, 0xaa, 0x03, 0x28, 0x27, 0x7a, 0x8f, 0x84, 0x7c, 0x3a, 0x4e, 0x67, 0x1f, - 0x05, 0x3b, 0x5a, 0x0d, 0xf3, 0x06, 0x94, 0xe3, 0x27, 0x6c, 0x9a, 0x59, 0xdb, 0x96, 0xc5, 0xa2, - 0x58, 0xce, 0xaa, 0xc3, 0xf4, 0x5f, 0xb7, 0xfc, 0x92, 0x1d, 0xc3, 0x1b, 0xe8, 0x48, 0x16, 0xbb, - 0xda, 0x83, 0x06, 0xdb, 0xd3, 0x80, 0xed, 0x25, 0x8c, 0xef, 0xb6, 0x2a, 0x4f, 0xeb, 0x96, 0xdf, - 0xb2, 0xd3, 0xbf, 0x46, 0xb0, 0xa6, 0x53, 0x14, 0x3d, 0x84, 0x72, 0xb2, 0x98, 0x2c, 0x67, 0xd5, - 0xfc, 0xb7, 0xb9, 0xd9, 0x11, 0xfc, 0x86, 0xcd, 0x3d, 0x84, 0xe8, 0xa8, 0x56, 0x7d, 0xef, 0xf1, - 0x45, 0xb9, 0x9f, 0xfe, 0x7e, 0xf2, 0xcb, 0x4c, 0xdc, 0x7d, 0x01, 0xdf, 0xf6, 0xea, 0x81, 0x9d, - 0xa3, 0x37, 0x02, 0xbb, 0xa1, 0x49, 0x3e, 0xbc, 0x89, 0x5b, 0x91, 0xe3, 0x88, 0xb1, 0xc0, 0xfd, - 0xb5, 0xb1, 0xf4, 0x18, 0x1b, 0xa1, 0xf1, 0x59, 0x66, 0x56, 0xa6, 0x67, 0x14, 0xa4, 0x41, 0xf9, - 0x5f, 0xd5, 0xe6, 0x20, 0x11, 0x57, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x09, 0xa9, 0x0e, 0x8f, - 0x74, 0x01, 0x00, 0x00, +func init() { file_flow_legacy_entities_block_seal_proto_init() } +func file_flow_legacy_entities_block_seal_proto_init() { + if File_flow_legacy_entities_block_seal_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_block_seal_proto_rawDesc), len(file_flow_legacy_entities_block_seal_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_legacy_entities_block_seal_proto_goTypes, + DependencyIndexes: file_flow_legacy_entities_block_seal_proto_depIdxs, + MessageInfos: file_flow_legacy_entities_block_seal_proto_msgTypes, + }.Build() + File_flow_legacy_entities_block_seal_proto = out.File + file_flow_legacy_entities_block_seal_proto_goTypes = nil + file_flow_legacy_entities_block_seal_proto_depIdxs = nil } diff --git a/protobuf/go/flow/legacy/entities/collection.pb.go b/protobuf/go/flow/legacy/entities/collection.pb.go index be387eb60..84d668273 100644 --- a/protobuf/go/flow/legacy/entities/collection.pb.go +++ b/protobuf/go/flow/legacy/entities/collection.pb.go @@ -1,142 +1,191 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/legacy/entities/collection.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type Collection struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - TransactionIds [][]byte `protobuf:"bytes,2,rep,name=transaction_ids,json=transactionIds,proto3" json:"transaction_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + TransactionIds [][]byte `protobuf:"bytes,2,rep,name=transaction_ids,json=transactionIds,proto3" json:"transaction_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Collection) Reset() { *m = Collection{} } -func (m *Collection) String() string { return proto.CompactTextString(m) } -func (*Collection) ProtoMessage() {} -func (*Collection) Descriptor() ([]byte, []int) { - return fileDescriptor_183c1b49c6bdeaf1, []int{0} +func (x *Collection) Reset() { + *x = Collection{} + mi := &file_flow_legacy_entities_collection_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Collection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Collection.Unmarshal(m, b) -} -func (m *Collection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Collection.Marshal(b, m, deterministic) -} -func (m *Collection) XXX_Merge(src proto.Message) { - xxx_messageInfo_Collection.Merge(m, src) -} -func (m *Collection) XXX_Size() int { - return xxx_messageInfo_Collection.Size(m) +func (x *Collection) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Collection) XXX_DiscardUnknown() { - xxx_messageInfo_Collection.DiscardUnknown(m) + +func (*Collection) ProtoMessage() {} + +func (x *Collection) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_entities_collection_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Collection proto.InternalMessageInfo +// Deprecated: Use Collection.ProtoReflect.Descriptor instead. +func (*Collection) Descriptor() ([]byte, []int) { + return file_flow_legacy_entities_collection_proto_rawDescGZIP(), []int{0} +} -func (m *Collection) GetId() []byte { - if m != nil { - return m.Id +func (x *Collection) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *Collection) GetTransactionIds() [][]byte { - if m != nil { - return m.TransactionIds +func (x *Collection) GetTransactionIds() [][]byte { + if x != nil { + return x.TransactionIds } return nil } type CollectionGuarantee struct { - CollectionId []byte `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` - Signatures [][]byte `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + CollectionId []byte `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` + Signatures [][]byte `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *CollectionGuarantee) Reset() { *m = CollectionGuarantee{} } -func (m *CollectionGuarantee) String() string { return proto.CompactTextString(m) } -func (*CollectionGuarantee) ProtoMessage() {} -func (*CollectionGuarantee) Descriptor() ([]byte, []int) { - return fileDescriptor_183c1b49c6bdeaf1, []int{1} +func (x *CollectionGuarantee) Reset() { + *x = CollectionGuarantee{} + mi := &file_flow_legacy_entities_collection_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *CollectionGuarantee) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CollectionGuarantee.Unmarshal(m, b) +func (x *CollectionGuarantee) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CollectionGuarantee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CollectionGuarantee.Marshal(b, m, deterministic) -} -func (m *CollectionGuarantee) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectionGuarantee.Merge(m, src) -} -func (m *CollectionGuarantee) XXX_Size() int { - return xxx_messageInfo_CollectionGuarantee.Size(m) -} -func (m *CollectionGuarantee) XXX_DiscardUnknown() { - xxx_messageInfo_CollectionGuarantee.DiscardUnknown(m) + +func (*CollectionGuarantee) ProtoMessage() {} + +func (x *CollectionGuarantee) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_entities_collection_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CollectionGuarantee proto.InternalMessageInfo +// Deprecated: Use CollectionGuarantee.ProtoReflect.Descriptor instead. +func (*CollectionGuarantee) Descriptor() ([]byte, []int) { + return file_flow_legacy_entities_collection_proto_rawDescGZIP(), []int{1} +} -func (m *CollectionGuarantee) GetCollectionId() []byte { - if m != nil { - return m.CollectionId +func (x *CollectionGuarantee) GetCollectionId() []byte { + if x != nil { + return x.CollectionId } return nil } -func (m *CollectionGuarantee) GetSignatures() [][]byte { - if m != nil { - return m.Signatures +func (x *CollectionGuarantee) GetSignatures() [][]byte { + if x != nil { + return x.Signatures } return nil } -func init() { - proto.RegisterType((*Collection)(nil), "entities.Collection") - proto.RegisterType((*CollectionGuarantee)(nil), "entities.CollectionGuarantee") +var File_flow_legacy_entities_collection_proto protoreflect.FileDescriptor + +const file_flow_legacy_entities_collection_proto_rawDesc = "" + + "\n" + + "%flow/legacy/entities/collection.proto\x12\bentities\"E\n" + + "\n" + + "Collection\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x12'\n" + + "\x0ftransaction_ids\x18\x02 \x03(\fR\x0etransactionIds\"Z\n" + + "\x13CollectionGuarantee\x12#\n" + + "\rcollection_id\x18\x01 \x01(\fR\fcollectionId\x12\x1e\n" + + "\n" + + "signatures\x18\x02 \x03(\fR\n" + + "signaturesB^\n" + + "#org.onflow.protobuf.legacy.entitiesZ7github.com/onflow/flow/protobuf/go/flow/legacy/entitiesb\x06proto3" + +var ( + file_flow_legacy_entities_collection_proto_rawDescOnce sync.Once + file_flow_legacy_entities_collection_proto_rawDescData []byte +) + +func file_flow_legacy_entities_collection_proto_rawDescGZIP() []byte { + file_flow_legacy_entities_collection_proto_rawDescOnce.Do(func() { + file_flow_legacy_entities_collection_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_collection_proto_rawDesc), len(file_flow_legacy_entities_collection_proto_rawDesc))) + }) + return file_flow_legacy_entities_collection_proto_rawDescData } -func init() { - proto.RegisterFile("flow/legacy/entities/collection.proto", fileDescriptor_183c1b49c6bdeaf1) +var file_flow_legacy_entities_collection_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_flow_legacy_entities_collection_proto_goTypes = []any{ + (*Collection)(nil), // 0: entities.Collection + (*CollectionGuarantee)(nil), // 1: entities.CollectionGuarantee +} +var file_flow_legacy_entities_collection_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } -var fileDescriptor_183c1b49c6bdeaf1 = []byte{ - // 218 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x31, 0x4b, 0x04, 0x31, - 0x10, 0x85, 0xb9, 0x15, 0x44, 0x86, 0xf5, 0x84, 0xd8, 0x5c, 0x25, 0xc7, 0x1d, 0xe2, 0x55, 0x49, - 0x61, 0x61, 0xaf, 0x88, 0x5c, 0x7b, 0xe5, 0x15, 0x1e, 0xd9, 0x24, 0x17, 0x07, 0x62, 0x46, 0x92, - 0x09, 0xe2, 0xbf, 0x17, 0x77, 0xc9, 0xee, 0x16, 0x36, 0x53, 0xbc, 0xf7, 0xe6, 0x0d, 0xdf, 0xc0, - 0xfd, 0x39, 0xd0, 0xb7, 0x0a, 0xce, 0x6b, 0xf3, 0xa3, 0x5c, 0x64, 0x64, 0x74, 0x59, 0x19, 0x0a, - 0xc1, 0x19, 0x46, 0x8a, 0xf2, 0x2b, 0x11, 0x93, 0xb8, 0xaa, 0xd6, 0xe6, 0x15, 0xe0, 0x65, 0x74, - 0xc5, 0x12, 0x1a, 0xb4, 0xab, 0xc5, 0x7a, 0xb1, 0x6b, 0x0f, 0x0d, 0x5a, 0xf1, 0x00, 0x37, 0x9c, - 0x74, 0xcc, 0xba, 0xb7, 0x4f, 0x68, 0xf3, 0xaa, 0x59, 0x5f, 0xec, 0xda, 0xc3, 0x72, 0x26, 0xef, - 0x6d, 0xde, 0x1c, 0xe1, 0x76, 0xaa, 0x79, 0x2b, 0x3a, 0xe9, 0xc8, 0xce, 0x89, 0x2d, 0x5c, 0x4f, - 0xb7, 0x4f, 0x63, 0x75, 0x3b, 0x89, 0x7b, 0x2b, 0xee, 0x00, 0x32, 0xfa, 0xa8, 0xb9, 0x24, 0x57, - 0xfb, 0x67, 0xca, 0xf3, 0x3b, 0x6c, 0x29, 0x79, 0x49, 0xf1, 0x8f, 0x6d, 0x00, 0xe8, 0xca, 0x59, - 0x0e, 0x90, 0xb2, 0x92, 0x1c, 0x9f, 0x3c, 0xf2, 0x47, 0xe9, 0xa4, 0xa1, 0x4f, 0x35, 0x64, 0x55, - 0x3f, 0xea, 0x82, 0xf2, 0xa4, 0xfe, 0xfb, 0x4e, 0x77, 0xd9, 0x27, 0x1e, 0x7f, 0x03, 0x00, 0x00, - 0xff, 0xff, 0x72, 0x6e, 0x26, 0x3a, 0x3c, 0x01, 0x00, 0x00, +func init() { file_flow_legacy_entities_collection_proto_init() } +func file_flow_legacy_entities_collection_proto_init() { + if File_flow_legacy_entities_collection_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_collection_proto_rawDesc), len(file_flow_legacy_entities_collection_proto_rawDesc)), + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_legacy_entities_collection_proto_goTypes, + DependencyIndexes: file_flow_legacy_entities_collection_proto_depIdxs, + MessageInfos: file_flow_legacy_entities_collection_proto_msgTypes, + }.Build() + File_flow_legacy_entities_collection_proto = out.File + file_flow_legacy_entities_collection_proto_goTypes = nil + file_flow_legacy_entities_collection_proto_depIdxs = nil } diff --git a/protobuf/go/flow/legacy/entities/event.pb.go b/protobuf/go/flow/legacy/entities/event.pb.go index b369c7e3f..2faf652b7 100644 --- a/protobuf/go/flow/legacy/entities/event.pb.go +++ b/protobuf/go/flow/legacy/entities/event.pb.go @@ -1,116 +1,160 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/legacy/entities/event.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type Event struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` - TransactionIndex uint32 `protobuf:"varint,3,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` - EventIndex uint32 `protobuf:"varint,4,opt,name=event_index,json=eventIndex,proto3" json:"event_index,omitempty"` - Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + TransactionIndex uint32 `protobuf:"varint,3,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` + EventIndex uint32 `protobuf:"varint,4,opt,name=event_index,json=eventIndex,proto3" json:"event_index,omitempty"` + Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Event) Reset() { *m = Event{} } -func (m *Event) String() string { return proto.CompactTextString(m) } -func (*Event) ProtoMessage() {} -func (*Event) Descriptor() ([]byte, []int) { - return fileDescriptor_660da12406c4b12a, []int{0} +func (x *Event) Reset() { + *x = Event{} + mi := &file_flow_legacy_entities_event_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Event) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Event.Unmarshal(m, b) -} -func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Event.Marshal(b, m, deterministic) -} -func (m *Event) XXX_Merge(src proto.Message) { - xxx_messageInfo_Event.Merge(m, src) +func (x *Event) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Event) XXX_Size() int { - return xxx_messageInfo_Event.Size(m) -} -func (m *Event) XXX_DiscardUnknown() { - xxx_messageInfo_Event.DiscardUnknown(m) + +func (*Event) ProtoMessage() {} + +func (x *Event) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_entities_event_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Event proto.InternalMessageInfo +// Deprecated: Use Event.ProtoReflect.Descriptor instead. +func (*Event) Descriptor() ([]byte, []int) { + return file_flow_legacy_entities_event_proto_rawDescGZIP(), []int{0} +} -func (m *Event) GetType() string { - if m != nil { - return m.Type +func (x *Event) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *Event) GetTransactionId() []byte { - if m != nil { - return m.TransactionId +func (x *Event) GetTransactionId() []byte { + if x != nil { + return x.TransactionId } return nil } -func (m *Event) GetTransactionIndex() uint32 { - if m != nil { - return m.TransactionIndex +func (x *Event) GetTransactionIndex() uint32 { + if x != nil { + return x.TransactionIndex } return 0 } -func (m *Event) GetEventIndex() uint32 { - if m != nil { - return m.EventIndex +func (x *Event) GetEventIndex() uint32 { + if x != nil { + return x.EventIndex } return 0 } -func (m *Event) GetPayload() []byte { - if m != nil { - return m.Payload +func (x *Event) GetPayload() []byte { + if x != nil { + return x.Payload } return nil } -func init() { - proto.RegisterType((*Event)(nil), "entities.Event") +var File_flow_legacy_entities_event_proto protoreflect.FileDescriptor + +const file_flow_legacy_entities_event_proto_rawDesc = "" + + "\n" + + " flow/legacy/entities/event.proto\x12\bentities\"\xaa\x01\n" + + "\x05Event\x12\x12\n" + + "\x04type\x18\x01 \x01(\tR\x04type\x12%\n" + + "\x0etransaction_id\x18\x02 \x01(\fR\rtransactionId\x12+\n" + + "\x11transaction_index\x18\x03 \x01(\rR\x10transactionIndex\x12\x1f\n" + + "\vevent_index\x18\x04 \x01(\rR\n" + + "eventIndex\x12\x18\n" + + "\apayload\x18\x05 \x01(\fR\apayloadB^\n" + + "#org.onflow.protobuf.legacy.entitiesZ7github.com/onflow/flow/protobuf/go/flow/legacy/entitiesb\x06proto3" + +var ( + file_flow_legacy_entities_event_proto_rawDescOnce sync.Once + file_flow_legacy_entities_event_proto_rawDescData []byte +) + +func file_flow_legacy_entities_event_proto_rawDescGZIP() []byte { + file_flow_legacy_entities_event_proto_rawDescOnce.Do(func() { + file_flow_legacy_entities_event_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_event_proto_rawDesc), len(file_flow_legacy_entities_event_proto_rawDesc))) + }) + return file_flow_legacy_entities_event_proto_rawDescData +} + +var file_flow_legacy_entities_event_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_flow_legacy_entities_event_proto_goTypes = []any{ + (*Event)(nil), // 0: entities.Event +} +var file_flow_legacy_entities_event_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } -func init() { proto.RegisterFile("flow/legacy/entities/event.proto", fileDescriptor_660da12406c4b12a) } - -var fileDescriptor_660da12406c4b12a = []byte{ - // 224 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x4d, 0x4b, 0x05, 0x21, - 0x14, 0x40, 0xb1, 0xde, 0xeb, 0xe3, 0xd6, 0x8b, 0x72, 0xe5, 0x2e, 0x29, 0x82, 0x81, 0x40, 0x17, - 0x2d, 0xda, 0x07, 0x2d, 0xda, 0xce, 0xb2, 0x45, 0xe1, 0x8c, 0x3e, 0x13, 0x26, 0xef, 0x30, 0xef, - 0x4e, 0x35, 0x7f, 0xa9, 0x5f, 0x19, 0xa3, 0x09, 0x13, 0xb4, 0x11, 0x3d, 0x1e, 0xd1, 0x23, 0xc8, - 0x6d, 0x87, 0x9f, 0xba, 0x73, 0xde, 0xb4, 0x93, 0x76, 0x91, 0x02, 0x05, 0xb7, 0xd3, 0xee, 0xc3, - 0x45, 0x52, 0xfd, 0x80, 0x84, 0xfc, 0xa8, 0xd0, 0xab, 0x6f, 0x06, 0xeb, 0xc7, 0x79, 0x87, 0x73, - 0x58, 0xd1, 0xd4, 0x3b, 0xc1, 0x24, 0xab, 0x8e, 0xeb, 0x34, 0xe7, 0x37, 0x70, 0x46, 0x83, 0x89, - 0x3b, 0xd3, 0x52, 0xc0, 0xf8, 0x1a, 0xac, 0xd8, 0x93, 0xac, 0x3a, 0xad, 0x37, 0x0b, 0xfa, 0x64, - 0xf9, 0x2d, 0x5c, 0xfc, 0xd1, 0xa2, 0x75, 0x5f, 0x62, 0x5f, 0xb2, 0x6a, 0x53, 0x9f, 0x2f, 0xcd, - 0x99, 0xf3, 0x4b, 0x38, 0x49, 0x4f, 0xf9, 0xd5, 0x56, 0x49, 0x83, 0x84, 0xb2, 0x20, 0xe0, 0xb0, - 0x37, 0x53, 0x87, 0xc6, 0x8a, 0x75, 0xba, 0xad, 0x2c, 0x1f, 0x5e, 0xe0, 0x1a, 0x07, 0xaf, 0x30, - 0xce, 0x81, 0x39, 0xa5, 0x19, 0xb7, 0x2a, 0x97, 0xaa, 0xd2, 0xf4, 0x7c, 0xef, 0x03, 0xbd, 0x8d, - 0x8d, 0x6a, 0xf1, 0x5d, 0x67, 0x57, 0xa7, 0xa1, 0x1c, 0xd0, 0x1e, 0xf5, 0x7f, 0x5f, 0xd4, 0x1c, - 0x24, 0xe3, 0xee, 0x27, 0x00, 0x00, 0xff, 0xff, 0x7e, 0xcd, 0x17, 0x85, 0x41, 0x01, 0x00, 0x00, +func init() { file_flow_legacy_entities_event_proto_init() } +func file_flow_legacy_entities_event_proto_init() { + if File_flow_legacy_entities_event_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_event_proto_rawDesc), len(file_flow_legacy_entities_event_proto_rawDesc)), + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_legacy_entities_event_proto_goTypes, + DependencyIndexes: file_flow_legacy_entities_event_proto_depIdxs, + MessageInfos: file_flow_legacy_entities_event_proto_msgTypes, + }.Build() + File_flow_legacy_entities_event_proto = out.File + file_flow_legacy_entities_event_proto_goTypes = nil + file_flow_legacy_entities_event_proto_depIdxs = nil } diff --git a/protobuf/go/flow/legacy/entities/transaction.pb.go b/protobuf/go/flow/legacy/entities/transaction.pb.go index a6223212b..8bacf4983 100644 --- a/protobuf/go/flow/legacy/entities/transaction.pb.go +++ b/protobuf/go/flow/legacy/entities/transaction.pb.go @@ -1,24 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/legacy/entities/transaction.proto package entities import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type TransactionStatus int32 @@ -31,288 +32,366 @@ const ( TransactionStatus_EXPIRED TransactionStatus = 5 ) -var TransactionStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "PENDING", - 2: "FINALIZED", - 3: "EXECUTED", - 4: "SEALED", - 5: "EXPIRED", -} +// Enum value maps for TransactionStatus. +var ( + TransactionStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "PENDING", + 2: "FINALIZED", + 3: "EXECUTED", + 4: "SEALED", + 5: "EXPIRED", + } + TransactionStatus_value = map[string]int32{ + "UNKNOWN": 0, + "PENDING": 1, + "FINALIZED": 2, + "EXECUTED": 3, + "SEALED": 4, + "EXPIRED": 5, + } +) -var TransactionStatus_value = map[string]int32{ - "UNKNOWN": 0, - "PENDING": 1, - "FINALIZED": 2, - "EXECUTED": 3, - "SEALED": 4, - "EXPIRED": 5, +func (x TransactionStatus) Enum() *TransactionStatus { + p := new(TransactionStatus) + *p = x + return p } func (x TransactionStatus) String() string { - return proto.EnumName(TransactionStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (TransactionStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1525bb76cf88cd72, []int{0} +func (TransactionStatus) Descriptor() protoreflect.EnumDescriptor { + return file_flow_legacy_entities_transaction_proto_enumTypes[0].Descriptor() } -type Transaction struct { - Script []byte `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` - Arguments [][]byte `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` - ReferenceBlockId []byte `protobuf:"bytes,3,opt,name=reference_block_id,json=referenceBlockId,proto3" json:"reference_block_id,omitempty"` - GasLimit uint64 `protobuf:"varint,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` - ProposalKey *Transaction_ProposalKey `protobuf:"bytes,5,opt,name=proposal_key,json=proposalKey,proto3" json:"proposal_key,omitempty"` - Payer []byte `protobuf:"bytes,6,opt,name=payer,proto3" json:"payer,omitempty"` - Authorizers [][]byte `protobuf:"bytes,7,rep,name=authorizers,proto3" json:"authorizers,omitempty"` - PayloadSignatures []*Transaction_Signature `protobuf:"bytes,8,rep,name=payload_signatures,json=payloadSignatures,proto3" json:"payload_signatures,omitempty"` - EnvelopeSignatures []*Transaction_Signature `protobuf:"bytes,9,rep,name=envelope_signatures,json=envelopeSignatures,proto3" json:"envelope_signatures,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Transaction) Reset() { *m = Transaction{} } -func (m *Transaction) String() string { return proto.CompactTextString(m) } -func (*Transaction) ProtoMessage() {} -func (*Transaction) Descriptor() ([]byte, []int) { - return fileDescriptor_1525bb76cf88cd72, []int{0} +func (TransactionStatus) Type() protoreflect.EnumType { + return &file_flow_legacy_entities_transaction_proto_enumTypes[0] } -func (m *Transaction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Transaction.Unmarshal(m, b) +func (x TransactionStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Transaction.Marshal(b, m, deterministic) -} -func (m *Transaction) XXX_Merge(src proto.Message) { - xxx_messageInfo_Transaction.Merge(m, src) -} -func (m *Transaction) XXX_Size() int { - return xxx_messageInfo_Transaction.Size(m) + +// Deprecated: Use TransactionStatus.Descriptor instead. +func (TransactionStatus) EnumDescriptor() ([]byte, []int) { + return file_flow_legacy_entities_transaction_proto_rawDescGZIP(), []int{0} } -func (m *Transaction) XXX_DiscardUnknown() { - xxx_messageInfo_Transaction.DiscardUnknown(m) + +type Transaction struct { + state protoimpl.MessageState `protogen:"open.v1"` + Script []byte `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` + Arguments [][]byte `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` + ReferenceBlockId []byte `protobuf:"bytes,3,opt,name=reference_block_id,json=referenceBlockId,proto3" json:"reference_block_id,omitempty"` + GasLimit uint64 `protobuf:"varint,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` + ProposalKey *Transaction_ProposalKey `protobuf:"bytes,5,opt,name=proposal_key,json=proposalKey,proto3" json:"proposal_key,omitempty"` + Payer []byte `protobuf:"bytes,6,opt,name=payer,proto3" json:"payer,omitempty"` + Authorizers [][]byte `protobuf:"bytes,7,rep,name=authorizers,proto3" json:"authorizers,omitempty"` + PayloadSignatures []*Transaction_Signature `protobuf:"bytes,8,rep,name=payload_signatures,json=payloadSignatures,proto3" json:"payload_signatures,omitempty"` + EnvelopeSignatures []*Transaction_Signature `protobuf:"bytes,9,rep,name=envelope_signatures,json=envelopeSignatures,proto3" json:"envelope_signatures,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Transaction) Reset() { + *x = Transaction{} + mi := &file_flow_legacy_entities_transaction_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Transaction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Transaction) ProtoMessage() {} + +func (x *Transaction) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_entities_transaction_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Transaction proto.InternalMessageInfo +// Deprecated: Use Transaction.ProtoReflect.Descriptor instead. +func (*Transaction) Descriptor() ([]byte, []int) { + return file_flow_legacy_entities_transaction_proto_rawDescGZIP(), []int{0} +} -func (m *Transaction) GetScript() []byte { - if m != nil { - return m.Script +func (x *Transaction) GetScript() []byte { + if x != nil { + return x.Script } return nil } -func (m *Transaction) GetArguments() [][]byte { - if m != nil { - return m.Arguments +func (x *Transaction) GetArguments() [][]byte { + if x != nil { + return x.Arguments } return nil } -func (m *Transaction) GetReferenceBlockId() []byte { - if m != nil { - return m.ReferenceBlockId +func (x *Transaction) GetReferenceBlockId() []byte { + if x != nil { + return x.ReferenceBlockId } return nil } -func (m *Transaction) GetGasLimit() uint64 { - if m != nil { - return m.GasLimit +func (x *Transaction) GetGasLimit() uint64 { + if x != nil { + return x.GasLimit } return 0 } -func (m *Transaction) GetProposalKey() *Transaction_ProposalKey { - if m != nil { - return m.ProposalKey +func (x *Transaction) GetProposalKey() *Transaction_ProposalKey { + if x != nil { + return x.ProposalKey } return nil } -func (m *Transaction) GetPayer() []byte { - if m != nil { - return m.Payer +func (x *Transaction) GetPayer() []byte { + if x != nil { + return x.Payer } return nil } -func (m *Transaction) GetAuthorizers() [][]byte { - if m != nil { - return m.Authorizers +func (x *Transaction) GetAuthorizers() [][]byte { + if x != nil { + return x.Authorizers } return nil } -func (m *Transaction) GetPayloadSignatures() []*Transaction_Signature { - if m != nil { - return m.PayloadSignatures +func (x *Transaction) GetPayloadSignatures() []*Transaction_Signature { + if x != nil { + return x.PayloadSignatures } return nil } -func (m *Transaction) GetEnvelopeSignatures() []*Transaction_Signature { - if m != nil { - return m.EnvelopeSignatures +func (x *Transaction) GetEnvelopeSignatures() []*Transaction_Signature { + if x != nil { + return x.EnvelopeSignatures } return nil } type Transaction_ProposalKey struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` - SequenceNumber uint64 `protobuf:"varint,3,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + SequenceNumber uint64 `protobuf:"varint,3,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Transaction_ProposalKey) Reset() { *m = Transaction_ProposalKey{} } -func (m *Transaction_ProposalKey) String() string { return proto.CompactTextString(m) } -func (*Transaction_ProposalKey) ProtoMessage() {} -func (*Transaction_ProposalKey) Descriptor() ([]byte, []int) { - return fileDescriptor_1525bb76cf88cd72, []int{0, 0} +func (x *Transaction_ProposalKey) Reset() { + *x = Transaction_ProposalKey{} + mi := &file_flow_legacy_entities_transaction_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Transaction_ProposalKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Transaction_ProposalKey.Unmarshal(m, b) +func (x *Transaction_ProposalKey) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Transaction_ProposalKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Transaction_ProposalKey.Marshal(b, m, deterministic) -} -func (m *Transaction_ProposalKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_Transaction_ProposalKey.Merge(m, src) -} -func (m *Transaction_ProposalKey) XXX_Size() int { - return xxx_messageInfo_Transaction_ProposalKey.Size(m) -} -func (m *Transaction_ProposalKey) XXX_DiscardUnknown() { - xxx_messageInfo_Transaction_ProposalKey.DiscardUnknown(m) + +func (*Transaction_ProposalKey) ProtoMessage() {} + +func (x *Transaction_ProposalKey) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_entities_transaction_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Transaction_ProposalKey proto.InternalMessageInfo +// Deprecated: Use Transaction_ProposalKey.ProtoReflect.Descriptor instead. +func (*Transaction_ProposalKey) Descriptor() ([]byte, []int) { + return file_flow_legacy_entities_transaction_proto_rawDescGZIP(), []int{0, 0} +} -func (m *Transaction_ProposalKey) GetAddress() []byte { - if m != nil { - return m.Address +func (x *Transaction_ProposalKey) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *Transaction_ProposalKey) GetKeyId() uint32 { - if m != nil { - return m.KeyId +func (x *Transaction_ProposalKey) GetKeyId() uint32 { + if x != nil { + return x.KeyId } return 0 } -func (m *Transaction_ProposalKey) GetSequenceNumber() uint64 { - if m != nil { - return m.SequenceNumber +func (x *Transaction_ProposalKey) GetSequenceNumber() uint64 { + if x != nil { + return x.SequenceNumber } return 0 } type Transaction_Signature struct { - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` - Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *Transaction_Signature) Reset() { *m = Transaction_Signature{} } -func (m *Transaction_Signature) String() string { return proto.CompactTextString(m) } -func (*Transaction_Signature) ProtoMessage() {} -func (*Transaction_Signature) Descriptor() ([]byte, []int) { - return fileDescriptor_1525bb76cf88cd72, []int{0, 1} +func (x *Transaction_Signature) Reset() { + *x = Transaction_Signature{} + mi := &file_flow_legacy_entities_transaction_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Transaction_Signature) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Transaction_Signature.Unmarshal(m, b) -} -func (m *Transaction_Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Transaction_Signature.Marshal(b, m, deterministic) +func (x *Transaction_Signature) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Transaction_Signature) XXX_Merge(src proto.Message) { - xxx_messageInfo_Transaction_Signature.Merge(m, src) -} -func (m *Transaction_Signature) XXX_Size() int { - return xxx_messageInfo_Transaction_Signature.Size(m) -} -func (m *Transaction_Signature) XXX_DiscardUnknown() { - xxx_messageInfo_Transaction_Signature.DiscardUnknown(m) + +func (*Transaction_Signature) ProtoMessage() {} + +func (x *Transaction_Signature) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_entities_transaction_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Transaction_Signature proto.InternalMessageInfo +// Deprecated: Use Transaction_Signature.ProtoReflect.Descriptor instead. +func (*Transaction_Signature) Descriptor() ([]byte, []int) { + return file_flow_legacy_entities_transaction_proto_rawDescGZIP(), []int{0, 1} +} -func (m *Transaction_Signature) GetAddress() []byte { - if m != nil { - return m.Address +func (x *Transaction_Signature) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *Transaction_Signature) GetKeyId() uint32 { - if m != nil { - return m.KeyId +func (x *Transaction_Signature) GetKeyId() uint32 { + if x != nil { + return x.KeyId } return 0 } -func (m *Transaction_Signature) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *Transaction_Signature) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } -func init() { - proto.RegisterEnum("entities.TransactionStatus", TransactionStatus_name, TransactionStatus_value) - proto.RegisterType((*Transaction)(nil), "entities.Transaction") - proto.RegisterType((*Transaction_ProposalKey)(nil), "entities.Transaction.ProposalKey") - proto.RegisterType((*Transaction_Signature)(nil), "entities.Transaction.Signature") -} - -func init() { - proto.RegisterFile("flow/legacy/entities/transaction.proto", fileDescriptor_1525bb76cf88cd72) -} - -var fileDescriptor_1525bb76cf88cd72 = []byte{ - // 504 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x5d, 0x8f, 0x93, 0x40, - 0x14, 0x95, 0xed, 0x27, 0x97, 0xae, 0xb2, 0xe3, 0x47, 0xc8, 0xba, 0x89, 0xa8, 0x89, 0x12, 0x63, - 0x20, 0x59, 0x1f, 0x7c, 0xde, 0x15, 0x34, 0x64, 0x1b, 0x6c, 0xe8, 0x6e, 0xdc, 0xf4, 0xc1, 0x66, - 0x0a, 0xb7, 0x2c, 0x29, 0x65, 0x70, 0x66, 0xd0, 0xe0, 0xdf, 0xf6, 0x0f, 0x18, 0x68, 0x69, 0xfb, - 0xb0, 0x0f, 0xfa, 0x42, 0x72, 0xce, 0xfd, 0x98, 0x7b, 0x38, 0xf7, 0xc2, 0x9b, 0x65, 0xc6, 0x7e, - 0x39, 0x19, 0x26, 0x34, 0xaa, 0x1c, 0xcc, 0x65, 0x2a, 0x53, 0x14, 0x8e, 0xe4, 0x34, 0x17, 0x34, - 0x92, 0x29, 0xcb, 0xed, 0x82, 0x33, 0xc9, 0xc8, 0xb0, 0x8d, 0xbd, 0xfa, 0xd3, 0x05, 0xed, 0x7a, - 0x1f, 0x27, 0xcf, 0xa0, 0x2f, 0x22, 0x9e, 0x16, 0xd2, 0x50, 0x4c, 0xc5, 0x1a, 0x85, 0x5b, 0x44, - 0xce, 0x40, 0xa5, 0x3c, 0x29, 0xd7, 0x98, 0x4b, 0x61, 0x1c, 0x99, 0x1d, 0x6b, 0x14, 0xee, 0x09, - 0xf2, 0x1e, 0x08, 0xc7, 0x25, 0x72, 0xcc, 0x23, 0x9c, 0x2f, 0x32, 0x16, 0xad, 0xe6, 0x69, 0x6c, - 0x74, 0x9a, 0x0e, 0xfa, 0x2e, 0x72, 0x59, 0x07, 0xfc, 0x98, 0x3c, 0x07, 0x35, 0xa1, 0x62, 0x9e, - 0xa5, 0xeb, 0x54, 0x1a, 0x5d, 0x53, 0xb1, 0xba, 0xe1, 0x30, 0xa1, 0x62, 0x5c, 0x63, 0xe2, 0xc2, - 0xa8, 0xe0, 0xac, 0x60, 0x82, 0x66, 0xf3, 0x15, 0x56, 0x46, 0xcf, 0x54, 0x2c, 0xed, 0xfc, 0xa5, - 0xdd, 0x4e, 0x6c, 0x1f, 0x4c, 0x6b, 0x4f, 0xb6, 0x99, 0x57, 0x58, 0x85, 0x5a, 0xb1, 0x07, 0xe4, - 0x09, 0xf4, 0x0a, 0x5a, 0x21, 0x37, 0xfa, 0xcd, 0x0c, 0x1b, 0x40, 0x4c, 0xd0, 0x68, 0x29, 0xef, - 0x18, 0x4f, 0x7f, 0x23, 0x17, 0xc6, 0xa0, 0x91, 0x71, 0x48, 0x91, 0x00, 0x48, 0x41, 0xab, 0x8c, - 0xd1, 0x78, 0x2e, 0xd2, 0x24, 0xa7, 0xb2, 0xe4, 0x28, 0x8c, 0xa1, 0xd9, 0xb1, 0xb4, 0xf3, 0x17, - 0xf7, 0xcf, 0x30, 0x6d, 0xf3, 0xc2, 0x93, 0x6d, 0xe9, 0x8e, 0x11, 0x64, 0x02, 0x8f, 0x31, 0xff, - 0x89, 0x19, 0x2b, 0xf0, 0xb0, 0xa1, 0xfa, 0x6f, 0x0d, 0x49, 0x5b, 0xbb, 0xef, 0x78, 0x9a, 0x80, - 0x76, 0xa0, 0x9a, 0x18, 0x30, 0xa0, 0x71, 0xcc, 0x51, 0x88, 0xad, 0x61, 0x2d, 0x24, 0x4f, 0xa1, - 0xbf, 0xc2, 0xaa, 0xf6, 0xe1, 0xc8, 0x54, 0xac, 0xe3, 0xb0, 0xb7, 0xc2, 0xca, 0x8f, 0xc9, 0x5b, - 0x78, 0x24, 0xf0, 0x47, 0xd9, 0x38, 0x95, 0x97, 0xeb, 0x05, 0xf2, 0xc6, 0xa7, 0x6e, 0xf8, 0xb0, - 0xa5, 0x83, 0x86, 0x3d, 0x9d, 0x81, 0xba, 0x7b, 0xf6, 0xff, 0x9f, 0x39, 0x03, 0x75, 0xa7, 0x77, - 0xbb, 0x08, 0x7b, 0xe2, 0x5d, 0x04, 0x27, 0x07, 0x8a, 0xa7, 0x92, 0xca, 0x52, 0x10, 0x0d, 0x06, - 0x37, 0xc1, 0x55, 0xf0, 0xf5, 0x5b, 0xa0, 0x3f, 0xa8, 0xc1, 0xc4, 0x0b, 0x5c, 0x3f, 0xf8, 0xa2, - 0x2b, 0xe4, 0x18, 0xd4, 0xcf, 0x7e, 0x70, 0x31, 0xf6, 0x67, 0x9e, 0xab, 0x1f, 0x91, 0x11, 0x0c, - 0xbd, 0x5b, 0xef, 0xd3, 0xcd, 0xb5, 0xe7, 0xea, 0x1d, 0x02, 0xd0, 0x9f, 0x7a, 0x17, 0x63, 0xcf, - 0xd5, 0xbb, 0x75, 0x95, 0x77, 0x3b, 0xf1, 0x43, 0xcf, 0xd5, 0x7b, 0x97, 0xdf, 0xe1, 0x35, 0xe3, - 0x89, 0xcd, 0xf2, 0xfa, 0x28, 0x36, 0x8b, 0xbf, 0x28, 0x97, 0xf6, 0xe6, 0x3a, 0x76, 0xbf, 0x7e, - 0xf6, 0x31, 0x49, 0xe5, 0x5d, 0xb9, 0xb0, 0x23, 0xb6, 0x76, 0x36, 0xb9, 0x4e, 0xf3, 0x69, 0x0b, - 0x9c, 0x84, 0x39, 0xf7, 0x9d, 0xd5, 0xa2, 0xdf, 0x64, 0x7c, 0xf8, 0x1b, 0x00, 0x00, 0xff, 0xff, - 0x9a, 0x8c, 0x6d, 0x82, 0x75, 0x03, 0x00, 0x00, +var File_flow_legacy_entities_transaction_proto protoreflect.FileDescriptor + +const file_flow_legacy_entities_transaction_proto_rawDesc = "" + + "\n" + + "&flow/legacy/entities/transaction.proto\x12\bentities\"\xf3\x04\n" + + "\vTransaction\x12\x16\n" + + "\x06script\x18\x01 \x01(\fR\x06script\x12\x1c\n" + + "\targuments\x18\x02 \x03(\fR\targuments\x12,\n" + + "\x12reference_block_id\x18\x03 \x01(\fR\x10referenceBlockId\x12\x1b\n" + + "\tgas_limit\x18\x04 \x01(\x04R\bgasLimit\x12D\n" + + "\fproposal_key\x18\x05 \x01(\v2!.entities.Transaction.ProposalKeyR\vproposalKey\x12\x14\n" + + "\x05payer\x18\x06 \x01(\fR\x05payer\x12 \n" + + "\vauthorizers\x18\a \x03(\fR\vauthorizers\x12N\n" + + "\x12payload_signatures\x18\b \x03(\v2\x1f.entities.Transaction.SignatureR\x11payloadSignatures\x12P\n" + + "\x13envelope_signatures\x18\t \x03(\v2\x1f.entities.Transaction.SignatureR\x12envelopeSignatures\x1ag\n" + + "\vProposalKey\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12\x15\n" + + "\x06key_id\x18\x02 \x01(\rR\x05keyId\x12'\n" + + "\x0fsequence_number\x18\x03 \x01(\x04R\x0esequenceNumber\x1aZ\n" + + "\tSignature\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12\x15\n" + + "\x06key_id\x18\x02 \x01(\rR\x05keyId\x12\x1c\n" + + "\tsignature\x18\x03 \x01(\fR\tsignature*c\n" + + "\x11TransactionStatus\x12\v\n" + + "\aUNKNOWN\x10\x00\x12\v\n" + + "\aPENDING\x10\x01\x12\r\n" + + "\tFINALIZED\x10\x02\x12\f\n" + + "\bEXECUTED\x10\x03\x12\n" + + "\n" + + "\x06SEALED\x10\x04\x12\v\n" + + "\aEXPIRED\x10\x05B^\n" + + "#org.onflow.protobuf.legacy.entitiesZ7github.com/onflow/flow/protobuf/go/flow/legacy/entitiesb\x06proto3" + +var ( + file_flow_legacy_entities_transaction_proto_rawDescOnce sync.Once + file_flow_legacy_entities_transaction_proto_rawDescData []byte +) + +func file_flow_legacy_entities_transaction_proto_rawDescGZIP() []byte { + file_flow_legacy_entities_transaction_proto_rawDescOnce.Do(func() { + file_flow_legacy_entities_transaction_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_transaction_proto_rawDesc), len(file_flow_legacy_entities_transaction_proto_rawDesc))) + }) + return file_flow_legacy_entities_transaction_proto_rawDescData +} + +var file_flow_legacy_entities_transaction_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_flow_legacy_entities_transaction_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_flow_legacy_entities_transaction_proto_goTypes = []any{ + (TransactionStatus)(0), // 0: entities.TransactionStatus + (*Transaction)(nil), // 1: entities.Transaction + (*Transaction_ProposalKey)(nil), // 2: entities.Transaction.ProposalKey + (*Transaction_Signature)(nil), // 3: entities.Transaction.Signature +} +var file_flow_legacy_entities_transaction_proto_depIdxs = []int32{ + 2, // 0: entities.Transaction.proposal_key:type_name -> entities.Transaction.ProposalKey + 3, // 1: entities.Transaction.payload_signatures:type_name -> entities.Transaction.Signature + 3, // 2: entities.Transaction.envelope_signatures:type_name -> entities.Transaction.Signature + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_flow_legacy_entities_transaction_proto_init() } +func file_flow_legacy_entities_transaction_proto_init() { + if File_flow_legacy_entities_transaction_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_legacy_entities_transaction_proto_rawDesc), len(file_flow_legacy_entities_transaction_proto_rawDesc)), + NumEnums: 1, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_flow_legacy_entities_transaction_proto_goTypes, + DependencyIndexes: file_flow_legacy_entities_transaction_proto_depIdxs, + EnumInfos: file_flow_legacy_entities_transaction_proto_enumTypes, + MessageInfos: file_flow_legacy_entities_transaction_proto_msgTypes, + }.Build() + File_flow_legacy_entities_transaction_proto = out.File + file_flow_legacy_entities_transaction_proto_goTypes = nil + file_flow_legacy_entities_transaction_proto_depIdxs = nil } diff --git a/protobuf/go/flow/legacy/execution/execution.pb.go b/protobuf/go/flow/legacy/execution/execution.pb.go index f1d638a9b..f4116b306 100644 --- a/protobuf/go/flow/legacy/execution/execution.pb.go +++ b/protobuf/go/flow/legacy/execution/execution.pb.go @@ -1,568 +1,680 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.11 +// protoc (unknown) // source: flow/legacy/execution/execution.proto package execution import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" entities "github.com/onflow/flow/protobuf/go/flow/legacy/entities" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" + unsafe "unsafe" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type PingRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *PingRequest) Reset() { *m = PingRequest{} } -func (m *PingRequest) String() string { return proto.CompactTextString(m) } -func (*PingRequest) ProtoMessage() {} -func (*PingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8f36ef6043859bf2, []int{0} +func (x *PingRequest) Reset() { + *x = PingRequest{} + mi := &file_flow_legacy_execution_execution_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *PingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PingRequest.Unmarshal(m, b) -} -func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PingRequest.Marshal(b, m, deterministic) -} -func (m *PingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PingRequest.Merge(m, src) -} -func (m *PingRequest) XXX_Size() int { - return xxx_messageInfo_PingRequest.Size(m) -} -func (m *PingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PingRequest.DiscardUnknown(m) +func (x *PingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PingRequest proto.InternalMessageInfo +func (*PingRequest) ProtoMessage() {} -type PingResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *PingRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_execution_execution_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *PingResponse) Reset() { *m = PingResponse{} } -func (m *PingResponse) String() string { return proto.CompactTextString(m) } -func (*PingResponse) ProtoMessage() {} -func (*PingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8f36ef6043859bf2, []int{1} +// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead. +func (*PingRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_execution_execution_proto_rawDescGZIP(), []int{0} } -func (m *PingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PingResponse.Unmarshal(m, b) -} -func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PingResponse.Marshal(b, m, deterministic) -} -func (m *PingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PingResponse.Merge(m, src) +type PingResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *PingResponse) XXX_Size() int { - return xxx_messageInfo_PingResponse.Size(m) + +func (x *PingResponse) Reset() { + *x = PingResponse{} + mi := &file_flow_legacy_execution_execution_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *PingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PingResponse.DiscardUnknown(m) + +func (x *PingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_PingResponse proto.InternalMessageInfo +func (*PingResponse) ProtoMessage() {} -type GetAccountAtBlockIDRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *PingResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_execution_execution_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *GetAccountAtBlockIDRequest) Reset() { *m = GetAccountAtBlockIDRequest{} } -func (m *GetAccountAtBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*GetAccountAtBlockIDRequest) ProtoMessage() {} -func (*GetAccountAtBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8f36ef6043859bf2, []int{2} +// Deprecated: Use PingResponse.ProtoReflect.Descriptor instead. +func (*PingResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_execution_execution_proto_rawDescGZIP(), []int{1} } -func (m *GetAccountAtBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountAtBlockIDRequest.Unmarshal(m, b) -} -func (m *GetAccountAtBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountAtBlockIDRequest.Marshal(b, m, deterministic) +type GetAccountAtBlockIDRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountAtBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountAtBlockIDRequest.Merge(m, src) + +func (x *GetAccountAtBlockIDRequest) Reset() { + *x = GetAccountAtBlockIDRequest{} + mi := &file_flow_legacy_execution_execution_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountAtBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_GetAccountAtBlockIDRequest.Size(m) + +func (x *GetAccountAtBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountAtBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountAtBlockIDRequest.DiscardUnknown(m) + +func (*GetAccountAtBlockIDRequest) ProtoMessage() {} + +func (x *GetAccountAtBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_execution_execution_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountAtBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountAtBlockIDRequest.ProtoReflect.Descriptor instead. +func (*GetAccountAtBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_execution_execution_proto_rawDescGZIP(), []int{2} +} -func (m *GetAccountAtBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetAccountAtBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *GetAccountAtBlockIDRequest) GetAddress() []byte { - if m != nil { - return m.Address +func (x *GetAccountAtBlockIDRequest) GetAddress() []byte { + if x != nil { + return x.Address } return nil } type GetAccountAtBlockIDResponse struct { - Account *entities.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Account *entities.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetAccountAtBlockIDResponse) Reset() { *m = GetAccountAtBlockIDResponse{} } -func (m *GetAccountAtBlockIDResponse) String() string { return proto.CompactTextString(m) } -func (*GetAccountAtBlockIDResponse) ProtoMessage() {} -func (*GetAccountAtBlockIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8f36ef6043859bf2, []int{3} +func (x *GetAccountAtBlockIDResponse) Reset() { + *x = GetAccountAtBlockIDResponse{} + mi := &file_flow_legacy_execution_execution_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetAccountAtBlockIDResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAccountAtBlockIDResponse.Unmarshal(m, b) -} -func (m *GetAccountAtBlockIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAccountAtBlockIDResponse.Marshal(b, m, deterministic) +func (x *GetAccountAtBlockIDResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountAtBlockIDResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountAtBlockIDResponse.Merge(m, src) -} -func (m *GetAccountAtBlockIDResponse) XXX_Size() int { - return xxx_messageInfo_GetAccountAtBlockIDResponse.Size(m) -} -func (m *GetAccountAtBlockIDResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountAtBlockIDResponse.DiscardUnknown(m) + +func (*GetAccountAtBlockIDResponse) ProtoMessage() {} + +func (x *GetAccountAtBlockIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_execution_execution_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountAtBlockIDResponse proto.InternalMessageInfo +// Deprecated: Use GetAccountAtBlockIDResponse.ProtoReflect.Descriptor instead. +func (*GetAccountAtBlockIDResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_execution_execution_proto_rawDescGZIP(), []int{3} +} -func (m *GetAccountAtBlockIDResponse) GetAccount() *entities.Account { - if m != nil { - return m.Account +func (x *GetAccountAtBlockIDResponse) GetAccount() *entities.Account { + if x != nil { + return x.Account } return nil } type ExecuteScriptAtBlockIDRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` - Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` + Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecuteScriptAtBlockIDRequest) Reset() { *m = ExecuteScriptAtBlockIDRequest{} } -func (m *ExecuteScriptAtBlockIDRequest) String() string { return proto.CompactTextString(m) } -func (*ExecuteScriptAtBlockIDRequest) ProtoMessage() {} -func (*ExecuteScriptAtBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8f36ef6043859bf2, []int{4} +func (x *ExecuteScriptAtBlockIDRequest) Reset() { + *x = ExecuteScriptAtBlockIDRequest{} + mi := &file_flow_legacy_execution_execution_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecuteScriptAtBlockIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Unmarshal(m, b) +func (x *ExecuteScriptAtBlockIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecuteScriptAtBlockIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Marshal(b, m, deterministic) -} -func (m *ExecuteScriptAtBlockIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Merge(m, src) -} -func (m *ExecuteScriptAtBlockIDRequest) XXX_Size() int { - return xxx_messageInfo_ExecuteScriptAtBlockIDRequest.Size(m) -} -func (m *ExecuteScriptAtBlockIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteScriptAtBlockIDRequest.DiscardUnknown(m) + +func (*ExecuteScriptAtBlockIDRequest) ProtoMessage() {} + +func (x *ExecuteScriptAtBlockIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_execution_execution_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecuteScriptAtBlockIDRequest proto.InternalMessageInfo +// Deprecated: Use ExecuteScriptAtBlockIDRequest.ProtoReflect.Descriptor instead. +func (*ExecuteScriptAtBlockIDRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_execution_execution_proto_rawDescGZIP(), []int{4} +} -func (m *ExecuteScriptAtBlockIDRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *ExecuteScriptAtBlockIDRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -func (m *ExecuteScriptAtBlockIDRequest) GetScript() []byte { - if m != nil { - return m.Script +func (x *ExecuteScriptAtBlockIDRequest) GetScript() []byte { + if x != nil { + return x.Script } return nil } -func (m *ExecuteScriptAtBlockIDRequest) GetArguments() [][]byte { - if m != nil { - return m.Arguments +func (x *ExecuteScriptAtBlockIDRequest) GetArguments() [][]byte { + if x != nil { + return x.Arguments } return nil } type ExecuteScriptAtBlockIDResponse struct { - Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *ExecuteScriptAtBlockIDResponse) Reset() { *m = ExecuteScriptAtBlockIDResponse{} } -func (m *ExecuteScriptAtBlockIDResponse) String() string { return proto.CompactTextString(m) } -func (*ExecuteScriptAtBlockIDResponse) ProtoMessage() {} -func (*ExecuteScriptAtBlockIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8f36ef6043859bf2, []int{5} +func (x *ExecuteScriptAtBlockIDResponse) Reset() { + *x = ExecuteScriptAtBlockIDResponse{} + mi := &file_flow_legacy_execution_execution_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecuteScriptAtBlockIDResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteScriptAtBlockIDResponse.Unmarshal(m, b) -} -func (m *ExecuteScriptAtBlockIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteScriptAtBlockIDResponse.Marshal(b, m, deterministic) -} -func (m *ExecuteScriptAtBlockIDResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteScriptAtBlockIDResponse.Merge(m, src) -} -func (m *ExecuteScriptAtBlockIDResponse) XXX_Size() int { - return xxx_messageInfo_ExecuteScriptAtBlockIDResponse.Size(m) +func (x *ExecuteScriptAtBlockIDResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecuteScriptAtBlockIDResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteScriptAtBlockIDResponse.DiscardUnknown(m) + +func (*ExecuteScriptAtBlockIDResponse) ProtoMessage() {} + +func (x *ExecuteScriptAtBlockIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_execution_execution_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExecuteScriptAtBlockIDResponse proto.InternalMessageInfo +// Deprecated: Use ExecuteScriptAtBlockIDResponse.ProtoReflect.Descriptor instead. +func (*ExecuteScriptAtBlockIDResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_execution_execution_proto_rawDescGZIP(), []int{5} +} -func (m *ExecuteScriptAtBlockIDResponse) GetValue() []byte { - if m != nil { - return m.Value +func (x *ExecuteScriptAtBlockIDResponse) GetValue() []byte { + if x != nil { + return x.Value } return nil } type GetEventsForBlockIDsResponse struct { - Results []*GetEventsForBlockIDsResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState `protogen:"open.v1"` + Results []*GetEventsForBlockIDsResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetEventsForBlockIDsResponse) Reset() { *m = GetEventsForBlockIDsResponse{} } -func (m *GetEventsForBlockIDsResponse) String() string { return proto.CompactTextString(m) } -func (*GetEventsForBlockIDsResponse) ProtoMessage() {} -func (*GetEventsForBlockIDsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8f36ef6043859bf2, []int{6} +func (x *GetEventsForBlockIDsResponse) Reset() { + *x = GetEventsForBlockIDsResponse{} + mi := &file_flow_legacy_execution_execution_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetEventsForBlockIDsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEventsForBlockIDsResponse.Unmarshal(m, b) -} -func (m *GetEventsForBlockIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEventsForBlockIDsResponse.Marshal(b, m, deterministic) -} -func (m *GetEventsForBlockIDsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEventsForBlockIDsResponse.Merge(m, src) -} -func (m *GetEventsForBlockIDsResponse) XXX_Size() int { - return xxx_messageInfo_GetEventsForBlockIDsResponse.Size(m) -} -func (m *GetEventsForBlockIDsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetEventsForBlockIDsResponse.DiscardUnknown(m) +func (x *GetEventsForBlockIDsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetEventsForBlockIDsResponse proto.InternalMessageInfo +func (*GetEventsForBlockIDsResponse) ProtoMessage() {} -func (m *GetEventsForBlockIDsResponse) GetResults() []*GetEventsForBlockIDsResponse_Result { - if m != nil { - return m.Results +func (x *GetEventsForBlockIDsResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_execution_execution_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type GetEventsForBlockIDsResponse_Result struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - Events []*entities.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use GetEventsForBlockIDsResponse.ProtoReflect.Descriptor instead. +func (*GetEventsForBlockIDsResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_execution_execution_proto_rawDescGZIP(), []int{6} } -func (m *GetEventsForBlockIDsResponse_Result) Reset() { *m = GetEventsForBlockIDsResponse_Result{} } -func (m *GetEventsForBlockIDsResponse_Result) String() string { return proto.CompactTextString(m) } -func (*GetEventsForBlockIDsResponse_Result) ProtoMessage() {} -func (*GetEventsForBlockIDsResponse_Result) Descriptor() ([]byte, []int) { - return fileDescriptor_8f36ef6043859bf2, []int{6, 0} +func (x *GetEventsForBlockIDsResponse) GetResults() []*GetEventsForBlockIDsResponse_Result { + if x != nil { + return x.Results + } + return nil } -func (m *GetEventsForBlockIDsResponse_Result) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEventsForBlockIDsResponse_Result.Unmarshal(m, b) -} -func (m *GetEventsForBlockIDsResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEventsForBlockIDsResponse_Result.Marshal(b, m, deterministic) -} -func (m *GetEventsForBlockIDsResponse_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEventsForBlockIDsResponse_Result.Merge(m, src) +type GetEventsForBlockIDsRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + BlockIds [][]byte `protobuf:"bytes,2,rep,name=block_ids,json=blockIds,proto3" json:"block_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetEventsForBlockIDsResponse_Result) XXX_Size() int { - return xxx_messageInfo_GetEventsForBlockIDsResponse_Result.Size(m) + +func (x *GetEventsForBlockIDsRequest) Reset() { + *x = GetEventsForBlockIDsRequest{} + mi := &file_flow_legacy_execution_execution_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetEventsForBlockIDsResponse_Result) XXX_DiscardUnknown() { - xxx_messageInfo_GetEventsForBlockIDsResponse_Result.DiscardUnknown(m) + +func (x *GetEventsForBlockIDsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetEventsForBlockIDsResponse_Result proto.InternalMessageInfo +func (*GetEventsForBlockIDsRequest) ProtoMessage() {} -func (m *GetEventsForBlockIDsResponse_Result) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetEventsForBlockIDsRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_execution_execution_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) +} + +// Deprecated: Use GetEventsForBlockIDsRequest.ProtoReflect.Descriptor instead. +func (*GetEventsForBlockIDsRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_execution_execution_proto_rawDescGZIP(), []int{7} } -func (m *GetEventsForBlockIDsResponse_Result) GetBlockHeight() uint64 { - if m != nil { - return m.BlockHeight +func (x *GetEventsForBlockIDsRequest) GetType() string { + if x != nil { + return x.Type } - return 0 + return "" } -func (m *GetEventsForBlockIDsResponse_Result) GetEvents() []*entities.Event { - if m != nil { - return m.Events +func (x *GetEventsForBlockIDsRequest) GetBlockIds() [][]byte { + if x != nil { + return x.BlockIds } return nil } -type GetEventsForBlockIDsRequest struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - BlockIds [][]byte `protobuf:"bytes,2,rep,name=block_ids,json=blockIds,proto3" json:"block_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetTransactionResultRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetEventsForBlockIDsRequest) Reset() { *m = GetEventsForBlockIDsRequest{} } -func (m *GetEventsForBlockIDsRequest) String() string { return proto.CompactTextString(m) } -func (*GetEventsForBlockIDsRequest) ProtoMessage() {} -func (*GetEventsForBlockIDsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8f36ef6043859bf2, []int{7} +func (x *GetTransactionResultRequest) Reset() { + *x = GetTransactionResultRequest{} + mi := &file_flow_legacy_execution_execution_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetEventsForBlockIDsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEventsForBlockIDsRequest.Unmarshal(m, b) -} -func (m *GetEventsForBlockIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEventsForBlockIDsRequest.Marshal(b, m, deterministic) -} -func (m *GetEventsForBlockIDsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEventsForBlockIDsRequest.Merge(m, src) -} -func (m *GetEventsForBlockIDsRequest) XXX_Size() int { - return xxx_messageInfo_GetEventsForBlockIDsRequest.Size(m) -} -func (m *GetEventsForBlockIDsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEventsForBlockIDsRequest.DiscardUnknown(m) +func (x *GetTransactionResultRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetEventsForBlockIDsRequest proto.InternalMessageInfo +func (*GetTransactionResultRequest) ProtoMessage() {} -func (m *GetEventsForBlockIDsRequest) GetType() string { - if m != nil { - return m.Type +func (x *GetTransactionResultRequest) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_execution_execution_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *GetEventsForBlockIDsRequest) GetBlockIds() [][]byte { - if m != nil { - return m.BlockIds +// Deprecated: Use GetTransactionResultRequest.ProtoReflect.Descriptor instead. +func (*GetTransactionResultRequest) Descriptor() ([]byte, []int) { + return file_flow_legacy_execution_execution_proto_rawDescGZIP(), []int{8} +} + +func (x *GetTransactionResultRequest) GetBlockId() []byte { + if x != nil { + return x.BlockId } return nil } -type GetTransactionResultRequest struct { - BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` - TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *GetTransactionResultRequest) GetTransactionId() []byte { + if x != nil { + return x.TransactionId + } + return nil } -func (m *GetTransactionResultRequest) Reset() { *m = GetTransactionResultRequest{} } -func (m *GetTransactionResultRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransactionResultRequest) ProtoMessage() {} -func (*GetTransactionResultRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8f36ef6043859bf2, []int{8} +type GetTransactionResultResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + StatusCode uint32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` + ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` + Events []*entities.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionResultRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionResultRequest.Unmarshal(m, b) -} -func (m *GetTransactionResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionResultRequest.Marshal(b, m, deterministic) +func (x *GetTransactionResultResponse) Reset() { + *x = GetTransactionResultResponse{} + mi := &file_flow_legacy_execution_execution_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionResultRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionResultRequest.Merge(m, src) + +func (x *GetTransactionResultResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionResultRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionResultRequest.Size(m) + +func (*GetTransactionResultResponse) ProtoMessage() {} + +func (x *GetTransactionResultResponse) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_execution_execution_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *GetTransactionResultRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionResultRequest.DiscardUnknown(m) + +// Deprecated: Use GetTransactionResultResponse.ProtoReflect.Descriptor instead. +func (*GetTransactionResultResponse) Descriptor() ([]byte, []int) { + return file_flow_legacy_execution_execution_proto_rawDescGZIP(), []int{9} } -var xxx_messageInfo_GetTransactionResultRequest proto.InternalMessageInfo +func (x *GetTransactionResultResponse) GetStatusCode() uint32 { + if x != nil { + return x.StatusCode + } + return 0 +} -func (m *GetTransactionResultRequest) GetBlockId() []byte { - if m != nil { - return m.BlockId +func (x *GetTransactionResultResponse) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage } - return nil + return "" } -func (m *GetTransactionResultRequest) GetTransactionId() []byte { - if m != nil { - return m.TransactionId +func (x *GetTransactionResultResponse) GetEvents() []*entities.Event { + if x != nil { + return x.Events } return nil } -type GetTransactionResultResponse struct { - StatusCode uint32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` - ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - Events []*entities.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type GetEventsForBlockIDsResponse_Result struct { + state protoimpl.MessageState `protogen:"open.v1"` + BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` + BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Events []*entities.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } -func (m *GetTransactionResultResponse) Reset() { *m = GetTransactionResultResponse{} } -func (m *GetTransactionResultResponse) String() string { return proto.CompactTextString(m) } -func (*GetTransactionResultResponse) ProtoMessage() {} -func (*GetTransactionResultResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8f36ef6043859bf2, []int{9} +func (x *GetEventsForBlockIDsResponse_Result) Reset() { + *x = GetEventsForBlockIDsResponse_Result{} + mi := &file_flow_legacy_execution_execution_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *GetTransactionResultResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionResultResponse.Unmarshal(m, b) +func (x *GetEventsForBlockIDsResponse_Result) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTransactionResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionResultResponse.Marshal(b, m, deterministic) -} -func (m *GetTransactionResultResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionResultResponse.Merge(m, src) -} -func (m *GetTransactionResultResponse) XXX_Size() int { - return xxx_messageInfo_GetTransactionResultResponse.Size(m) -} -func (m *GetTransactionResultResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionResultResponse.DiscardUnknown(m) + +func (*GetEventsForBlockIDsResponse_Result) ProtoMessage() {} + +func (x *GetEventsForBlockIDsResponse_Result) ProtoReflect() protoreflect.Message { + mi := &file_flow_legacy_execution_execution_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetTransactionResultResponse proto.InternalMessageInfo +// Deprecated: Use GetEventsForBlockIDsResponse_Result.ProtoReflect.Descriptor instead. +func (*GetEventsForBlockIDsResponse_Result) Descriptor() ([]byte, []int) { + return file_flow_legacy_execution_execution_proto_rawDescGZIP(), []int{6, 0} +} -func (m *GetTransactionResultResponse) GetStatusCode() uint32 { - if m != nil { - return m.StatusCode +func (x *GetEventsForBlockIDsResponse_Result) GetBlockId() []byte { + if x != nil { + return x.BlockId } - return 0 + return nil } -func (m *GetTransactionResultResponse) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage +func (x *GetEventsForBlockIDsResponse_Result) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight } - return "" + return 0 } -func (m *GetTransactionResultResponse) GetEvents() []*entities.Event { - if m != nil { - return m.Events +func (x *GetEventsForBlockIDsResponse_Result) GetEvents() []*entities.Event { + if x != nil { + return x.Events } return nil } -func init() { - proto.RegisterType((*PingRequest)(nil), "execution.PingRequest") - proto.RegisterType((*PingResponse)(nil), "execution.PingResponse") - proto.RegisterType((*GetAccountAtBlockIDRequest)(nil), "execution.GetAccountAtBlockIDRequest") - proto.RegisterType((*GetAccountAtBlockIDResponse)(nil), "execution.GetAccountAtBlockIDResponse") - proto.RegisterType((*ExecuteScriptAtBlockIDRequest)(nil), "execution.ExecuteScriptAtBlockIDRequest") - proto.RegisterType((*ExecuteScriptAtBlockIDResponse)(nil), "execution.ExecuteScriptAtBlockIDResponse") - proto.RegisterType((*GetEventsForBlockIDsResponse)(nil), "execution.GetEventsForBlockIDsResponse") - proto.RegisterType((*GetEventsForBlockIDsResponse_Result)(nil), "execution.GetEventsForBlockIDsResponse.Result") - proto.RegisterType((*GetEventsForBlockIDsRequest)(nil), "execution.GetEventsForBlockIDsRequest") - proto.RegisterType((*GetTransactionResultRequest)(nil), "execution.GetTransactionResultRequest") - proto.RegisterType((*GetTransactionResultResponse)(nil), "execution.GetTransactionResultResponse") -} - -func init() { - proto.RegisterFile("flow/legacy/execution/execution.proto", fileDescriptor_8f36ef6043859bf2) -} - -var fileDescriptor_8f36ef6043859bf2 = []byte{ - // 611 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xdd, 0x6e, 0xd3, 0x30, - 0x14, 0x56, 0x69, 0x69, 0xd7, 0x93, 0x74, 0x08, 0x33, 0x95, 0x92, 0x0d, 0x28, 0x81, 0x6e, 0x45, - 0x48, 0x89, 0x54, 0x24, 0xe0, 0xb6, 0x83, 0xb2, 0x15, 0x09, 0x34, 0x0c, 0x57, 0xdc, 0x94, 0x34, - 0xf1, 0xd2, 0x88, 0x36, 0x2e, 0xb6, 0x33, 0xd8, 0x43, 0xf0, 0x80, 0xbc, 0x04, 0xcf, 0x80, 0x62, - 0x3b, 0x4b, 0xb7, 0xa5, 0x3f, 0xbb, 0xa9, 0xe2, 0xcf, 0xe7, 0x3b, 0xdf, 0xf9, 0x75, 0xa1, 0x73, - 0x3a, 0xa5, 0xbf, 0xdc, 0x29, 0x09, 0x3d, 0xff, 0xdc, 0x25, 0xbf, 0x89, 0x9f, 0x88, 0x88, 0xc6, - 0xf9, 0x97, 0x33, 0x67, 0x54, 0x50, 0x54, 0xbf, 0x00, 0x2c, 0xfb, 0x12, 0x23, 0x16, 0x91, 0x88, - 0x08, 0x77, 0x3d, 0xdf, 0xa7, 0x49, 0x2c, 0x94, 0xb9, 0xd5, 0x2e, 0xb4, 0x21, 0x67, 0x24, 0xb3, - 0xb0, 0x1b, 0x60, 0x9c, 0x44, 0x71, 0x88, 0xc9, 0xcf, 0x84, 0x70, 0x61, 0x6f, 0x83, 0xa9, 0x8e, - 0x7c, 0x4e, 0x63, 0x4e, 0xec, 0xcf, 0x60, 0x1d, 0x11, 0xd1, 0x57, 0x4e, 0xfb, 0xe2, 0x70, 0x4a, - 0xfd, 0x1f, 0xc3, 0x77, 0xda, 0x1a, 0x3d, 0x80, 0xad, 0x71, 0x8a, 0x8c, 0xa2, 0xa0, 0x55, 0x6a, - 0x97, 0xba, 0x26, 0xae, 0xc9, 0xf3, 0x30, 0x40, 0x2d, 0xa8, 0x79, 0x41, 0xc0, 0x08, 0xe7, 0xad, - 0x5b, 0xea, 0x46, 0x1f, 0xed, 0x0f, 0xb0, 0x5b, 0xe8, 0x52, 0x29, 0xa2, 0x17, 0x50, 0xd3, 0x39, - 0x48, 0x97, 0x46, 0xef, 0xae, 0x93, 0x05, 0xee, 0x68, 0x12, 0xce, 0x2c, 0xec, 0x39, 0x3c, 0x1c, - 0xc8, 0x82, 0x90, 0x2f, 0x3e, 0x8b, 0xe6, 0x37, 0x8a, 0xb0, 0x09, 0x55, 0x2e, 0x49, 0x3a, 0x40, - 0x7d, 0x42, 0x7b, 0x50, 0xf7, 0x58, 0x98, 0xcc, 0x48, 0x2c, 0x78, 0xab, 0xdc, 0x2e, 0x77, 0x4d, - 0x9c, 0x03, 0xf6, 0x2b, 0x78, 0xb4, 0x4c, 0x51, 0x27, 0xb0, 0x03, 0xb7, 0xcf, 0xbc, 0x69, 0x42, - 0xb4, 0x9e, 0x3a, 0xd8, 0x7f, 0x4b, 0xb0, 0x77, 0x44, 0xc4, 0x20, 0x2d, 0x3d, 0x7f, 0x4f, 0x99, - 0x66, 0xf1, 0x0b, 0xda, 0x31, 0xd4, 0x18, 0xe1, 0xc9, 0x54, 0xf0, 0x56, 0xa9, 0x5d, 0xee, 0x1a, - 0x3d, 0xc7, 0xc9, 0x9b, 0xbf, 0x8a, 0xe9, 0x60, 0x49, 0xc3, 0x19, 0xdd, 0xa2, 0x50, 0x55, 0xd0, - 0xaa, 0xec, 0x9f, 0x80, 0xa9, 0xae, 0x26, 0x24, 0x0a, 0x27, 0xaa, 0x06, 0x15, 0x6c, 0x48, 0xec, - 0x58, 0x42, 0xe8, 0x00, 0xaa, 0x72, 0x52, 0x54, 0x15, 0x8c, 0xde, 0x9d, 0xbc, 0x11, 0x32, 0x18, - 0xac, 0xaf, 0xed, 0x4f, 0xb2, 0xa3, 0x05, 0x01, 0xaa, 0x1e, 0x20, 0xa8, 0x88, 0xf3, 0xb9, 0xaa, - 0x47, 0x1d, 0xcb, 0x6f, 0xb4, 0x0b, 0xf5, 0x2c, 0xb2, 0x74, 0x40, 0xd2, 0x22, 0x6f, 0xe9, 0xd0, - 0xb8, 0x3d, 0x92, 0xfe, 0xbe, 0x32, 0x2f, 0xe6, 0x9e, 0x9f, 0xe6, 0xaf, 0x33, 0x5c, 0xdf, 0xd3, - 0x0e, 0x6c, 0x8b, 0x9c, 0x96, 0x1a, 0xa8, 0xde, 0x36, 0x16, 0xd0, 0x61, 0x60, 0xff, 0x51, 0xcd, - 0x28, 0x50, 0xd0, 0xcd, 0x78, 0x0c, 0x06, 0x17, 0x9e, 0x48, 0xf8, 0xc8, 0xa7, 0x81, 0x8a, 0xbc, - 0x81, 0x41, 0x41, 0x6f, 0x69, 0x40, 0xd0, 0x53, 0x68, 0x10, 0xc6, 0x28, 0x1b, 0xcd, 0x08, 0xe7, - 0x5e, 0x48, 0xa4, 0x4e, 0x1d, 0x9b, 0x12, 0xfc, 0xa8, 0xb0, 0x8d, 0x0b, 0xd8, 0xfb, 0x57, 0x06, - 0x73, 0x90, 0x35, 0xbb, 0x7f, 0x32, 0x44, 0xaf, 0xa1, 0x92, 0xae, 0x21, 0x6a, 0x2e, 0xcc, 0xc0, - 0xc2, 0x9a, 0x5a, 0xf7, 0xaf, 0xe1, 0x3a, 0xf0, 0x00, 0xee, 0x15, 0x2c, 0x17, 0xea, 0x5c, 0x9e, - 0xa5, 0x25, 0xfb, 0x6c, 0xed, 0xaf, 0x33, 0xd3, 0x2a, 0x33, 0x68, 0x16, 0x2f, 0x01, 0xea, 0x2e, - 0x78, 0x58, 0xb9, 0x99, 0xd6, 0xf3, 0x0d, 0x2c, 0xb5, 0x5c, 0x08, 0x3b, 0x45, 0xf3, 0x85, 0xf6, - 0xd7, 0x6e, 0x88, 0x92, 0x3a, 0xd8, 0x70, 0x93, 0xb4, 0xd0, 0xb5, 0xb1, 0xb8, 0x2a, 0xb4, 0x6c, - 0x32, 0xaf, 0x0a, 0x2d, 0x9d, 0xaf, 0xc3, 0xef, 0xf0, 0x8c, 0xb2, 0xd0, 0xa1, 0x71, 0xfa, 0x3e, - 0xab, 0x97, 0x78, 0x9c, 0x9c, 0x3a, 0xea, 0xa1, 0xce, 0x9d, 0x7c, 0x7b, 0x13, 0x46, 0x62, 0x92, - 0x8c, 0x1d, 0x9f, 0xce, 0x5c, 0x65, 0xec, 0xca, 0x9f, 0x8c, 0xe1, 0x86, 0xd4, 0x2d, 0xfc, 0xe3, - 0x18, 0x57, 0xa5, 0xc9, 0xcb, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0xfb, 0xa5, 0x8b, 0xe2, 0x58, - 0x06, 0x00, 0x00, +var File_flow_legacy_execution_execution_proto protoreflect.FileDescriptor + +const file_flow_legacy_execution_execution_proto_rawDesc = "" + + "\n" + + "%flow/legacy/execution/execution.proto\x12\texecution\x1a\"flow/legacy/entities/account.proto\x1a flow/legacy/entities/event.proto\"\r\n" + + "\vPingRequest\"\x0e\n" + + "\fPingResponse\"Q\n" + + "\x1aGetAccountAtBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12\x18\n" + + "\aaddress\x18\x02 \x01(\fR\aaddress\"J\n" + + "\x1bGetAccountAtBlockIDResponse\x12+\n" + + "\aaccount\x18\x01 \x01(\v2\x11.entities.AccountR\aaccount\"p\n" + + "\x1dExecuteScriptAtBlockIDRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12\x16\n" + + "\x06script\x18\x02 \x01(\fR\x06script\x12\x1c\n" + + "\targuments\x18\x03 \x03(\fR\targuments\"6\n" + + "\x1eExecuteScriptAtBlockIDResponse\x12\x14\n" + + "\x05value\x18\x01 \x01(\fR\x05value\"\xd9\x01\n" + + "\x1cGetEventsForBlockIDsResponse\x12H\n" + + "\aresults\x18\x01 \x03(\v2..execution.GetEventsForBlockIDsResponse.ResultR\aresults\x1ao\n" + + "\x06Result\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12!\n" + + "\fblock_height\x18\x02 \x01(\x04R\vblockHeight\x12'\n" + + "\x06events\x18\x03 \x03(\v2\x0f.entities.EventR\x06events\"N\n" + + "\x1bGetEventsForBlockIDsRequest\x12\x12\n" + + "\x04type\x18\x01 \x01(\tR\x04type\x12\x1b\n" + + "\tblock_ids\x18\x02 \x03(\fR\bblockIds\"_\n" + + "\x1bGetTransactionResultRequest\x12\x19\n" + + "\bblock_id\x18\x01 \x01(\fR\ablockId\x12%\n" + + "\x0etransaction_id\x18\x02 \x01(\fR\rtransactionId\"\x8d\x01\n" + + "\x1cGetTransactionResultResponse\x12\x1f\n" + + "\vstatus_code\x18\x01 \x01(\rR\n" + + "statusCode\x12#\n" + + "\rerror_message\x18\x02 \x01(\tR\ferrorMessage\x12'\n" + + "\x06events\x18\x03 \x03(\v2\x0f.entities.EventR\x06events2\xee\x03\n" + + "\fExecutionAPI\x127\n" + + "\x04Ping\x12\x16.execution.PingRequest\x1a\x17.execution.PingResponse\x12d\n" + + "\x13GetAccountAtBlockID\x12%.execution.GetAccountAtBlockIDRequest\x1a&.execution.GetAccountAtBlockIDResponse\x12m\n" + + "\x16ExecuteScriptAtBlockID\x12(.execution.ExecuteScriptAtBlockIDRequest\x1a).execution.ExecuteScriptAtBlockIDResponse\x12g\n" + + "\x14GetEventsForBlockIDs\x12&.execution.GetEventsForBlockIDsRequest\x1a'.execution.GetEventsForBlockIDsResponse\x12g\n" + + "\x14GetTransactionResult\x12&.execution.GetTransactionResultRequest\x1a'.execution.GetTransactionResultResponseB`\n" + + "$org.onflow.protobuf.legacy.executionZ8github.com/onflow/flow/protobuf/go/flow/legacy/executionb\x06proto3" + +var ( + file_flow_legacy_execution_execution_proto_rawDescOnce sync.Once + file_flow_legacy_execution_execution_proto_rawDescData []byte +) + +func file_flow_legacy_execution_execution_proto_rawDescGZIP() []byte { + file_flow_legacy_execution_execution_proto_rawDescOnce.Do(func() { + file_flow_legacy_execution_execution_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_flow_legacy_execution_execution_proto_rawDesc), len(file_flow_legacy_execution_execution_proto_rawDesc))) + }) + return file_flow_legacy_execution_execution_proto_rawDescData +} + +var file_flow_legacy_execution_execution_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_flow_legacy_execution_execution_proto_goTypes = []any{ + (*PingRequest)(nil), // 0: execution.PingRequest + (*PingResponse)(nil), // 1: execution.PingResponse + (*GetAccountAtBlockIDRequest)(nil), // 2: execution.GetAccountAtBlockIDRequest + (*GetAccountAtBlockIDResponse)(nil), // 3: execution.GetAccountAtBlockIDResponse + (*ExecuteScriptAtBlockIDRequest)(nil), // 4: execution.ExecuteScriptAtBlockIDRequest + (*ExecuteScriptAtBlockIDResponse)(nil), // 5: execution.ExecuteScriptAtBlockIDResponse + (*GetEventsForBlockIDsResponse)(nil), // 6: execution.GetEventsForBlockIDsResponse + (*GetEventsForBlockIDsRequest)(nil), // 7: execution.GetEventsForBlockIDsRequest + (*GetTransactionResultRequest)(nil), // 8: execution.GetTransactionResultRequest + (*GetTransactionResultResponse)(nil), // 9: execution.GetTransactionResultResponse + (*GetEventsForBlockIDsResponse_Result)(nil), // 10: execution.GetEventsForBlockIDsResponse.Result + (*entities.Account)(nil), // 11: entities.Account + (*entities.Event)(nil), // 12: entities.Event +} +var file_flow_legacy_execution_execution_proto_depIdxs = []int32{ + 11, // 0: execution.GetAccountAtBlockIDResponse.account:type_name -> entities.Account + 10, // 1: execution.GetEventsForBlockIDsResponse.results:type_name -> execution.GetEventsForBlockIDsResponse.Result + 12, // 2: execution.GetTransactionResultResponse.events:type_name -> entities.Event + 12, // 3: execution.GetEventsForBlockIDsResponse.Result.events:type_name -> entities.Event + 0, // 4: execution.ExecutionAPI.Ping:input_type -> execution.PingRequest + 2, // 5: execution.ExecutionAPI.GetAccountAtBlockID:input_type -> execution.GetAccountAtBlockIDRequest + 4, // 6: execution.ExecutionAPI.ExecuteScriptAtBlockID:input_type -> execution.ExecuteScriptAtBlockIDRequest + 7, // 7: execution.ExecutionAPI.GetEventsForBlockIDs:input_type -> execution.GetEventsForBlockIDsRequest + 8, // 8: execution.ExecutionAPI.GetTransactionResult:input_type -> execution.GetTransactionResultRequest + 1, // 9: execution.ExecutionAPI.Ping:output_type -> execution.PingResponse + 3, // 10: execution.ExecutionAPI.GetAccountAtBlockID:output_type -> execution.GetAccountAtBlockIDResponse + 5, // 11: execution.ExecutionAPI.ExecuteScriptAtBlockID:output_type -> execution.ExecuteScriptAtBlockIDResponse + 6, // 12: execution.ExecutionAPI.GetEventsForBlockIDs:output_type -> execution.GetEventsForBlockIDsResponse + 9, // 13: execution.ExecutionAPI.GetTransactionResult:output_type -> execution.GetTransactionResultResponse + 9, // [9:14] is the sub-list for method output_type + 4, // [4:9] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_flow_legacy_execution_execution_proto_init() } +func file_flow_legacy_execution_execution_proto_init() { + if File_flow_legacy_execution_execution_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: unsafe.Slice(unsafe.StringData(file_flow_legacy_execution_execution_proto_rawDesc), len(file_flow_legacy_execution_execution_proto_rawDesc)), + NumEnums: 0, + NumMessages: 11, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_flow_legacy_execution_execution_proto_goTypes, + DependencyIndexes: file_flow_legacy_execution_execution_proto_depIdxs, + MessageInfos: file_flow_legacy_execution_execution_proto_msgTypes, + }.Build() + File_flow_legacy_execution_execution_proto = out.File + file_flow_legacy_execution_execution_proto_goTypes = nil + file_flow_legacy_execution_execution_proto_depIdxs = nil } diff --git a/protobuf/go/flow/legacy/execution/execution_grpc.pb.go b/protobuf/go/flow/legacy/execution/execution_grpc.pb.go index f806f3909..aad3bf623 100644 --- a/protobuf/go/flow/legacy/execution/execution_grpc.pb.go +++ b/protobuf/go/flow/legacy/execution/execution_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.6.0 // - protoc (unknown) // source: flow/legacy/execution/execution.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( ExecutionAPI_Ping_FullMethodName = "/execution.ExecutionAPI/Ping" @@ -29,6 +29,8 @@ const ( // ExecutionAPIClient is the client API for ExecutionAPI service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// ExecutionAPI is the API provided by the execution nodes. type ExecutionAPIClient interface { // Ping is used to check if the access node is alive and healthy. Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) @@ -53,8 +55,9 @@ func NewExecutionAPIClient(cc grpc.ClientConnInterface) ExecutionAPIClient { } func (c *executionAPIClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PingResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_Ping_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_Ping_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -62,8 +65,9 @@ func (c *executionAPIClient) Ping(ctx context.Context, in *PingRequest, opts ... } func (c *executionAPIClient) GetAccountAtBlockID(ctx context.Context, in *GetAccountAtBlockIDRequest, opts ...grpc.CallOption) (*GetAccountAtBlockIDResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAccountAtBlockIDResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetAccountAtBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetAccountAtBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -71,8 +75,9 @@ func (c *executionAPIClient) GetAccountAtBlockID(ctx context.Context, in *GetAcc } func (c *executionAPIClient) ExecuteScriptAtBlockID(ctx context.Context, in *ExecuteScriptAtBlockIDRequest, opts ...grpc.CallOption) (*ExecuteScriptAtBlockIDResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExecuteScriptAtBlockIDResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_ExecuteScriptAtBlockID_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_ExecuteScriptAtBlockID_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -80,8 +85,9 @@ func (c *executionAPIClient) ExecuteScriptAtBlockID(ctx context.Context, in *Exe } func (c *executionAPIClient) GetEventsForBlockIDs(ctx context.Context, in *GetEventsForBlockIDsRequest, opts ...grpc.CallOption) (*GetEventsForBlockIDsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetEventsForBlockIDsResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetEventsForBlockIDs_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetEventsForBlockIDs_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -89,8 +95,9 @@ func (c *executionAPIClient) GetEventsForBlockIDs(ctx context.Context, in *GetEv } func (c *executionAPIClient) GetTransactionResult(ctx context.Context, in *GetTransactionResultRequest, opts ...grpc.CallOption) (*GetTransactionResultResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTransactionResultResponse) - err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionResult_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ExecutionAPI_GetTransactionResult_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -99,7 +106,9 @@ func (c *executionAPIClient) GetTransactionResult(ctx context.Context, in *GetTr // ExecutionAPIServer is the server API for ExecutionAPI service. // All implementations should embed UnimplementedExecutionAPIServer -// for forward compatibility +// for forward compatibility. +// +// ExecutionAPI is the API provided by the execution nodes. type ExecutionAPIServer interface { // Ping is used to check if the access node is alive and healthy. Ping(context.Context, *PingRequest) (*PingResponse, error) @@ -115,25 +124,29 @@ type ExecutionAPIServer interface { GetTransactionResult(context.Context, *GetTransactionResultRequest) (*GetTransactionResultResponse, error) } -// UnimplementedExecutionAPIServer should be embedded to have forward compatible implementations. -type UnimplementedExecutionAPIServer struct { -} +// UnimplementedExecutionAPIServer should be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedExecutionAPIServer struct{} func (UnimplementedExecutionAPIServer) Ping(context.Context, *PingRequest) (*PingResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") + return nil, status.Error(codes.Unimplemented, "method Ping not implemented") } func (UnimplementedExecutionAPIServer) GetAccountAtBlockID(context.Context, *GetAccountAtBlockIDRequest) (*GetAccountAtBlockIDResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountAtBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method GetAccountAtBlockID not implemented") } func (UnimplementedExecutionAPIServer) ExecuteScriptAtBlockID(context.Context, *ExecuteScriptAtBlockIDRequest) (*ExecuteScriptAtBlockIDResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExecuteScriptAtBlockID not implemented") + return nil, status.Error(codes.Unimplemented, "method ExecuteScriptAtBlockID not implemented") } func (UnimplementedExecutionAPIServer) GetEventsForBlockIDs(context.Context, *GetEventsForBlockIDsRequest) (*GetEventsForBlockIDsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEventsForBlockIDs not implemented") + return nil, status.Error(codes.Unimplemented, "method GetEventsForBlockIDs not implemented") } func (UnimplementedExecutionAPIServer) GetTransactionResult(context.Context, *GetTransactionResultRequest) (*GetTransactionResultResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionResult not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransactionResult not implemented") } +func (UnimplementedExecutionAPIServer) testEmbeddedByValue() {} // UnsafeExecutionAPIServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to ExecutionAPIServer will @@ -143,6 +156,13 @@ type UnsafeExecutionAPIServer interface { } func RegisterExecutionAPIServer(s grpc.ServiceRegistrar, srv ExecutionAPIServer) { + // If the following call panics, it indicates UnimplementedExecutionAPIServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&ExecutionAPI_ServiceDesc, srv) } diff --git a/protobuf/tools.go b/protobuf/tools.go deleted file mode 100644 index 07d59d1d8..000000000 --- a/protobuf/tools.go +++ /dev/null @@ -1,8 +0,0 @@ -// +build tools - -package tools - -import ( - _ "google.golang.org/grpc/cmd/protoc-gen-go-grpc" - _ "google.golang.org/protobuf/cmd/protoc-gen-go" -)