Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func VendorInfoKey(vendorID int32) []byte
- type DclauthKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetVendorInfoList() []VendorInfo
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateVendorInfo
- func (*MsgCreateVendorInfo) Descriptor() ([]byte, []int)
- func (m *MsgCreateVendorInfo) GetCompanyLegalName() string
- func (m *MsgCreateVendorInfo) GetCompanyPreferredName() string
- func (m *MsgCreateVendorInfo) GetCreator() string
- func (m *MsgCreateVendorInfo) GetSchemaVersion() uint32
- func (msg *MsgCreateVendorInfo) GetSignBytes() []byte
- func (msg *MsgCreateVendorInfo) GetSigners() []sdk.AccAddress
- func (m *MsgCreateVendorInfo) GetVendorID() int32
- func (m *MsgCreateVendorInfo) GetVendorLandingPageURL() string
- func (m *MsgCreateVendorInfo) GetVendorName() string
- func (m *MsgCreateVendorInfo) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateVendorInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateVendorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateVendorInfo) ProtoMessage()
- func (m *MsgCreateVendorInfo) Reset()
- func (msg *MsgCreateVendorInfo) Route() string
- func (m *MsgCreateVendorInfo) Size() (n int)
- func (m *MsgCreateVendorInfo) String() string
- func (msg *MsgCreateVendorInfo) Type() string
- func (m *MsgCreateVendorInfo) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateVendorInfo) ValidateBasic() error
- func (m *MsgCreateVendorInfo) XXX_DiscardUnknown()
- func (m *MsgCreateVendorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateVendorInfo) XXX_Merge(src proto.Message)
- func (m *MsgCreateVendorInfo) XXX_Size() int
- func (m *MsgCreateVendorInfo) XXX_Unmarshal(b []byte) error
- type MsgCreateVendorInfoResponse
- func (*MsgCreateVendorInfoResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateVendorInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateVendorInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateVendorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateVendorInfoResponse) ProtoMessage()
- func (m *MsgCreateVendorInfoResponse) Reset()
- func (m *MsgCreateVendorInfoResponse) Size() (n int)
- func (m *MsgCreateVendorInfoResponse) String() string
- func (m *MsgCreateVendorInfoResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateVendorInfoResponse) XXX_DiscardUnknown()
- func (m *MsgCreateVendorInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateVendorInfoResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateVendorInfoResponse) XXX_Size() int
- func (m *MsgCreateVendorInfoResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateVendorInfo
- func (*MsgUpdateVendorInfo) Descriptor() ([]byte, []int)
- func (m *MsgUpdateVendorInfo) GetCompanyLegalName() string
- func (m *MsgUpdateVendorInfo) GetCompanyPreferredName() string
- func (m *MsgUpdateVendorInfo) GetCreator() string
- func (m *MsgUpdateVendorInfo) GetSchemaVersion() uint32
- func (msg *MsgUpdateVendorInfo) GetSignBytes() []byte
- func (msg *MsgUpdateVendorInfo) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateVendorInfo) GetVendorID() int32
- func (m *MsgUpdateVendorInfo) GetVendorLandingPageURL() string
- func (m *MsgUpdateVendorInfo) GetVendorName() string
- func (m *MsgUpdateVendorInfo) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateVendorInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateVendorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateVendorInfo) ProtoMessage()
- func (m *MsgUpdateVendorInfo) Reset()
- func (msg *MsgUpdateVendorInfo) Route() string
- func (m *MsgUpdateVendorInfo) Size() (n int)
- func (m *MsgUpdateVendorInfo) String() string
- func (msg *MsgUpdateVendorInfo) Type() string
- func (m *MsgUpdateVendorInfo) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateVendorInfo) ValidateBasic() error
- func (m *MsgUpdateVendorInfo) XXX_DiscardUnknown()
- func (m *MsgUpdateVendorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateVendorInfo) XXX_Merge(src proto.Message)
- func (m *MsgUpdateVendorInfo) XXX_Size() int
- func (m *MsgUpdateVendorInfo) XXX_Unmarshal(b []byte) error
- type MsgUpdateVendorInfoResponse
- func (*MsgUpdateVendorInfoResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateVendorInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateVendorInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateVendorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateVendorInfoResponse) ProtoMessage()
- func (m *MsgUpdateVendorInfoResponse) Reset()
- func (m *MsgUpdateVendorInfoResponse) Size() (n int)
- func (m *MsgUpdateVendorInfoResponse) String() string
- func (m *MsgUpdateVendorInfoResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateVendorInfoResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateVendorInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateVendorInfoResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateVendorInfoResponse) XXX_Size() int
- func (m *MsgUpdateVendorInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryAllVendorInfoRequest
- func (*QueryAllVendorInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllVendorInfoRequest) GetPagination() *query.PageRequest
- func (m *QueryAllVendorInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllVendorInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllVendorInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllVendorInfoRequest) ProtoMessage()
- func (m *QueryAllVendorInfoRequest) Reset()
- func (m *QueryAllVendorInfoRequest) Size() (n int)
- func (m *QueryAllVendorInfoRequest) String() string
- func (m *QueryAllVendorInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllVendorInfoRequest) XXX_DiscardUnknown()
- func (m *QueryAllVendorInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllVendorInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllVendorInfoRequest) XXX_Size() int
- func (m *QueryAllVendorInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryAllVendorInfoResponse
- func (*QueryAllVendorInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllVendorInfoResponse) GetPagination() *query.PageResponse
- func (m *QueryAllVendorInfoResponse) GetVendorInfo() []VendorInfo
- func (m *QueryAllVendorInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllVendorInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllVendorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllVendorInfoResponse) ProtoMessage()
- func (m *QueryAllVendorInfoResponse) Reset()
- func (m *QueryAllVendorInfoResponse) Size() (n int)
- func (m *QueryAllVendorInfoResponse) String() string
- func (m *QueryAllVendorInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllVendorInfoResponse) XXX_DiscardUnknown()
- func (m *QueryAllVendorInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllVendorInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllVendorInfoResponse) XXX_Size() int
- func (m *QueryAllVendorInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetVendorInfoRequest
- func (*QueryGetVendorInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetVendorInfoRequest) GetVendorID() int32
- func (m *QueryGetVendorInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetVendorInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetVendorInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetVendorInfoRequest) ProtoMessage()
- func (m *QueryGetVendorInfoRequest) Reset()
- func (m *QueryGetVendorInfoRequest) Size() (n int)
- func (m *QueryGetVendorInfoRequest) String() string
- func (m *QueryGetVendorInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetVendorInfoRequest) XXX_DiscardUnknown()
- func (m *QueryGetVendorInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetVendorInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetVendorInfoRequest) XXX_Size() int
- func (m *QueryGetVendorInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryGetVendorInfoResponse
- func (*QueryGetVendorInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetVendorInfoResponse) GetVendorInfo() VendorInfo
- func (m *QueryGetVendorInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetVendorInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetVendorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetVendorInfoResponse) ProtoMessage()
- func (m *QueryGetVendorInfoResponse) Reset()
- func (m *QueryGetVendorInfoResponse) Size() (n int)
- func (m *QueryGetVendorInfoResponse) String() string
- func (m *QueryGetVendorInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetVendorInfoResponse) XXX_DiscardUnknown()
- func (m *QueryGetVendorInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetVendorInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetVendorInfoResponse) XXX_Size() int
- func (m *QueryGetVendorInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- type VendorInfo
- func (*VendorInfo) Descriptor() ([]byte, []int)
- func (m *VendorInfo) GetCompanyLegalName() string
- func (m *VendorInfo) GetCompanyPreferredName() string
- func (m *VendorInfo) GetCreator() string
- func (m *VendorInfo) GetSchemaVersion() uint32
- func (m *VendorInfo) GetVendorID() int32
- func (m *VendorInfo) GetVendorLandingPageURL() string
- func (m *VendorInfo) GetVendorName() string
- func (m *VendorInfo) Marshal() (dAtA []byte, err error)
- func (m *VendorInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *VendorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VendorInfo) ProtoMessage()
- func (m *VendorInfo) Reset()
- func (m *VendorInfo) Size() (n int)
- func (m *VendorInfo) String() string
- func (m *VendorInfo) Unmarshal(dAtA []byte) error
- func (m *VendorInfo) XXX_DiscardUnknown()
- func (m *VendorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VendorInfo) XXX_Merge(src proto.Message)
- func (m *VendorInfo) XXX_Size() int
- func (m *VendorInfo) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ModuleName defines the module name. ModuleName = "vendorinfo" // StoreKey defines the primary module store key. StoreKey = ModuleName // RouterKey is the message route for slashing. RouterKey = ModuleName // QuerierRoute defines the module's query routing key. QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key. MemStoreKey = "mem_vendorinfo" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index.
const (
// VendorInfoKeyPrefix is the prefix to retrieve all VendorInfo.
VendorInfoKeyPrefix = "VendorInfo/value/"
)
Variables ¶
var ( DefaultCodespace = ModuleName CodeVendorDoesNotExist = errors.Register(ModuleName, 701, "Code vendor does not exist") CodeMissingVendorIDForVendorAccount = errors.Register(ModuleName, 702, "Code missing vendor id for vendor account") CodeVendorInfoAlreadyExists = errors.Register(ModuleName, 703, "Code vendorinfo already exists") )
x/vendorinfo module sentinel errors.
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthVendorInfo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowVendorInfo = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupVendorInfo = fmt.Errorf("proto: unexpected end of group") )
var ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
Functions ¶
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func VendorInfoKey ¶
VendorInfoKey returns the store key to retrieve a VendorInfo from the index fields.
Types ¶
type DclauthKeeper ¶
type DclauthKeeper interface { // Methods imported from dclauth should be defined here HasRole(ctx sdk.Context, addr sdk.AccAddress, roleToCheck types.AccountRole) bool HasVendorID(ctx sdk.Context, addr sdk.AccAddress, vid int32) bool }
type GenesisState ¶
type GenesisState struct {
VendorInfoList []VendorInfo `protobuf:"bytes,1,rep,name=vendorInfoList,proto3" json:"vendorInfoList"`
}
GenesisState defines the vendorinfo module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetVendorInfoList ¶
func (m *GenesisState) GetVendorInfoList() []VendorInfo
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { CreateVendorInfo(ctx context.Context, in *MsgCreateVendorInfo, opts ...grpc.CallOption) (*MsgCreateVendorInfoResponse, error) UpdateVendorInfo(ctx context.Context, in *MsgUpdateVendorInfo, opts ...grpc.CallOption) (*MsgUpdateVendorInfoResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateVendorInfo ¶
type MsgCreateVendorInfo struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" validate:"required"` VendorID int32 `protobuf:"varint,2,opt,name=vendorID,proto3" json:"vendorID,omitempty" validate:"gte=1,lte=65535"` VendorName string `protobuf:"bytes,3,opt,name=vendorName,proto3" json:"vendorName,omitempty" validate:"required,max=128"` CompanyLegalName string `protobuf:"bytes,4,opt,name=companyLegalName,proto3" json:"companyLegalName,omitempty" validate:"required,max=256"` CompanyPreferredName string `protobuf:"bytes,5,opt,name=companyPreferredName,proto3" json:"companyPreferredName,omitempty" validate:"omitempty,max=256"` VendorLandingPageURL string `` /* 144-byte string literal not displayed */ SchemaVersion uint32 `protobuf:"varint,7,opt,name=schemaVersion,proto3" json:"schemaVersion,omitempty" validate:"eq=0"` }
func NewMsgCreateVendorInfo ¶
func (*MsgCreateVendorInfo) Descriptor ¶
func (*MsgCreateVendorInfo) Descriptor() ([]byte, []int)
func (*MsgCreateVendorInfo) GetCompanyLegalName ¶
func (m *MsgCreateVendorInfo) GetCompanyLegalName() string
func (*MsgCreateVendorInfo) GetCompanyPreferredName ¶ added in v0.10.0
func (m *MsgCreateVendorInfo) GetCompanyPreferredName() string
func (*MsgCreateVendorInfo) GetCreator ¶
func (m *MsgCreateVendorInfo) GetCreator() string
func (*MsgCreateVendorInfo) GetSchemaVersion ¶ added in v1.4.0
func (m *MsgCreateVendorInfo) GetSchemaVersion() uint32
func (*MsgCreateVendorInfo) GetSignBytes ¶
func (msg *MsgCreateVendorInfo) GetSignBytes() []byte
func (*MsgCreateVendorInfo) GetSigners ¶
func (msg *MsgCreateVendorInfo) GetSigners() []sdk.AccAddress
func (*MsgCreateVendorInfo) GetVendorID ¶
func (m *MsgCreateVendorInfo) GetVendorID() int32
func (*MsgCreateVendorInfo) GetVendorLandingPageURL ¶
func (m *MsgCreateVendorInfo) GetVendorLandingPageURL() string
func (*MsgCreateVendorInfo) GetVendorName ¶
func (m *MsgCreateVendorInfo) GetVendorName() string
func (*MsgCreateVendorInfo) Marshal ¶
func (m *MsgCreateVendorInfo) Marshal() (dAtA []byte, err error)
func (*MsgCreateVendorInfo) MarshalTo ¶
func (m *MsgCreateVendorInfo) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateVendorInfo) MarshalToSizedBuffer ¶
func (m *MsgCreateVendorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateVendorInfo) ProtoMessage ¶
func (*MsgCreateVendorInfo) ProtoMessage()
func (*MsgCreateVendorInfo) Reset ¶
func (m *MsgCreateVendorInfo) Reset()
func (*MsgCreateVendorInfo) Route ¶
func (msg *MsgCreateVendorInfo) Route() string
func (*MsgCreateVendorInfo) Size ¶
func (m *MsgCreateVendorInfo) Size() (n int)
func (*MsgCreateVendorInfo) String ¶
func (m *MsgCreateVendorInfo) String() string
func (*MsgCreateVendorInfo) Type ¶
func (msg *MsgCreateVendorInfo) Type() string
func (*MsgCreateVendorInfo) Unmarshal ¶
func (m *MsgCreateVendorInfo) Unmarshal(dAtA []byte) error
func (*MsgCreateVendorInfo) ValidateBasic ¶
func (msg *MsgCreateVendorInfo) ValidateBasic() error
func (*MsgCreateVendorInfo) XXX_DiscardUnknown ¶
func (m *MsgCreateVendorInfo) XXX_DiscardUnknown()
func (*MsgCreateVendorInfo) XXX_Marshal ¶
func (m *MsgCreateVendorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateVendorInfo) XXX_Merge ¶
func (m *MsgCreateVendorInfo) XXX_Merge(src proto.Message)
func (*MsgCreateVendorInfo) XXX_Size ¶
func (m *MsgCreateVendorInfo) XXX_Size() int
func (*MsgCreateVendorInfo) XXX_Unmarshal ¶
func (m *MsgCreateVendorInfo) XXX_Unmarshal(b []byte) error
type MsgCreateVendorInfoResponse ¶
type MsgCreateVendorInfoResponse struct { }
func (*MsgCreateVendorInfoResponse) Descriptor ¶
func (*MsgCreateVendorInfoResponse) Descriptor() ([]byte, []int)
func (*MsgCreateVendorInfoResponse) Marshal ¶
func (m *MsgCreateVendorInfoResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateVendorInfoResponse) MarshalTo ¶
func (m *MsgCreateVendorInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateVendorInfoResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateVendorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateVendorInfoResponse) ProtoMessage ¶
func (*MsgCreateVendorInfoResponse) ProtoMessage()
func (*MsgCreateVendorInfoResponse) Reset ¶
func (m *MsgCreateVendorInfoResponse) Reset()
func (*MsgCreateVendorInfoResponse) Size ¶
func (m *MsgCreateVendorInfoResponse) Size() (n int)
func (*MsgCreateVendorInfoResponse) String ¶
func (m *MsgCreateVendorInfoResponse) String() string
func (*MsgCreateVendorInfoResponse) Unmarshal ¶
func (m *MsgCreateVendorInfoResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateVendorInfoResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateVendorInfoResponse) XXX_DiscardUnknown()
func (*MsgCreateVendorInfoResponse) XXX_Marshal ¶
func (m *MsgCreateVendorInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateVendorInfoResponse) XXX_Merge ¶
func (m *MsgCreateVendorInfoResponse) XXX_Merge(src proto.Message)
func (*MsgCreateVendorInfoResponse) XXX_Size ¶
func (m *MsgCreateVendorInfoResponse) XXX_Size() int
func (*MsgCreateVendorInfoResponse) XXX_Unmarshal ¶
func (m *MsgCreateVendorInfoResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateVendorInfo(context.Context, *MsgCreateVendorInfo) (*MsgCreateVendorInfoResponse, error) UpdateVendorInfo(context.Context, *MsgUpdateVendorInfo) (*MsgUpdateVendorInfoResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateVendorInfo ¶
type MsgUpdateVendorInfo struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" validate:"required"` VendorID int32 `protobuf:"varint,2,opt,name=vendorID,proto3" json:"vendorID,omitempty" validate:"gte=1,lte=65535"` VendorName string `protobuf:"bytes,3,opt,name=vendorName,proto3" json:"vendorName,omitempty" validate:"omitempty,max=128"` CompanyLegalName string `protobuf:"bytes,4,opt,name=companyLegalName,proto3" json:"companyLegalName,omitempty" validate:"omitempty,max=256"` CompanyPreferredName string `protobuf:"bytes,5,opt,name=companyPreferredName,proto3" json:"companyPreferredName,omitempty" validate:"omitempty,max=256"` VendorLandingPageURL string `` /* 144-byte string literal not displayed */ SchemaVersion uint32 `protobuf:"varint,7,opt,name=schemaVersion,proto3" json:"schemaVersion,omitempty" validate:"eq=0"` }
func NewMsgUpdateVendorInfo ¶
func (*MsgUpdateVendorInfo) Descriptor ¶
func (*MsgUpdateVendorInfo) Descriptor() ([]byte, []int)
func (*MsgUpdateVendorInfo) GetCompanyLegalName ¶
func (m *MsgUpdateVendorInfo) GetCompanyLegalName() string
func (*MsgUpdateVendorInfo) GetCompanyPreferredName ¶ added in v0.10.0
func (m *MsgUpdateVendorInfo) GetCompanyPreferredName() string
func (*MsgUpdateVendorInfo) GetCreator ¶
func (m *MsgUpdateVendorInfo) GetCreator() string
func (*MsgUpdateVendorInfo) GetSchemaVersion ¶ added in v1.4.0
func (m *MsgUpdateVendorInfo) GetSchemaVersion() uint32
func (*MsgUpdateVendorInfo) GetSignBytes ¶
func (msg *MsgUpdateVendorInfo) GetSignBytes() []byte
func (*MsgUpdateVendorInfo) GetSigners ¶
func (msg *MsgUpdateVendorInfo) GetSigners() []sdk.AccAddress
func (*MsgUpdateVendorInfo) GetVendorID ¶
func (m *MsgUpdateVendorInfo) GetVendorID() int32
func (*MsgUpdateVendorInfo) GetVendorLandingPageURL ¶
func (m *MsgUpdateVendorInfo) GetVendorLandingPageURL() string
func (*MsgUpdateVendorInfo) GetVendorName ¶
func (m *MsgUpdateVendorInfo) GetVendorName() string
func (*MsgUpdateVendorInfo) Marshal ¶
func (m *MsgUpdateVendorInfo) Marshal() (dAtA []byte, err error)
func (*MsgUpdateVendorInfo) MarshalTo ¶
func (m *MsgUpdateVendorInfo) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateVendorInfo) MarshalToSizedBuffer ¶
func (m *MsgUpdateVendorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateVendorInfo) ProtoMessage ¶
func (*MsgUpdateVendorInfo) ProtoMessage()
func (*MsgUpdateVendorInfo) Reset ¶
func (m *MsgUpdateVendorInfo) Reset()
func (*MsgUpdateVendorInfo) Route ¶
func (msg *MsgUpdateVendorInfo) Route() string
func (*MsgUpdateVendorInfo) Size ¶
func (m *MsgUpdateVendorInfo) Size() (n int)
func (*MsgUpdateVendorInfo) String ¶
func (m *MsgUpdateVendorInfo) String() string
func (*MsgUpdateVendorInfo) Type ¶
func (msg *MsgUpdateVendorInfo) Type() string
func (*MsgUpdateVendorInfo) Unmarshal ¶
func (m *MsgUpdateVendorInfo) Unmarshal(dAtA []byte) error
func (*MsgUpdateVendorInfo) ValidateBasic ¶
func (msg *MsgUpdateVendorInfo) ValidateBasic() error
func (*MsgUpdateVendorInfo) XXX_DiscardUnknown ¶
func (m *MsgUpdateVendorInfo) XXX_DiscardUnknown()
func (*MsgUpdateVendorInfo) XXX_Marshal ¶
func (m *MsgUpdateVendorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateVendorInfo) XXX_Merge ¶
func (m *MsgUpdateVendorInfo) XXX_Merge(src proto.Message)
func (*MsgUpdateVendorInfo) XXX_Size ¶
func (m *MsgUpdateVendorInfo) XXX_Size() int
func (*MsgUpdateVendorInfo) XXX_Unmarshal ¶
func (m *MsgUpdateVendorInfo) XXX_Unmarshal(b []byte) error
type MsgUpdateVendorInfoResponse ¶
type MsgUpdateVendorInfoResponse struct { }
func (*MsgUpdateVendorInfoResponse) Descriptor ¶
func (*MsgUpdateVendorInfoResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateVendorInfoResponse) Marshal ¶
func (m *MsgUpdateVendorInfoResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateVendorInfoResponse) MarshalTo ¶
func (m *MsgUpdateVendorInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateVendorInfoResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateVendorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateVendorInfoResponse) ProtoMessage ¶
func (*MsgUpdateVendorInfoResponse) ProtoMessage()
func (*MsgUpdateVendorInfoResponse) Reset ¶
func (m *MsgUpdateVendorInfoResponse) Reset()
func (*MsgUpdateVendorInfoResponse) Size ¶
func (m *MsgUpdateVendorInfoResponse) Size() (n int)
func (*MsgUpdateVendorInfoResponse) String ¶
func (m *MsgUpdateVendorInfoResponse) String() string
func (*MsgUpdateVendorInfoResponse) Unmarshal ¶
func (m *MsgUpdateVendorInfoResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateVendorInfoResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateVendorInfoResponse) XXX_DiscardUnknown()
func (*MsgUpdateVendorInfoResponse) XXX_Marshal ¶
func (m *MsgUpdateVendorInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateVendorInfoResponse) XXX_Merge ¶
func (m *MsgUpdateVendorInfoResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateVendorInfoResponse) XXX_Size ¶
func (m *MsgUpdateVendorInfoResponse) XXX_Size() int
func (*MsgUpdateVendorInfoResponse) XXX_Unmarshal ¶
func (m *MsgUpdateVendorInfoResponse) XXX_Unmarshal(b []byte) error
type QueryAllVendorInfoRequest ¶
type QueryAllVendorInfoRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllVendorInfoRequest) Descriptor ¶
func (*QueryAllVendorInfoRequest) Descriptor() ([]byte, []int)
func (*QueryAllVendorInfoRequest) GetPagination ¶
func (m *QueryAllVendorInfoRequest) GetPagination() *query.PageRequest
func (*QueryAllVendorInfoRequest) Marshal ¶
func (m *QueryAllVendorInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllVendorInfoRequest) MarshalTo ¶
func (m *QueryAllVendorInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllVendorInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryAllVendorInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllVendorInfoRequest) ProtoMessage ¶
func (*QueryAllVendorInfoRequest) ProtoMessage()
func (*QueryAllVendorInfoRequest) Reset ¶
func (m *QueryAllVendorInfoRequest) Reset()
func (*QueryAllVendorInfoRequest) Size ¶
func (m *QueryAllVendorInfoRequest) Size() (n int)
func (*QueryAllVendorInfoRequest) String ¶
func (m *QueryAllVendorInfoRequest) String() string
func (*QueryAllVendorInfoRequest) Unmarshal ¶
func (m *QueryAllVendorInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryAllVendorInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryAllVendorInfoRequest) XXX_DiscardUnknown()
func (*QueryAllVendorInfoRequest) XXX_Marshal ¶
func (m *QueryAllVendorInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllVendorInfoRequest) XXX_Merge ¶
func (m *QueryAllVendorInfoRequest) XXX_Merge(src proto.Message)
func (*QueryAllVendorInfoRequest) XXX_Size ¶
func (m *QueryAllVendorInfoRequest) XXX_Size() int
func (*QueryAllVendorInfoRequest) XXX_Unmarshal ¶
func (m *QueryAllVendorInfoRequest) XXX_Unmarshal(b []byte) error
type QueryAllVendorInfoResponse ¶
type QueryAllVendorInfoResponse struct { VendorInfo []VendorInfo `protobuf:"bytes,1,rep,name=vendorInfo,proto3" json:"vendorInfo"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllVendorInfoResponse) Descriptor ¶
func (*QueryAllVendorInfoResponse) Descriptor() ([]byte, []int)
func (*QueryAllVendorInfoResponse) GetPagination ¶
func (m *QueryAllVendorInfoResponse) GetPagination() *query.PageResponse
func (*QueryAllVendorInfoResponse) GetVendorInfo ¶
func (m *QueryAllVendorInfoResponse) GetVendorInfo() []VendorInfo
func (*QueryAllVendorInfoResponse) Marshal ¶
func (m *QueryAllVendorInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllVendorInfoResponse) MarshalTo ¶
func (m *QueryAllVendorInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllVendorInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryAllVendorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllVendorInfoResponse) ProtoMessage ¶
func (*QueryAllVendorInfoResponse) ProtoMessage()
func (*QueryAllVendorInfoResponse) Reset ¶
func (m *QueryAllVendorInfoResponse) Reset()
func (*QueryAllVendorInfoResponse) Size ¶
func (m *QueryAllVendorInfoResponse) Size() (n int)
func (*QueryAllVendorInfoResponse) String ¶
func (m *QueryAllVendorInfoResponse) String() string
func (*QueryAllVendorInfoResponse) Unmarshal ¶
func (m *QueryAllVendorInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryAllVendorInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryAllVendorInfoResponse) XXX_DiscardUnknown()
func (*QueryAllVendorInfoResponse) XXX_Marshal ¶
func (m *QueryAllVendorInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllVendorInfoResponse) XXX_Merge ¶
func (m *QueryAllVendorInfoResponse) XXX_Merge(src proto.Message)
func (*QueryAllVendorInfoResponse) XXX_Size ¶
func (m *QueryAllVendorInfoResponse) XXX_Size() int
func (*QueryAllVendorInfoResponse) XXX_Unmarshal ¶
func (m *QueryAllVendorInfoResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Queries a vendorInfo by index. VendorInfo(ctx context.Context, in *QueryGetVendorInfoRequest, opts ...grpc.CallOption) (*QueryGetVendorInfoResponse, error) // Queries a list of vendorInfo items. VendorInfoAll(ctx context.Context, in *QueryAllVendorInfoRequest, opts ...grpc.CallOption) (*QueryAllVendorInfoResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryGetVendorInfoRequest ¶
type QueryGetVendorInfoRequest struct {
VendorID int32 `protobuf:"varint,1,opt,name=vendorID,proto3" json:"vendorID,omitempty"`
}
func (*QueryGetVendorInfoRequest) Descriptor ¶
func (*QueryGetVendorInfoRequest) Descriptor() ([]byte, []int)
func (*QueryGetVendorInfoRequest) GetVendorID ¶
func (m *QueryGetVendorInfoRequest) GetVendorID() int32
func (*QueryGetVendorInfoRequest) Marshal ¶
func (m *QueryGetVendorInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetVendorInfoRequest) MarshalTo ¶
func (m *QueryGetVendorInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetVendorInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryGetVendorInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetVendorInfoRequest) ProtoMessage ¶
func (*QueryGetVendorInfoRequest) ProtoMessage()
func (*QueryGetVendorInfoRequest) Reset ¶
func (m *QueryGetVendorInfoRequest) Reset()
func (*QueryGetVendorInfoRequest) Size ¶
func (m *QueryGetVendorInfoRequest) Size() (n int)
func (*QueryGetVendorInfoRequest) String ¶
func (m *QueryGetVendorInfoRequest) String() string
func (*QueryGetVendorInfoRequest) Unmarshal ¶
func (m *QueryGetVendorInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryGetVendorInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryGetVendorInfoRequest) XXX_DiscardUnknown()
func (*QueryGetVendorInfoRequest) XXX_Marshal ¶
func (m *QueryGetVendorInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetVendorInfoRequest) XXX_Merge ¶
func (m *QueryGetVendorInfoRequest) XXX_Merge(src proto.Message)
func (*QueryGetVendorInfoRequest) XXX_Size ¶
func (m *QueryGetVendorInfoRequest) XXX_Size() int
func (*QueryGetVendorInfoRequest) XXX_Unmarshal ¶
func (m *QueryGetVendorInfoRequest) XXX_Unmarshal(b []byte) error
type QueryGetVendorInfoResponse ¶
type QueryGetVendorInfoResponse struct {
VendorInfo VendorInfo `protobuf:"bytes,1,opt,name=vendorInfo,proto3" json:"vendorInfo"`
}
func (*QueryGetVendorInfoResponse) Descriptor ¶
func (*QueryGetVendorInfoResponse) Descriptor() ([]byte, []int)
func (*QueryGetVendorInfoResponse) GetVendorInfo ¶
func (m *QueryGetVendorInfoResponse) GetVendorInfo() VendorInfo
func (*QueryGetVendorInfoResponse) Marshal ¶
func (m *QueryGetVendorInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetVendorInfoResponse) MarshalTo ¶
func (m *QueryGetVendorInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetVendorInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryGetVendorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetVendorInfoResponse) ProtoMessage ¶
func (*QueryGetVendorInfoResponse) ProtoMessage()
func (*QueryGetVendorInfoResponse) Reset ¶
func (m *QueryGetVendorInfoResponse) Reset()
func (*QueryGetVendorInfoResponse) Size ¶
func (m *QueryGetVendorInfoResponse) Size() (n int)
func (*QueryGetVendorInfoResponse) String ¶
func (m *QueryGetVendorInfoResponse) String() string
func (*QueryGetVendorInfoResponse) Unmarshal ¶
func (m *QueryGetVendorInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryGetVendorInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryGetVendorInfoResponse) XXX_DiscardUnknown()
func (*QueryGetVendorInfoResponse) XXX_Marshal ¶
func (m *QueryGetVendorInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetVendorInfoResponse) XXX_Merge ¶
func (m *QueryGetVendorInfoResponse) XXX_Merge(src proto.Message)
func (*QueryGetVendorInfoResponse) XXX_Size ¶
func (m *QueryGetVendorInfoResponse) XXX_Size() int
func (*QueryGetVendorInfoResponse) XXX_Unmarshal ¶
func (m *QueryGetVendorInfoResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Queries a vendorInfo by index. VendorInfo(context.Context, *QueryGetVendorInfoRequest) (*QueryGetVendorInfoResponse, error) // Queries a list of vendorInfo items. VendorInfoAll(context.Context, *QueryAllVendorInfoRequest) (*QueryAllVendorInfoResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateVendorInfo ¶
func (*UnimplementedMsgServer) CreateVendorInfo(ctx context.Context, req *MsgCreateVendorInfo) (*MsgCreateVendorInfoResponse, error)
func (*UnimplementedMsgServer) UpdateVendorInfo ¶
func (*UnimplementedMsgServer) UpdateVendorInfo(ctx context.Context, req *MsgUpdateVendorInfo) (*MsgUpdateVendorInfoResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) VendorInfo ¶
func (*UnimplementedQueryServer) VendorInfo(ctx context.Context, req *QueryGetVendorInfoRequest) (*QueryGetVendorInfoResponse, error)
func (*UnimplementedQueryServer) VendorInfoAll ¶
func (*UnimplementedQueryServer) VendorInfoAll(ctx context.Context, req *QueryAllVendorInfoRequest) (*QueryAllVendorInfoResponse, error)
type VendorInfo ¶
type VendorInfo struct { VendorID int32 `protobuf:"varint,1,opt,name=vendorID,proto3" json:"vendorID,omitempty"` VendorName string `protobuf:"bytes,2,opt,name=vendorName,proto3" json:"vendorName,omitempty"` CompanyLegalName string `protobuf:"bytes,3,opt,name=companyLegalName,proto3" json:"companyLegalName,omitempty"` CompanyPreferredName string `protobuf:"bytes,4,opt,name=companyPreferredName,proto3" json:"companyPreferredName,omitempty"` VendorLandingPageURL string `protobuf:"bytes,5,opt,name=vendorLandingPageURL,proto3" json:"vendorLandingPageURL,omitempty"` Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` SchemaVersion uint32 `protobuf:"varint,7,opt,name=schemaVersion,proto3" json:"schemaVersion,omitempty"` }
func (*VendorInfo) Descriptor ¶
func (*VendorInfo) Descriptor() ([]byte, []int)
func (*VendorInfo) GetCompanyLegalName ¶
func (m *VendorInfo) GetCompanyLegalName() string
func (*VendorInfo) GetCompanyPreferredName ¶ added in v0.10.0
func (m *VendorInfo) GetCompanyPreferredName() string
func (*VendorInfo) GetCreator ¶
func (m *VendorInfo) GetCreator() string
func (*VendorInfo) GetSchemaVersion ¶ added in v1.4.0
func (m *VendorInfo) GetSchemaVersion() uint32
func (*VendorInfo) GetVendorID ¶
func (m *VendorInfo) GetVendorID() int32
func (*VendorInfo) GetVendorLandingPageURL ¶
func (m *VendorInfo) GetVendorLandingPageURL() string
func (*VendorInfo) GetVendorName ¶
func (m *VendorInfo) GetVendorName() string
func (*VendorInfo) Marshal ¶
func (m *VendorInfo) Marshal() (dAtA []byte, err error)
func (*VendorInfo) MarshalToSizedBuffer ¶
func (m *VendorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VendorInfo) ProtoMessage ¶
func (*VendorInfo) ProtoMessage()
func (*VendorInfo) Reset ¶
func (m *VendorInfo) Reset()
func (*VendorInfo) Size ¶
func (m *VendorInfo) Size() (n int)
func (*VendorInfo) String ¶
func (m *VendorInfo) String() string
func (*VendorInfo) Unmarshal ¶
func (m *VendorInfo) Unmarshal(dAtA []byte) error
func (*VendorInfo) XXX_DiscardUnknown ¶
func (m *VendorInfo) XXX_DiscardUnknown()
func (*VendorInfo) XXX_Marshal ¶
func (m *VendorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VendorInfo) XXX_Merge ¶
func (m *VendorInfo) XXX_Merge(src proto.Message)
func (*VendorInfo) XXX_Size ¶
func (m *VendorInfo) XXX_Size() int
func (*VendorInfo) XXX_Unmarshal ¶
func (m *VendorInfo) XXX_Unmarshal(b []byte) error