authorityv1

package
v0.0.1-sdk47-1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Msg_Execute_FullMethodName              = "/noble.authority.v1.Msg/Execute"
	Msg_ExecuteLegacyContent_FullMethodName = "/noble.authority.v1.Msg/ExecuteLegacyContent"
	Msg_UpdateAuthority_FullMethodName      = "/noble.authority.v1.Msg/UpdateAuthority"
)
View Source
const (
	Query_Authority_FullMethodName = "/noble.authority.v1.Query/Authority"
)

Variables

View Source
var File_noble_authority_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_noble_authority_v1_query_proto protoreflect.FileDescriptor
View Source
var File_noble_authority_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "noble.authority.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Execute",
			Handler:    _Msg_Execute_Handler,
		},
		{
			MethodName: "ExecuteLegacyContent",
			Handler:    _Msg_ExecuteLegacyContent_Handler,
		},
		{
			MethodName: "UpdateAuthority",
			Handler:    _Msg_UpdateAuthority_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "noble/authority/v1/tx.proto",
}

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

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "noble.authority.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Authority",
			Handler:    _Query_Authority_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "noble/authority/v1/query.proto",
}

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

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type GenesisState

type GenesisState struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetAuthority

func (x *GenesisState) GetAuthority() string

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type MsgClient

type MsgClient interface {
	Execute(ctx context.Context, in *MsgExecute, opts ...grpc.CallOption) (*MsgExecuteResponse, error)
	ExecuteLegacyContent(ctx context.Context, in *MsgExecuteLegacyContent, opts ...grpc.CallOption) (*MsgExecuteLegacyContentResponse, error)
	UpdateAuthority(ctx context.Context, in *MsgUpdateAuthority, opts ...grpc.CallOption) (*MsgUpdateAuthorityResponse, error)
}

MsgClient is the client API for Msg 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.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgExecute

type MsgExecute struct {
	Authority string       `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Messages  []*anypb.Any `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

MsgExecute is the Msg/Execute request type.

func (*MsgExecute) Descriptor deprecated

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

Deprecated: Use MsgExecute.ProtoReflect.Descriptor instead.

func (*MsgExecute) GetAuthority

func (x *MsgExecute) GetAuthority() string

func (*MsgExecute) GetMessages

func (x *MsgExecute) GetMessages() []*anypb.Any

func (*MsgExecute) ProtoMessage

func (*MsgExecute) ProtoMessage()

func (*MsgExecute) ProtoReflect

func (x *MsgExecute) ProtoReflect() protoreflect.Message

func (*MsgExecute) Reset

func (x *MsgExecute) Reset()

func (*MsgExecute) String

func (x *MsgExecute) String() string

type MsgExecuteLegacyContent

type MsgExecuteLegacyContent struct {
	Authority string     `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Content   *anypb.Any `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

MsgExecuteLegacyContent is the Msg/ExecuteLegacyContent request type.

func (*MsgExecuteLegacyContent) Descriptor deprecated

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

Deprecated: Use MsgExecuteLegacyContent.ProtoReflect.Descriptor instead.

func (*MsgExecuteLegacyContent) GetAuthority

func (x *MsgExecuteLegacyContent) GetAuthority() string

func (*MsgExecuteLegacyContent) GetContent

func (x *MsgExecuteLegacyContent) GetContent() *anypb.Any

func (*MsgExecuteLegacyContent) ProtoMessage

func (*MsgExecuteLegacyContent) ProtoMessage()

func (*MsgExecuteLegacyContent) ProtoReflect

func (x *MsgExecuteLegacyContent) ProtoReflect() protoreflect.Message

func (*MsgExecuteLegacyContent) Reset

func (x *MsgExecuteLegacyContent) Reset()

func (*MsgExecuteLegacyContent) String

func (x *MsgExecuteLegacyContent) String() string

type MsgExecuteLegacyContentResponse

type MsgExecuteLegacyContentResponse struct {
	// contains filtered or unexported fields
}

MsgExecuteLegacyContentResponse is the Msg/ExecuteLegacyContent response type.

func (*MsgExecuteLegacyContentResponse) Descriptor deprecated

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

Deprecated: Use MsgExecuteLegacyContentResponse.ProtoReflect.Descriptor instead.

func (*MsgExecuteLegacyContentResponse) ProtoMessage

func (*MsgExecuteLegacyContentResponse) ProtoMessage()

func (*MsgExecuteLegacyContentResponse) ProtoReflect

func (*MsgExecuteLegacyContentResponse) Reset

func (*MsgExecuteLegacyContentResponse) String

type MsgExecuteResponse

type MsgExecuteResponse struct {
	// contains filtered or unexported fields
}

MsgExecuteResponse is the Msg/Execute response type.

func (*MsgExecuteResponse) Descriptor deprecated

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

Deprecated: Use MsgExecuteResponse.ProtoReflect.Descriptor instead.

func (*MsgExecuteResponse) ProtoMessage

func (*MsgExecuteResponse) ProtoMessage()

func (*MsgExecuteResponse) ProtoReflect

func (x *MsgExecuteResponse) ProtoReflect() protoreflect.Message

func (*MsgExecuteResponse) Reset

func (x *MsgExecuteResponse) Reset()

func (*MsgExecuteResponse) String

func (x *MsgExecuteResponse) String() string

type MsgServer

type MsgServer interface {
	Execute(context.Context, *MsgExecute) (*MsgExecuteResponse, error)
	ExecuteLegacyContent(context.Context, *MsgExecuteLegacyContent) (*MsgExecuteLegacyContentResponse, error)
	UpdateAuthority(context.Context, *MsgUpdateAuthority) (*MsgUpdateAuthorityResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgUpdateAuthority

type MsgUpdateAuthority struct {
	Authority    string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	NewAuthority string `protobuf:"bytes,2,opt,name=new_authority,json=newAuthority,proto3" json:"new_authority,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateAuthority is the Msg/UpdateAuthority request type.

func (*MsgUpdateAuthority) Descriptor deprecated

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

Deprecated: Use MsgUpdateAuthority.ProtoReflect.Descriptor instead.

func (*MsgUpdateAuthority) GetAuthority

func (x *MsgUpdateAuthority) GetAuthority() string

func (*MsgUpdateAuthority) GetNewAuthority

func (x *MsgUpdateAuthority) GetNewAuthority() string

func (*MsgUpdateAuthority) ProtoMessage

func (*MsgUpdateAuthority) ProtoMessage()

func (*MsgUpdateAuthority) ProtoReflect

func (x *MsgUpdateAuthority) ProtoReflect() protoreflect.Message

func (*MsgUpdateAuthority) Reset

func (x *MsgUpdateAuthority) Reset()

func (*MsgUpdateAuthority) String

func (x *MsgUpdateAuthority) String() string

type MsgUpdateAuthorityResponse

type MsgUpdateAuthorityResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateAuthorityResponse is the Msg/UpdateAuthority response type.

func (*MsgUpdateAuthorityResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateAuthorityResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateAuthorityResponse) ProtoMessage

func (*MsgUpdateAuthorityResponse) ProtoMessage()

func (*MsgUpdateAuthorityResponse) ProtoReflect

func (*MsgUpdateAuthorityResponse) Reset

func (x *MsgUpdateAuthorityResponse) Reset()

func (*MsgUpdateAuthorityResponse) String

func (x *MsgUpdateAuthorityResponse) String() string

type QueryAuthority

type QueryAuthority struct {
	// contains filtered or unexported fields
}

QueryAuthority is the Query/Authority request type.

func (*QueryAuthority) Descriptor deprecated

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

Deprecated: Use QueryAuthority.ProtoReflect.Descriptor instead.

func (*QueryAuthority) ProtoMessage

func (*QueryAuthority) ProtoMessage()

func (*QueryAuthority) ProtoReflect

func (x *QueryAuthority) ProtoReflect() protoreflect.Message

func (*QueryAuthority) Reset

func (x *QueryAuthority) Reset()

func (*QueryAuthority) String

func (x *QueryAuthority) String() string

type QueryAuthorityResponse

type QueryAuthorityResponse struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

QueryAuthorityResponse is the Query/Authority response type.

func (*QueryAuthorityResponse) Descriptor deprecated

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

Deprecated: Use QueryAuthorityResponse.ProtoReflect.Descriptor instead.

func (*QueryAuthorityResponse) GetAuthority

func (x *QueryAuthorityResponse) GetAuthority() string

func (*QueryAuthorityResponse) ProtoMessage

func (*QueryAuthorityResponse) ProtoMessage()

func (*QueryAuthorityResponse) ProtoReflect

func (x *QueryAuthorityResponse) ProtoReflect() protoreflect.Message

func (*QueryAuthorityResponse) Reset

func (x *QueryAuthorityResponse) Reset()

func (*QueryAuthorityResponse) String

func (x *QueryAuthorityResponse) String() string

type QueryClient

type QueryClient interface {
	Authority(ctx context.Context, in *QueryAuthority, opts ...grpc.CallOption) (*QueryAuthorityResponse, error)
}

QueryClient is the client API for Query 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.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryServer

type QueryServer interface {
	Authority(context.Context, *QueryAuthority) (*QueryAuthorityResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) Execute

func (UnimplementedMsgServer) UpdateAuthority

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Authority

type UnsafeMsgServer

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

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

type UnsafeQueryServer

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

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

Jump to

Keyboard shortcuts

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