testpb

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 18 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.

Index

Constants

This section is empty.

Variables

View Source
var (
	ExternalEnum_name = map[int32]string{
		0:   "One",
		1:   "Two",
		127: "EXTERNAL_ENUM_THREE",
	}
	ExternalEnum_value = map[string]int32{
		"One":                 0,
		"Two":                 1,
		"EXTERNAL_ENUM_THREE": 127,
	}
)

Enum value maps for ExternalEnum.

View Source
var (
	BallotOption_name = map[int32]string{
		0: "BALLOT_OPTION_UNSPECIFIED",
		1: "BALLOT_OPTION_YES",
		2: "BALLOT_OPTION_ABSTAIN",
		3: "BALLOT_OPTION_NO",
		4: "BALLOT_OPTION_NO_WITH_VETO",
	}
	BallotOption_value = map[string]int32{
		"BALLOT_OPTION_UNSPECIFIED":  0,
		"BALLOT_OPTION_YES":          1,
		"BALLOT_OPTION_ABSTAIN":      2,
		"BALLOT_OPTION_NO":           3,
		"BALLOT_OPTION_NO_WITH_VETO": 4,
	}
)

Enum value maps for BallotOption.

View Source
var (
	Baz_Internal_Enum_name = map[int32]string{
		0: "Four",
		1: "Five",
	}
	Baz_Internal_Enum_value = map[string]int32{
		"Four": 0,
		"Five": 1,
	}
)

Enum value maps for Baz_Internal_Enum.

View Source
var File__1_proto protoreflect.FileDescriptor
View Source
var File_signers_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type A

type A struct {

	// Fields that are parseable by SIGN_MODE_TEXTUAL.
	UINT32    uint32                 `protobuf:"varint,1,opt,name=UINT32,proto3" json:"UINT32,omitempty"`
	UINT64    uint64                 `protobuf:"varint,2,opt,name=UINT64,proto3" json:"UINT64,omitempty"`
	INT32     int32                  `protobuf:"varint,3,opt,name=INT32,proto3" json:"INT32,omitempty"`
	INT64     int64                  `protobuf:"varint,4,opt,name=INT64,proto3" json:"INT64,omitempty"`
	SDKINT    string                 `protobuf:"bytes,5,opt,name=SDKINT,proto3" json:"SDKINT,omitempty"`
	SDKDEC    string                 `protobuf:"bytes,6,opt,name=SDKDEC,proto3" json:"SDKDEC,omitempty"`
	COIN      *v1beta1.Coin          `protobuf:"bytes,7,opt,name=COIN,proto3" json:"COIN,omitempty"`
	COINS     []*v1beta1.Coin        `protobuf:"bytes,8,rep,name=COINS,proto3" json:"COINS,omitempty"`
	BYTES     []byte                 `protobuf:"bytes,9,opt,name=BYTES,proto3" json:"BYTES,omitempty"`
	TIMESTAMP *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=TIMESTAMP,proto3" json:"TIMESTAMP,omitempty"`
	DURATION  *durationpb.Duration   `protobuf:"bytes,11,opt,name=DURATION,proto3" json:"DURATION,omitempty"`
	ENUM      ExternalEnum           `protobuf:"varint,12,opt,name=ENUM,proto3,enum=ExternalEnum" json:"ENUM,omitempty"`
	ANY       *anypb.Any             `protobuf:"bytes,13,opt,name=ANY,proto3" json:"ANY,omitempty"`
	// Fields that are not handled by SIGN_MODE_TEXTUAL.
	SINT32   int32         `protobuf:"zigzag32,101,opt,name=SINT32,proto3" json:"SINT32,omitempty"`
	SINT64   int64         `protobuf:"zigzag64,102,opt,name=SINT64,proto3" json:"SINT64,omitempty"`
	SFIXED32 int32         `protobuf:"fixed32,105,opt,name=SFIXED32,proto3" json:"SFIXED32,omitempty"`
	FIXED32  uint32        `protobuf:"fixed32,106,opt,name=FIXED32,proto3" json:"FIXED32,omitempty"`
	FLOAT    float32       `protobuf:"fixed32,107,opt,name=FLOAT,proto3" json:"FLOAT,omitempty"`
	SFIXED64 int64         `protobuf:"fixed64,108,opt,name=SFIXED64,proto3" json:"SFIXED64,omitempty"`
	FIXED64  uint64        `protobuf:"fixed64,109,opt,name=FIXED64,proto3" json:"FIXED64,omitempty"`
	DOUBLE   float64       `protobuf:"fixed64,110,opt,name=DOUBLE,proto3" json:"DOUBLE,omitempty"`
	MAP      map[string]*A `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

A is used for testing value renderers.

func (*A) Descriptor deprecated

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

Deprecated: Use A.ProtoReflect.Descriptor instead.

func (*A) GetANY

func (x *A) GetANY() *anypb.Any

func (*A) GetBYTES

func (x *A) GetBYTES() []byte

func (*A) GetCOIN

func (x *A) GetCOIN() *v1beta1.Coin

func (*A) GetCOINS

func (x *A) GetCOINS() []*v1beta1.Coin

func (*A) GetDOUBLE

func (x *A) GetDOUBLE() float64

func (*A) GetDURATION

func (x *A) GetDURATION() *durationpb.Duration

func (*A) GetENUM

func (x *A) GetENUM() ExternalEnum

func (*A) GetFIXED32

func (x *A) GetFIXED32() uint32

func (*A) GetFIXED64

func (x *A) GetFIXED64() uint64

func (*A) GetFLOAT

func (x *A) GetFLOAT() float32

func (*A) GetINT32

func (x *A) GetINT32() int32

func (*A) GetINT64

func (x *A) GetINT64() int64

func (*A) GetMAP

func (x *A) GetMAP() map[string]*A

func (*A) GetSDKDEC

func (x *A) GetSDKDEC() string

func (*A) GetSDKINT

func (x *A) GetSDKINT() string

func (*A) GetSFIXED32

func (x *A) GetSFIXED32() int32

func (*A) GetSFIXED64

func (x *A) GetSFIXED64() int64

func (*A) GetSINT32

func (x *A) GetSINT32() int32

func (*A) GetSINT64

func (x *A) GetSINT64() int64

func (*A) GetTIMESTAMP

func (x *A) GetTIMESTAMP() *timestamppb.Timestamp

func (*A) GetUINT32

func (x *A) GetUINT32() uint32

func (*A) GetUINT64

func (x *A) GetUINT64() uint64

func (*A) ProtoMessage

func (*A) ProtoMessage()

func (*A) ProtoReflect

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

func (*A) Reset

func (x *A) Reset()

func (*A) String

func (x *A) String() string

type BadSigner

type BadSigner struct {
	Signer []byte `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

func (*BadSigner) Descriptor deprecated

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

Deprecated: Use BadSigner.ProtoReflect.Descriptor instead.

func (*BadSigner) GetSigner

func (x *BadSigner) GetSigner() []byte

func (*BadSigner) ProtoMessage

func (*BadSigner) ProtoMessage()

func (*BadSigner) ProtoReflect

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

func (*BadSigner) Reset

func (x *BadSigner) Reset()

func (*BadSigner) String

func (x *BadSigner) String() string

type Ballot

type Ballot struct {
	ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
	// TODO: cosmos.AddressString rendering
	// string voter       = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
	Voter   string                  `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
	Options []*WeightedBallotOption `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*Ballot) Descriptor deprecated

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

Deprecated: Use Ballot.ProtoReflect.Descriptor instead.

func (*Ballot) GetOptions

func (x *Ballot) GetOptions() []*WeightedBallotOption

func (*Ballot) GetProposalId

func (x *Ballot) GetProposalId() uint64

func (*Ballot) GetVoter

func (x *Ballot) GetVoter() string

func (*Ballot) ProtoMessage

func (*Ballot) ProtoMessage()

func (*Ballot) ProtoReflect

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

func (*Ballot) Reset

func (x *Ballot) Reset()

func (*Ballot) String

func (x *Ballot) String() string

type BallotOption

type BallotOption int32
const (
	BallotOption_BALLOT_OPTION_UNSPECIFIED  BallotOption = 0
	BallotOption_BALLOT_OPTION_YES          BallotOption = 1
	BallotOption_BALLOT_OPTION_ABSTAIN      BallotOption = 2
	BallotOption_BALLOT_OPTION_NO           BallotOption = 3
	BallotOption_BALLOT_OPTION_NO_WITH_VETO BallotOption = 4
)

func (BallotOption) Descriptor

func (BallotOption) Enum

func (x BallotOption) Enum() *BallotOption

func (BallotOption) EnumDescriptor deprecated

func (BallotOption) EnumDescriptor() ([]byte, []int)

Deprecated: Use BallotOption.Descriptor instead.

func (BallotOption) Number

func (BallotOption) String

func (x BallotOption) String() string

func (BallotOption) Type

type Bar

type Bar struct {
	BarId   string     `protobuf:"bytes,1,opt,name=bar_id,json=barId,proto3" json:"bar_id,omitempty"`
	Data    []byte     `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Payload *anypb.Any `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

Bar is a sample message type used for testing message rendering.

func (*Bar) Descriptor deprecated

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

Deprecated: Use Bar.ProtoReflect.Descriptor instead.

func (*Bar) GetBarId

func (x *Bar) GetBarId() string

func (*Bar) GetData

func (x *Bar) GetData() []byte

func (*Bar) GetPayload

func (x *Bar) GetPayload() *anypb.Any

func (*Bar) ProtoMessage

func (*Bar) ProtoMessage()

func (*Bar) ProtoReflect

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

func (*Bar) Reset

func (x *Bar) Reset()

func (*Bar) String

func (x *Bar) String() string

type Baz

type Baz struct {
	Ee     ExternalEnum      `protobuf:"varint,1,opt,name=ee,proto3,enum=ExternalEnum" json:"ee,omitempty"`
	Ie     Baz_Internal_Enum `protobuf:"varint,2,opt,name=ie,proto3,enum=Baz_Internal_Enum" json:"ie,omitempty"`
	Option BallotOption      `protobuf:"varint,3,opt,name=option,proto3,enum=BallotOption" json:"option,omitempty"`
	// contains filtered or unexported fields
}

Baz is a sample message type used for testing enum rendering.

func (*Baz) Descriptor deprecated

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

Deprecated: Use Baz.ProtoReflect.Descriptor instead.

func (*Baz) GetEe

func (x *Baz) GetEe() ExternalEnum

func (*Baz) GetIe

func (x *Baz) GetIe() Baz_Internal_Enum

func (*Baz) GetOption

func (x *Baz) GetOption() BallotOption

func (*Baz) ProtoMessage

func (*Baz) ProtoMessage()

func (*Baz) ProtoReflect

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

func (*Baz) Reset

func (x *Baz) Reset()

func (*Baz) String

func (x *Baz) String() string

type Baz_Internal_Enum

type Baz_Internal_Enum int32
const (
	Baz_Four Baz_Internal_Enum = 0
	Baz_Five Baz_Internal_Enum = 1
)

func (Baz_Internal_Enum) Descriptor

func (Baz_Internal_Enum) Enum

func (Baz_Internal_Enum) EnumDescriptor deprecated

func (Baz_Internal_Enum) EnumDescriptor() ([]byte, []int)

Deprecated: Use Baz_Internal_Enum.Descriptor instead.

func (Baz_Internal_Enum) Number

func (Baz_Internal_Enum) String

func (x Baz_Internal_Enum) String() string

func (Baz_Internal_Enum) Type

type ExternalEnum

type ExternalEnum int32
const (
	ExternalEnum_One                 ExternalEnum = 0
	ExternalEnum_Two                 ExternalEnum = 1
	ExternalEnum_EXTERNAL_ENUM_THREE ExternalEnum = 127
)

func (ExternalEnum) Descriptor

func (ExternalEnum) Enum

func (x ExternalEnum) Enum() *ExternalEnum

func (ExternalEnum) EnumDescriptor deprecated

func (ExternalEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExternalEnum.Descriptor instead.

func (ExternalEnum) Number

func (ExternalEnum) String

func (x ExternalEnum) String() string

func (ExternalEnum) Type

type Foo

type Foo struct {
	FullName string                 `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	Nickname string                 `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Mtime    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=mtime,proto3" json:"mtime,omitempty"`
	Left     *Foo                   `protobuf:"bytes,4,opt,name=left,proto3" json:"left,omitempty"`
	Right    *Foo                   `protobuf:"bytes,5,opt,name=right,proto3" json:"right,omitempty"`
	Bar      *Bar                   `protobuf:"bytes,8,opt,name=bar,proto3" json:"bar,omitempty"` // skip some field numbers
	// contains filtered or unexported fields
}

Foo is a sample message type used for testing message rendering.

func (*Foo) Descriptor deprecated

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

Deprecated: Use Foo.ProtoReflect.Descriptor instead.

func (*Foo) GetBar

func (x *Foo) GetBar() *Bar

func (*Foo) GetFullName

func (x *Foo) GetFullName() string

func (*Foo) GetLeft

func (x *Foo) GetLeft() *Foo

func (*Foo) GetMtime

func (x *Foo) GetMtime() *timestamppb.Timestamp

func (*Foo) GetNickname

func (x *Foo) GetNickname() string

func (*Foo) GetRight

func (x *Foo) GetRight() *Foo

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) ProtoReflect

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

func (*Foo) Reset

func (x *Foo) Reset()

func (*Foo) String

func (x *Foo) String() string

type NestedRepeatedSigner

type NestedRepeatedSigner struct {
	Inner *NestedRepeatedSigner_Inner `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedRepeatedSigner) Descriptor deprecated

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

Deprecated: Use NestedRepeatedSigner.ProtoReflect.Descriptor instead.

func (*NestedRepeatedSigner) GetInner

func (*NestedRepeatedSigner) ProtoMessage

func (*NestedRepeatedSigner) ProtoMessage()

func (*NestedRepeatedSigner) ProtoReflect

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

func (*NestedRepeatedSigner) Reset

func (x *NestedRepeatedSigner) Reset()

func (*NestedRepeatedSigner) String

func (x *NestedRepeatedSigner) String() string

type NestedRepeatedSigner_Inner

type NestedRepeatedSigner_Inner struct {
	Signer []string `protobuf:"bytes,1,rep,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedRepeatedSigner_Inner) Descriptor deprecated

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

Deprecated: Use NestedRepeatedSigner_Inner.ProtoReflect.Descriptor instead.

func (*NestedRepeatedSigner_Inner) GetSigner

func (x *NestedRepeatedSigner_Inner) GetSigner() []string

func (*NestedRepeatedSigner_Inner) ProtoMessage

func (*NestedRepeatedSigner_Inner) ProtoMessage()

func (*NestedRepeatedSigner_Inner) ProtoReflect

func (*NestedRepeatedSigner_Inner) Reset

func (x *NestedRepeatedSigner_Inner) Reset()

func (*NestedRepeatedSigner_Inner) String

func (x *NestedRepeatedSigner_Inner) String() string

type NestedSigner

type NestedSigner struct {
	Inner *NestedSigner_Inner `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedSigner) Descriptor deprecated

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

Deprecated: Use NestedSigner.ProtoReflect.Descriptor instead.

func (*NestedSigner) GetInner

func (x *NestedSigner) GetInner() *NestedSigner_Inner

func (*NestedSigner) ProtoMessage

func (*NestedSigner) ProtoMessage()

func (*NestedSigner) ProtoReflect

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

func (*NestedSigner) Reset

func (x *NestedSigner) Reset()

func (*NestedSigner) String

func (x *NestedSigner) String() string

type NestedSigner_Inner

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

func (*NestedSigner_Inner) Descriptor deprecated

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

Deprecated: Use NestedSigner_Inner.ProtoReflect.Descriptor instead.

func (*NestedSigner_Inner) GetSigner

func (x *NestedSigner_Inner) GetSigner() string

func (*NestedSigner_Inner) ProtoMessage

func (*NestedSigner_Inner) ProtoMessage()

func (*NestedSigner_Inner) ProtoReflect

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

func (*NestedSigner_Inner) Reset

func (x *NestedSigner_Inner) Reset()

func (*NestedSigner_Inner) String

func (x *NestedSigner_Inner) String() string

type NoSignerOption

type NoSignerOption struct {
	Signer []byte `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

func (*NoSignerOption) Descriptor deprecated

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

Deprecated: Use NoSignerOption.ProtoReflect.Descriptor instead.

func (*NoSignerOption) GetSigner

func (x *NoSignerOption) GetSigner() []byte

func (*NoSignerOption) ProtoMessage

func (*NoSignerOption) ProtoMessage()

func (*NoSignerOption) ProtoReflect

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

func (*NoSignerOption) Reset

func (x *NoSignerOption) Reset()

func (*NoSignerOption) String

func (x *NoSignerOption) String() string

type Qux

type Qux struct {
	Messages       []*Foo                   `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	StringMessages []string                 `protobuf:"bytes,2,rep,name=string_messages,json=stringMessages,proto3" json:"string_messages,omitempty"`
	Vote           *Ballot                  `protobuf:"bytes,3,opt,name=vote,proto3" json:"vote,omitempty"`
	Price          []*v1beta1.Coin          `protobuf:"bytes,4,rep,name=price,proto3" json:"price,omitempty"`
	Expirations    []*timestamppb.Timestamp `protobuf:"bytes,5,rep,name=expirations,proto3" json:"expirations,omitempty"`
	// contains filtered or unexported fields
}

Qux is a sample message type used for testing repeated rendering.

func (*Qux) Descriptor deprecated

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

Deprecated: Use Qux.ProtoReflect.Descriptor instead.

func (*Qux) GetExpirations

func (x *Qux) GetExpirations() []*timestamppb.Timestamp

func (*Qux) GetMessages

func (x *Qux) GetMessages() []*Foo

func (*Qux) GetPrice

func (x *Qux) GetPrice() []*v1beta1.Coin

func (*Qux) GetStringMessages

func (x *Qux) GetStringMessages() []string

func (*Qux) GetVote

func (x *Qux) GetVote() *Ballot

func (*Qux) ProtoMessage

func (*Qux) ProtoMessage()

func (*Qux) ProtoReflect

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

func (*Qux) Reset

func (x *Qux) Reset()

func (*Qux) String

func (x *Qux) String() string

type RepeatedNestedRepeatedSigner

type RepeatedNestedRepeatedSigner struct {
	Inner []*RepeatedNestedRepeatedSigner_Inner `protobuf:"bytes,1,rep,name=inner,proto3" json:"inner,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatedNestedRepeatedSigner) Descriptor deprecated

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

Deprecated: Use RepeatedNestedRepeatedSigner.ProtoReflect.Descriptor instead.

func (*RepeatedNestedRepeatedSigner) GetInner

func (*RepeatedNestedRepeatedSigner) ProtoMessage

func (*RepeatedNestedRepeatedSigner) ProtoMessage()

func (*RepeatedNestedRepeatedSigner) ProtoReflect

func (*RepeatedNestedRepeatedSigner) Reset

func (x *RepeatedNestedRepeatedSigner) Reset()

func (*RepeatedNestedRepeatedSigner) String

type RepeatedNestedRepeatedSigner_Inner

type RepeatedNestedRepeatedSigner_Inner struct {
	Signer []string `protobuf:"bytes,1,rep,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatedNestedRepeatedSigner_Inner) Descriptor deprecated

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

Deprecated: Use RepeatedNestedRepeatedSigner_Inner.ProtoReflect.Descriptor instead.

func (*RepeatedNestedRepeatedSigner_Inner) GetSigner

func (x *RepeatedNestedRepeatedSigner_Inner) GetSigner() []string

func (*RepeatedNestedRepeatedSigner_Inner) ProtoMessage

func (*RepeatedNestedRepeatedSigner_Inner) ProtoMessage()

func (*RepeatedNestedRepeatedSigner_Inner) ProtoReflect

func (*RepeatedNestedRepeatedSigner_Inner) Reset

func (*RepeatedNestedRepeatedSigner_Inner) String

type RepeatedNestedSigner

type RepeatedNestedSigner struct {
	Inner []*RepeatedNestedSigner_Inner `protobuf:"bytes,1,rep,name=inner,proto3" json:"inner,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatedNestedSigner) Descriptor deprecated

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

Deprecated: Use RepeatedNestedSigner.ProtoReflect.Descriptor instead.

func (*RepeatedNestedSigner) GetInner

func (*RepeatedNestedSigner) ProtoMessage

func (*RepeatedNestedSigner) ProtoMessage()

func (*RepeatedNestedSigner) ProtoReflect

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

func (*RepeatedNestedSigner) Reset

func (x *RepeatedNestedSigner) Reset()

func (*RepeatedNestedSigner) String

func (x *RepeatedNestedSigner) String() string

type RepeatedNestedSigner_Inner

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

func (*RepeatedNestedSigner_Inner) Descriptor deprecated

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

Deprecated: Use RepeatedNestedSigner_Inner.ProtoReflect.Descriptor instead.

func (*RepeatedNestedSigner_Inner) GetSigner

func (x *RepeatedNestedSigner_Inner) GetSigner() string

func (*RepeatedNestedSigner_Inner) ProtoMessage

func (*RepeatedNestedSigner_Inner) ProtoMessage()

func (*RepeatedNestedSigner_Inner) ProtoReflect

func (*RepeatedNestedSigner_Inner) Reset

func (x *RepeatedNestedSigner_Inner) Reset()

func (*RepeatedNestedSigner_Inner) String

func (x *RepeatedNestedSigner_Inner) String() string

type RepeatedSigner

type RepeatedSigner struct {
	Signer []string `protobuf:"bytes,1,rep,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatedSigner) Descriptor deprecated

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

Deprecated: Use RepeatedSigner.ProtoReflect.Descriptor instead.

func (*RepeatedSigner) GetSigner

func (x *RepeatedSigner) GetSigner() []string

func (*RepeatedSigner) ProtoMessage

func (*RepeatedSigner) ProtoMessage()

func (*RepeatedSigner) ProtoReflect

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

func (*RepeatedSigner) Reset

func (x *RepeatedSigner) Reset()

func (*RepeatedSigner) String

func (x *RepeatedSigner) String() string

type SimpleSigner

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

func (*SimpleSigner) Descriptor deprecated

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

Deprecated: Use SimpleSigner.ProtoReflect.Descriptor instead.

func (*SimpleSigner) GetSigner

func (x *SimpleSigner) GetSigner() string

func (*SimpleSigner) ProtoMessage

func (*SimpleSigner) ProtoMessage()

func (*SimpleSigner) ProtoReflect

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

func (*SimpleSigner) Reset

func (x *SimpleSigner) Reset()

func (*SimpleSigner) String

func (x *SimpleSigner) String() string

type WeightedBallotOption

type WeightedBallotOption struct {

	// TODO: Enumeration rendering
	// BallotOption option = 1;
	Option string `protobuf:"bytes,1,opt,name=option,proto3" json:"option,omitempty"`
	Weight string `protobuf:"bytes,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*WeightedBallotOption) Descriptor deprecated

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

Deprecated: Use WeightedBallotOption.ProtoReflect.Descriptor instead.

func (*WeightedBallotOption) GetOption

func (x *WeightedBallotOption) GetOption() string

func (*WeightedBallotOption) GetWeight

func (x *WeightedBallotOption) GetWeight() string

func (*WeightedBallotOption) ProtoMessage

func (*WeightedBallotOption) ProtoMessage()

func (*WeightedBallotOption) ProtoReflect

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

func (*WeightedBallotOption) Reset

func (x *WeightedBallotOption) Reset()

func (*WeightedBallotOption) String

func (x *WeightedBallotOption) String() string

Jump to

Keyboard shortcuts

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