protobuf

package
v0.47.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LedgerService_InitialState_FullMethodName   = "/ledger.LedgerService/InitialState"
	LedgerService_HasState_FullMethodName       = "/ledger.LedgerService/HasState"
	LedgerService_GetSingleValue_FullMethodName = "/ledger.LedgerService/GetSingleValue"
	LedgerService_Get_FullMethodName            = "/ledger.LedgerService/Get"
	LedgerService_Set_FullMethodName            = "/ledger.LedgerService/Set"
	LedgerService_Prove_FullMethodName          = "/ledger.LedgerService/Prove"
)

Variables

View Source
var LedgerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ledger.LedgerService",
	HandlerType: (*LedgerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "InitialState",
			Handler:    _LedgerService_InitialState_Handler,
		},
		{
			MethodName: "HasState",
			Handler:    _LedgerService_HasState_Handler,
		},
		{
			MethodName: "GetSingleValue",
			Handler:    _LedgerService_GetSingleValue_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _LedgerService_Get_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _LedgerService_Set_Handler,
		},
		{
			MethodName: "Prove",
			Handler:    _LedgerService_Prove_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ledger.proto",
}

LedgerService_ServiceDesc is the grpc.ServiceDesc for LedgerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterLedgerServiceServer

func RegisterLedgerServiceServer(s grpc.ServiceRegistrar, srv LedgerServiceServer)

Types

type GetRequest

type GetRequest struct {
	State                *State   `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Keys                 []*Key   `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetRequest contains a query for multiple values

func (*GetRequest) Descriptor

func (*GetRequest) Descriptor() ([]byte, []int)

func (*GetRequest) GetKeys

func (m *GetRequest) GetKeys() []*Key

func (*GetRequest) GetState

func (m *GetRequest) GetState() *State

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) XXX_DiscardUnknown

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal

func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRequest) XXX_Merge

func (m *GetRequest) XXX_Merge(src proto.Message)

func (*GetRequest) XXX_Size

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal

func (m *GetRequest) XXX_Unmarshal(b []byte) error

type GetResponse

type GetResponse struct {
	Values               []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetResponse contains multiple values

func (*GetResponse) Descriptor

func (*GetResponse) Descriptor() ([]byte, []int)

func (*GetResponse) GetValues

func (m *GetResponse) GetValues() []*Value

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset

func (m *GetResponse) Reset()

func (*GetResponse) String

func (m *GetResponse) String() string

func (*GetResponse) XXX_DiscardUnknown

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal

func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetResponse) XXX_Merge

func (m *GetResponse) XXX_Merge(src proto.Message)

func (*GetResponse) XXX_Size

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal

func (m *GetResponse) XXX_Unmarshal(b []byte) error

type GetSingleValueRequest

type GetSingleValueRequest struct {
	State                *State   `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Key                  *Key     `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetSingleValueRequest contains a query for a single value

func (*GetSingleValueRequest) Descriptor

func (*GetSingleValueRequest) Descriptor() ([]byte, []int)

func (*GetSingleValueRequest) GetKey

func (m *GetSingleValueRequest) GetKey() *Key

func (*GetSingleValueRequest) GetState

func (m *GetSingleValueRequest) GetState() *State

func (*GetSingleValueRequest) ProtoMessage

func (*GetSingleValueRequest) ProtoMessage()

func (*GetSingleValueRequest) Reset

func (m *GetSingleValueRequest) Reset()

func (*GetSingleValueRequest) String

func (m *GetSingleValueRequest) String() string

func (*GetSingleValueRequest) XXX_DiscardUnknown

func (m *GetSingleValueRequest) XXX_DiscardUnknown()

func (*GetSingleValueRequest) XXX_Marshal

func (m *GetSingleValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSingleValueRequest) XXX_Merge

func (m *GetSingleValueRequest) XXX_Merge(src proto.Message)

func (*GetSingleValueRequest) XXX_Size

func (m *GetSingleValueRequest) XXX_Size() int

func (*GetSingleValueRequest) XXX_Unmarshal

func (m *GetSingleValueRequest) XXX_Unmarshal(b []byte) error

type HasStateResponse

type HasStateResponse struct {
	HasState             bool     `protobuf:"varint,1,opt,name=has_state,json=hasState,proto3" json:"has_state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

HasStateResponse indicates if a state exists

func (*HasStateResponse) Descriptor

func (*HasStateResponse) Descriptor() ([]byte, []int)

func (*HasStateResponse) GetHasState

func (m *HasStateResponse) GetHasState() bool

func (*HasStateResponse) ProtoMessage

func (*HasStateResponse) ProtoMessage()

func (*HasStateResponse) Reset

func (m *HasStateResponse) Reset()

func (*HasStateResponse) String

func (m *HasStateResponse) String() string

func (*HasStateResponse) XXX_DiscardUnknown

func (m *HasStateResponse) XXX_DiscardUnknown()

func (*HasStateResponse) XXX_Marshal

func (m *HasStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HasStateResponse) XXX_Merge

func (m *HasStateResponse) XXX_Merge(src proto.Message)

func (*HasStateResponse) XXX_Size

func (m *HasStateResponse) XXX_Size() int

func (*HasStateResponse) XXX_Unmarshal

func (m *HasStateResponse) XXX_Unmarshal(b []byte) error

type Key

type Key struct {
	Parts                []*KeyPart `protobuf:"bytes,1,rep,name=parts,proto3" json:"parts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Key represents a hierarchical ledger key

func (*Key) Descriptor

func (*Key) Descriptor() ([]byte, []int)

func (*Key) GetParts

func (m *Key) GetParts() []*KeyPart

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) Reset

func (m *Key) Reset()

func (*Key) String

func (m *Key) String() string

func (*Key) XXX_DiscardUnknown

func (m *Key) XXX_DiscardUnknown()

func (*Key) XXX_Marshal

func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Key) XXX_Merge

func (m *Key) XXX_Merge(src proto.Message)

func (*Key) XXX_Size

func (m *Key) XXX_Size() int

func (*Key) XXX_Unmarshal

func (m *Key) XXX_Unmarshal(b []byte) error

type KeyPart

type KeyPart struct {
	// type is actually uint16 but uint16 is not available in proto3
	Type                 uint32   `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

KeyPart represents a part of a hierarchical key

func (*KeyPart) Descriptor

func (*KeyPart) Descriptor() ([]byte, []int)

func (*KeyPart) GetType

func (m *KeyPart) GetType() uint32

func (*KeyPart) GetValue

func (m *KeyPart) GetValue() []byte

func (*KeyPart) ProtoMessage

func (*KeyPart) ProtoMessage()

func (*KeyPart) Reset

func (m *KeyPart) Reset()

func (*KeyPart) String

func (m *KeyPart) String() string

func (*KeyPart) XXX_DiscardUnknown

func (m *KeyPart) XXX_DiscardUnknown()

func (*KeyPart) XXX_Marshal

func (m *KeyPart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyPart) XXX_Merge

func (m *KeyPart) XXX_Merge(src proto.Message)

func (*KeyPart) XXX_Size

func (m *KeyPart) XXX_Size() int

func (*KeyPart) XXX_Unmarshal

func (m *KeyPart) XXX_Unmarshal(b []byte) error

type LedgerServiceClient

type LedgerServiceClient interface {
	// InitialState returns the initial state of the ledger
	InitialState(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StateResponse, error)
	// HasState checks if the given state exists in the ledger
	HasState(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*HasStateResponse, error)
	// GetSingleValue returns a single value for a given key at a specific state
	GetSingleValue(ctx context.Context, in *GetSingleValueRequest, opts ...grpc.CallOption) (*ValueResponse, error)
	// Get returns values for multiple keys at a specific state
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	// Set updates keys with new values at a specific state and returns the new state
	Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error)
	// Prove returns proofs for the given keys at a specific state
	Prove(ctx context.Context, in *ProveRequest, opts ...grpc.CallOption) (*ProofResponse, error)
}

LedgerServiceClient is the client API for LedgerService 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.

type LedgerServiceServer

type LedgerServiceServer interface {
	// InitialState returns the initial state of the ledger
	InitialState(context.Context, *emptypb.Empty) (*StateResponse, error)
	// HasState checks if the given state exists in the ledger
	HasState(context.Context, *StateRequest) (*HasStateResponse, error)
	// GetSingleValue returns a single value for a given key at a specific state
	GetSingleValue(context.Context, *GetSingleValueRequest) (*ValueResponse, error)
	// Get returns values for multiple keys at a specific state
	Get(context.Context, *GetRequest) (*GetResponse, error)
	// Set updates keys with new values at a specific state and returns the new state
	Set(context.Context, *SetRequest) (*SetResponse, error)
	// Prove returns proofs for the given keys at a specific state
	Prove(context.Context, *ProveRequest) (*ProofResponse, error)
	// contains filtered or unexported methods
}

LedgerServiceServer is the server API for LedgerService service. All implementations must embed UnimplementedLedgerServiceServer for forward compatibility

type ProofResponse

type ProofResponse struct {
	Proof                []byte   `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ProofResponse contains a proof

func (*ProofResponse) Descriptor

func (*ProofResponse) Descriptor() ([]byte, []int)

func (*ProofResponse) GetProof

func (m *ProofResponse) GetProof() []byte

func (*ProofResponse) ProtoMessage

func (*ProofResponse) ProtoMessage()

func (*ProofResponse) Reset

func (m *ProofResponse) Reset()

func (*ProofResponse) String

func (m *ProofResponse) String() string

func (*ProofResponse) XXX_DiscardUnknown

func (m *ProofResponse) XXX_DiscardUnknown()

func (*ProofResponse) XXX_Marshal

func (m *ProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProofResponse) XXX_Merge

func (m *ProofResponse) XXX_Merge(src proto.Message)

func (*ProofResponse) XXX_Size

func (m *ProofResponse) XXX_Size() int

func (*ProofResponse) XXX_Unmarshal

func (m *ProofResponse) XXX_Unmarshal(b []byte) error

type ProveRequest

type ProveRequest struct {
	State                *State   `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Keys                 []*Key   `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ProveRequest contains a proof query

func (*ProveRequest) Descriptor

func (*ProveRequest) Descriptor() ([]byte, []int)

func (*ProveRequest) GetKeys

func (m *ProveRequest) GetKeys() []*Key

func (*ProveRequest) GetState

func (m *ProveRequest) GetState() *State

func (*ProveRequest) ProtoMessage

func (*ProveRequest) ProtoMessage()

func (*ProveRequest) Reset

func (m *ProveRequest) Reset()

func (*ProveRequest) String

func (m *ProveRequest) String() string

func (*ProveRequest) XXX_DiscardUnknown

func (m *ProveRequest) XXX_DiscardUnknown()

func (*ProveRequest) XXX_Marshal

func (m *ProveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProveRequest) XXX_Merge

func (m *ProveRequest) XXX_Merge(src proto.Message)

func (*ProveRequest) XXX_Size

func (m *ProveRequest) XXX_Size() int

func (*ProveRequest) XXX_Unmarshal

func (m *ProveRequest) XXX_Unmarshal(b []byte) error

type SetRequest

type SetRequest struct {
	State                *State   `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Keys                 []*Key   `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
	Values               []*Value `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SetRequest contains an update operation

func (*SetRequest) Descriptor

func (*SetRequest) Descriptor() ([]byte, []int)

func (*SetRequest) GetKeys

func (m *SetRequest) GetKeys() []*Key

func (*SetRequest) GetState

func (m *SetRequest) GetState() *State

func (*SetRequest) GetValues

func (m *SetRequest) GetValues() []*Value

func (*SetRequest) ProtoMessage

func (*SetRequest) ProtoMessage()

func (*SetRequest) Reset

func (m *SetRequest) Reset()

func (*SetRequest) String

func (m *SetRequest) String() string

func (*SetRequest) XXX_DiscardUnknown

func (m *SetRequest) XXX_DiscardUnknown()

func (*SetRequest) XXX_Marshal

func (m *SetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetRequest) XXX_Merge

func (m *SetRequest) XXX_Merge(src proto.Message)

func (*SetRequest) XXX_Size

func (m *SetRequest) XXX_Size() int

func (*SetRequest) XXX_Unmarshal

func (m *SetRequest) XXX_Unmarshal(b []byte) error

type SetResponse

type SetResponse struct {
	NewState             *State   `protobuf:"bytes,1,opt,name=new_state,json=newState,proto3" json:"new_state,omitempty"`
	TrieUpdate           []byte   `protobuf:"bytes,2,opt,name=trie_update,json=trieUpdate,proto3" json:"trie_update,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SetResponse contains the new state after an update

func (*SetResponse) Descriptor

func (*SetResponse) Descriptor() ([]byte, []int)

func (*SetResponse) GetNewState

func (m *SetResponse) GetNewState() *State

func (*SetResponse) GetTrieUpdate

func (m *SetResponse) GetTrieUpdate() []byte

func (*SetResponse) ProtoMessage

func (*SetResponse) ProtoMessage()

func (*SetResponse) Reset

func (m *SetResponse) Reset()

func (*SetResponse) String

func (m *SetResponse) String() string

func (*SetResponse) XXX_DiscardUnknown

func (m *SetResponse) XXX_DiscardUnknown()

func (*SetResponse) XXX_Marshal

func (m *SetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetResponse) XXX_Merge

func (m *SetResponse) XXX_Merge(src proto.Message)

func (*SetResponse) XXX_Size

func (m *SetResponse) XXX_Size() int

func (*SetResponse) XXX_Unmarshal

func (m *SetResponse) XXX_Unmarshal(b []byte) error

type State

type State struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

State represents a ledger state (32-byte hash)

func (*State) Descriptor

func (*State) Descriptor() ([]byte, []int)

func (*State) GetHash

func (m *State) GetHash() []byte

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) Reset

func (m *State) Reset()

func (*State) String

func (m *State) String() string

func (*State) XXX_DiscardUnknown

func (m *State) XXX_DiscardUnknown()

func (*State) XXX_Marshal

func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*State) XXX_Merge

func (m *State) XXX_Merge(src proto.Message)

func (*State) XXX_Size

func (m *State) XXX_Size() int

func (*State) XXX_Unmarshal

func (m *State) XXX_Unmarshal(b []byte) error

type StateRequest

type StateRequest struct {
	State                *State   `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

StateRequest contains a state to query

func (*StateRequest) Descriptor

func (*StateRequest) Descriptor() ([]byte, []int)

func (*StateRequest) GetState

func (m *StateRequest) GetState() *State

func (*StateRequest) ProtoMessage

func (*StateRequest) ProtoMessage()

func (*StateRequest) Reset

func (m *StateRequest) Reset()

func (*StateRequest) String

func (m *StateRequest) String() string

func (*StateRequest) XXX_DiscardUnknown

func (m *StateRequest) XXX_DiscardUnknown()

func (*StateRequest) XXX_Marshal

func (m *StateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateRequest) XXX_Merge

func (m *StateRequest) XXX_Merge(src proto.Message)

func (*StateRequest) XXX_Size

func (m *StateRequest) XXX_Size() int

func (*StateRequest) XXX_Unmarshal

func (m *StateRequest) XXX_Unmarshal(b []byte) error

type StateResponse

type StateResponse struct {
	State                *State   `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

StateResponse contains a state

func (*StateResponse) Descriptor

func (*StateResponse) Descriptor() ([]byte, []int)

func (*StateResponse) GetState

func (m *StateResponse) GetState() *State

func (*StateResponse) ProtoMessage

func (*StateResponse) ProtoMessage()

func (*StateResponse) Reset

func (m *StateResponse) Reset()

func (*StateResponse) String

func (m *StateResponse) String() string

func (*StateResponse) XXX_DiscardUnknown

func (m *StateResponse) XXX_DiscardUnknown()

func (*StateResponse) XXX_Marshal

func (m *StateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateResponse) XXX_Merge

func (m *StateResponse) XXX_Merge(src proto.Message)

func (*StateResponse) XXX_Size

func (m *StateResponse) XXX_Size() int

func (*StateResponse) XXX_Unmarshal

func (m *StateResponse) XXX_Unmarshal(b []byte) error

type UnimplementedLedgerServiceServer

type UnimplementedLedgerServiceServer struct {
}

UnimplementedLedgerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLedgerServiceServer) Get

func (UnimplementedLedgerServiceServer) GetSingleValue

func (UnimplementedLedgerServiceServer) HasState

func (UnimplementedLedgerServiceServer) InitialState

func (UnimplementedLedgerServiceServer) Prove

func (UnimplementedLedgerServiceServer) Set

type UnsafeLedgerServiceServer

type UnsafeLedgerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLedgerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LedgerServiceServer will result in compilation errors.

type Value

type Value struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// is_nil distinguishes between nil and []byte{} (empty slice).
	// When data is nil or empty:
	//   - is_nil=true means the original value was nil
	//   - is_nil=false means the original value was []byte{} (empty slice)
	//
	// When data is non-empty, is_nil is ignored (should be false).
	IsNil                bool     `protobuf:"varint,2,opt,name=is_nil,json=isNil,proto3" json:"is_nil,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Value represents a ledger value

func (*Value) Descriptor

func (*Value) Descriptor() ([]byte, []int)

func (*Value) GetData

func (m *Value) GetData() []byte

func (*Value) GetIsNil

func (m *Value) GetIsNil() bool

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) Reset

func (m *Value) Reset()

func (*Value) String

func (m *Value) String() string

func (*Value) XXX_DiscardUnknown

func (m *Value) XXX_DiscardUnknown()

func (*Value) XXX_Marshal

func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Value) XXX_Merge

func (m *Value) XXX_Merge(src proto.Message)

func (*Value) XXX_Size

func (m *Value) XXX_Size() int

func (*Value) XXX_Unmarshal

func (m *Value) XXX_Unmarshal(b []byte) error

type ValueResponse

type ValueResponse struct {
	Value                *Value   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ValueResponse contains a single value

func (*ValueResponse) Descriptor

func (*ValueResponse) Descriptor() ([]byte, []int)

func (*ValueResponse) GetValue

func (m *ValueResponse) GetValue() *Value

func (*ValueResponse) ProtoMessage

func (*ValueResponse) ProtoMessage()

func (*ValueResponse) Reset

func (m *ValueResponse) Reset()

func (*ValueResponse) String

func (m *ValueResponse) String() string

func (*ValueResponse) XXX_DiscardUnknown

func (m *ValueResponse) XXX_DiscardUnknown()

func (*ValueResponse) XXX_Marshal

func (m *ValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValueResponse) XXX_Merge

func (m *ValueResponse) XXX_Merge(src proto.Message)

func (*ValueResponse) XXX_Size

func (m *ValueResponse) XXX_Size() int

func (*ValueResponse) XXX_Unmarshal

func (m *ValueResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL