Versions in this module Expand all Collapse all v0 v0.1.1 Mar 2, 2024 Changes in this version + const Dao_GetByFilter_FullMethodName + const Dao_GetByID_FullMethodName + const Dao_GetTopByCategories_FullMethodName + const Proposal_GetByFilter_FullMethodName + const Proposal_GetByID_FullMethodName + const Vote_GetVotes_FullMethodName + const Vote_Prepare_FullMethodName + const Vote_Validate_FullMethodName + const Vote_Vote_FullMethodName + var Dao_ServiceDesc = grpc.ServiceDesc + var File_storagebp_base_proto protoreflect.FileDescriptor + var File_storagebp_dao_proto protoreflect.FileDescriptor + var File_storagebp_proposal_proto protoreflect.FileDescriptor + var File_storagebp_vote_proto protoreflect.FileDescriptor + var ProposalTimelineItem_TimelineAction_name = map[int32]string + var ProposalTimelineItem_TimelineAction_value = map[string]int32 + var Proposal_ServiceDesc = grpc.ServiceDesc + var Vote_ServiceDesc = grpc.ServiceDesc + func RegisterDaoServer(s grpc.ServiceRegistrar, srv DaoServer) + func RegisterProposalServer(s grpc.ServiceRegistrar, srv ProposalServer) + func RegisterVoteServer(s grpc.ServiceRegistrar, srv VoteServer) + type DaoByFilterRequest struct + Category *string + DaoIds []string + Limit *uint64 + Offset *uint64 + Query *string + func (*DaoByFilterRequest) Descriptor() ([]byte, []int) + func (*DaoByFilterRequest) ProtoMessage() + func (x *DaoByFilterRequest) GetCategory() string + func (x *DaoByFilterRequest) GetDaoIds() []string + func (x *DaoByFilterRequest) GetLimit() uint64 + func (x *DaoByFilterRequest) GetOffset() uint64 + func (x *DaoByFilterRequest) GetQuery() string + func (x *DaoByFilterRequest) ProtoReflect() protoreflect.Message + func (x *DaoByFilterRequest) Reset() + func (x *DaoByFilterRequest) String() string + type DaoByFilterResponse struct + Daos []*DaoInfo + TotalCount uint64 + func (*DaoByFilterResponse) Descriptor() ([]byte, []int) + func (*DaoByFilterResponse) ProtoMessage() + func (x *DaoByFilterResponse) GetDaos() []*DaoInfo + func (x *DaoByFilterResponse) GetTotalCount() uint64 + func (x *DaoByFilterResponse) ProtoReflect() protoreflect.Message + func (x *DaoByFilterResponse) Reset() + func (x *DaoByFilterResponse) String() string + type DaoByIDRequest struct + DaoId string + func (*DaoByIDRequest) Descriptor() ([]byte, []int) + func (*DaoByIDRequest) ProtoMessage() + func (x *DaoByIDRequest) GetDaoId() string + func (x *DaoByIDRequest) ProtoReflect() protoreflect.Message + func (x *DaoByIDRequest) Reset() + func (x *DaoByIDRequest) String() string + type DaoByIDResponse struct + Dao *DaoInfo + func (*DaoByIDResponse) Descriptor() ([]byte, []int) + func (*DaoByIDResponse) ProtoMessage() + func (x *DaoByIDResponse) GetDao() *DaoInfo + func (x *DaoByIDResponse) ProtoReflect() protoreflect.Message + func (x *DaoByIDResponse) Reset() + func (x *DaoByIDResponse) String() string + type DaoClient interface + GetByFilter func(ctx context.Context, in *DaoByFilterRequest, opts ...grpc.CallOption) (*DaoByFilterResponse, error) + GetByID func(ctx context.Context, in *DaoByIDRequest, opts ...grpc.CallOption) (*DaoByIDResponse, error) + GetTopByCategories func(ctx context.Context, in *TopByCategoriesRequest, opts ...grpc.CallOption) (*TopByCategoriesResponse, error) + func NewDaoClient(cc grpc.ClientConnInterface) DaoClient + type DaoInfo struct + About string + ActiveVotes uint64 + ActivitySince uint64 + Alias string + Avatar string + Categories []string + Coingeko string + CreatedAt *timestamppb.Timestamp + Domain string + Email string + FollowersCount uint64 + Github string + Guidelines string + Id string + Location string + Name string + Network string + ParentId string + Private bool + ProposalsCount uint64 + Skin string + Strategies []*Strategy + Symbol string + Template string + Terms string + Treasuries []*Treasury + Twitter string + UpdatedAt *timestamppb.Timestamp + Verified bool + VotersCount uint64 + Voting *Voting + Website string + func (*DaoInfo) Descriptor() ([]byte, []int) + func (*DaoInfo) ProtoMessage() + func (x *DaoInfo) GetAbout() string + func (x *DaoInfo) GetActiveVotes() uint64 + func (x *DaoInfo) GetActivitySince() uint64 + func (x *DaoInfo) GetAlias() string + func (x *DaoInfo) GetAvatar() string + func (x *DaoInfo) GetCategories() []string + func (x *DaoInfo) GetCoingeko() string + func (x *DaoInfo) GetCreatedAt() *timestamppb.Timestamp + func (x *DaoInfo) GetDomain() string + func (x *DaoInfo) GetEmail() string + func (x *DaoInfo) GetFollowersCount() uint64 + func (x *DaoInfo) GetGithub() string + func (x *DaoInfo) GetGuidelines() string + func (x *DaoInfo) GetId() string + func (x *DaoInfo) GetLocation() string + func (x *DaoInfo) GetName() string + func (x *DaoInfo) GetNetwork() string + func (x *DaoInfo) GetParentId() string + func (x *DaoInfo) GetPrivate() bool + func (x *DaoInfo) GetProposalsCount() uint64 + func (x *DaoInfo) GetSkin() string + func (x *DaoInfo) GetStrategies() []*Strategy + func (x *DaoInfo) GetSymbol() string + func (x *DaoInfo) GetTemplate() string + func (x *DaoInfo) GetTerms() string + func (x *DaoInfo) GetTreasuries() []*Treasury + func (x *DaoInfo) GetTwitter() string + func (x *DaoInfo) GetUpdatedAt() *timestamppb.Timestamp + func (x *DaoInfo) GetVerified() bool + func (x *DaoInfo) GetVotersCount() uint64 + func (x *DaoInfo) GetVoting() *Voting + func (x *DaoInfo) GetWebsite() string + func (x *DaoInfo) ProtoReflect() protoreflect.Message + func (x *DaoInfo) Reset() + func (x *DaoInfo) String() string + type DaoServer interface + GetByFilter func(context.Context, *DaoByFilterRequest) (*DaoByFilterResponse, error) + GetByID func(context.Context, *DaoByIDRequest) (*DaoByIDResponse, error) + GetTopByCategories func(context.Context, *TopByCategoriesRequest) (*TopByCategoriesResponse, error) + type PrepareRequest struct + Choice *anypb.Any + Proposal string + Reason *string + Voter string + func (*PrepareRequest) Descriptor() ([]byte, []int) + func (*PrepareRequest) ProtoMessage() + func (x *PrepareRequest) GetChoice() *anypb.Any + func (x *PrepareRequest) GetProposal() string + func (x *PrepareRequest) GetReason() string + func (x *PrepareRequest) GetVoter() string + func (x *PrepareRequest) ProtoReflect() protoreflect.Message + func (x *PrepareRequest) Reset() + func (x *PrepareRequest) String() string + type PrepareResponse struct + Id string + TypedData string + func (*PrepareResponse) Descriptor() ([]byte, []int) + func (*PrepareResponse) ProtoMessage() + func (x *PrepareResponse) GetId() string + func (x *PrepareResponse) GetTypedData() string + func (x *PrepareResponse) ProtoReflect() protoreflect.Message + func (x *PrepareResponse) Reset() + func (x *PrepareResponse) String() string + type ProposalByFilterRequest struct + Category *string + Dao *string + Limit *uint64 + Offset *uint64 + Order *string + ProposalIds []string + Title *string + Top *bool + func (*ProposalByFilterRequest) Descriptor() ([]byte, []int) + func (*ProposalByFilterRequest) ProtoMessage() + func (x *ProposalByFilterRequest) GetCategory() string + func (x *ProposalByFilterRequest) GetDao() string + func (x *ProposalByFilterRequest) GetLimit() uint64 + func (x *ProposalByFilterRequest) GetOffset() uint64 + func (x *ProposalByFilterRequest) GetOrder() string + func (x *ProposalByFilterRequest) GetProposalIds() []string + func (x *ProposalByFilterRequest) GetTitle() string + func (x *ProposalByFilterRequest) GetTop() bool + func (x *ProposalByFilterRequest) ProtoReflect() protoreflect.Message + func (x *ProposalByFilterRequest) Reset() + func (x *ProposalByFilterRequest) String() string + type ProposalByFilterResponse struct + Proposals []*ProposalInfo + TotalCount uint64 + func (*ProposalByFilterResponse) Descriptor() ([]byte, []int) + func (*ProposalByFilterResponse) ProtoMessage() + func (x *ProposalByFilterResponse) GetProposals() []*ProposalInfo + func (x *ProposalByFilterResponse) GetTotalCount() uint64 + func (x *ProposalByFilterResponse) ProtoReflect() protoreflect.Message + func (x *ProposalByFilterResponse) Reset() + func (x *ProposalByFilterResponse) String() string + type ProposalByIDRequest struct + ProposalId string + func (*ProposalByIDRequest) Descriptor() ([]byte, []int) + func (*ProposalByIDRequest) ProtoMessage() + func (x *ProposalByIDRequest) GetProposalId() string + func (x *ProposalByIDRequest) ProtoReflect() protoreflect.Message + func (x *ProposalByIDRequest) Reset() + func (x *ProposalByIDRequest) String() string + type ProposalByIDResponse struct + Proposal *ProposalInfo + func (*ProposalByIDResponse) Descriptor() ([]byte, []int) + func (*ProposalByIDResponse) ProtoMessage() + func (x *ProposalByIDResponse) GetProposal() *ProposalInfo + func (x *ProposalByIDResponse) ProtoReflect() protoreflect.Message + func (x *ProposalByIDResponse) Reset() + func (x *ProposalByIDResponse) String() string + type ProposalClient interface + GetByFilter func(ctx context.Context, in *ProposalByFilterRequest, opts ...grpc.CallOption) (*ProposalByFilterResponse, error) + GetByID func(ctx context.Context, in *ProposalByIDRequest, opts ...grpc.CallOption) (*ProposalByIDResponse, error) + func NewProposalClient(cc grpc.ClientConnInterface) ProposalClient + type ProposalInfo struct + App string + Author string + Body string + Choices []string + Created uint64 + CreatedAt *timestamppb.Timestamp + DaoId string + Discussion string + End uint64 + EnsName string + Id string + Ipfs string + Link string + Network string + Privacy string + Quorum float32 + Scores []float32 + ScoresState string + ScoresTotal float32 + ScoresUpdated uint64 + Snapshot string + Start uint64 + State string + Strategies []*Strategy + Symbol string + Timeline []*ProposalTimelineItem + Title string + Type string + UpdatedAt *timestamppb.Timestamp + Votes uint64 + func (*ProposalInfo) Descriptor() ([]byte, []int) + func (*ProposalInfo) ProtoMessage() + func (x *ProposalInfo) GetApp() string + func (x *ProposalInfo) GetAuthor() string + func (x *ProposalInfo) GetBody() string + func (x *ProposalInfo) GetChoices() []string + func (x *ProposalInfo) GetCreated() uint64 + func (x *ProposalInfo) GetCreatedAt() *timestamppb.Timestamp + func (x *ProposalInfo) GetDaoId() string + func (x *ProposalInfo) GetDiscussion() string + func (x *ProposalInfo) GetEnd() uint64 + func (x *ProposalInfo) GetEnsName() string + func (x *ProposalInfo) GetId() string + func (x *ProposalInfo) GetIpfs() string + func (x *ProposalInfo) GetLink() string + func (x *ProposalInfo) GetNetwork() string + func (x *ProposalInfo) GetPrivacy() string + func (x *ProposalInfo) GetQuorum() float32 + func (x *ProposalInfo) GetScores() []float32 + func (x *ProposalInfo) GetScoresState() string + func (x *ProposalInfo) GetScoresTotal() float32 + func (x *ProposalInfo) GetScoresUpdated() uint64 + func (x *ProposalInfo) GetSnapshot() string + func (x *ProposalInfo) GetStart() uint64 + func (x *ProposalInfo) GetState() string + func (x *ProposalInfo) GetStrategies() []*Strategy + func (x *ProposalInfo) GetSymbol() string + func (x *ProposalInfo) GetTimeline() []*ProposalTimelineItem + func (x *ProposalInfo) GetTitle() string + func (x *ProposalInfo) GetType() string + func (x *ProposalInfo) GetUpdatedAt() *timestamppb.Timestamp + func (x *ProposalInfo) GetVotes() uint64 + func (x *ProposalInfo) ProtoReflect() protoreflect.Message + func (x *ProposalInfo) Reset() + func (x *ProposalInfo) String() string + type ProposalServer interface + GetByFilter func(context.Context, *ProposalByFilterRequest) (*ProposalByFilterResponse, error) + GetByID func(context.Context, *ProposalByIDRequest) (*ProposalByIDResponse, error) + type ProposalTimelineItem struct + Action ProposalTimelineItem_TimelineAction + CreatedAt *timestamppb.Timestamp + func (*ProposalTimelineItem) Descriptor() ([]byte, []int) + func (*ProposalTimelineItem) ProtoMessage() + func (x *ProposalTimelineItem) GetAction() ProposalTimelineItem_TimelineAction + func (x *ProposalTimelineItem) GetCreatedAt() *timestamppb.Timestamp + func (x *ProposalTimelineItem) ProtoReflect() protoreflect.Message + func (x *ProposalTimelineItem) Reset() + func (x *ProposalTimelineItem) String() string + type ProposalTimelineItem_TimelineAction int32 + const ProposalTimelineItem_DaoCreated + const ProposalTimelineItem_DaoUpdated + const ProposalTimelineItem_ProposalCreated + const ProposalTimelineItem_ProposalUpdated + const ProposalTimelineItem_ProposalVotingEnded + const ProposalTimelineItem_ProposalVotingEndsSoon + const ProposalTimelineItem_ProposalVotingQuorumReached + const ProposalTimelineItem_ProposalVotingStarted + const ProposalTimelineItem_ProposalVotingStartsSoon + const ProposalTimelineItem_Unspecified + func (ProposalTimelineItem_TimelineAction) Descriptor() protoreflect.EnumDescriptor + func (ProposalTimelineItem_TimelineAction) EnumDescriptor() ([]byte, []int) + func (ProposalTimelineItem_TimelineAction) Type() protoreflect.EnumType + func (x ProposalTimelineItem_TimelineAction) Enum() *ProposalTimelineItem_TimelineAction + func (x ProposalTimelineItem_TimelineAction) Number() protoreflect.EnumNumber + func (x ProposalTimelineItem_TimelineAction) String() string + type Relayer struct + Address string + Receipt string + func (*Relayer) Descriptor() ([]byte, []int) + func (*Relayer) ProtoMessage() + func (x *Relayer) GetAddress() string + func (x *Relayer) GetReceipt() string + func (x *Relayer) ProtoReflect() protoreflect.Message + func (x *Relayer) Reset() + func (x *Relayer) String() string + type Strategy struct + Name string + Network string + Params []byte + func (*Strategy) Descriptor() ([]byte, []int) + func (*Strategy) ProtoMessage() + func (x *Strategy) GetName() string + func (x *Strategy) GetNetwork() string + func (x *Strategy) GetParams() []byte + func (x *Strategy) ProtoReflect() protoreflect.Message + func (x *Strategy) Reset() + func (x *Strategy) String() string + type TopByCategoriesRequest struct + Limit uint64 + func (*TopByCategoriesRequest) Descriptor() ([]byte, []int) + func (*TopByCategoriesRequest) ProtoMessage() + func (x *TopByCategoriesRequest) GetLimit() uint64 + func (x *TopByCategoriesRequest) ProtoReflect() protoreflect.Message + func (x *TopByCategoriesRequest) Reset() + func (x *TopByCategoriesRequest) String() string + type TopByCategoriesResponse struct + Categories []*TopCategory + func (*TopByCategoriesResponse) Descriptor() ([]byte, []int) + func (*TopByCategoriesResponse) ProtoMessage() + func (x *TopByCategoriesResponse) GetCategories() []*TopCategory + func (x *TopByCategoriesResponse) ProtoReflect() protoreflect.Message + func (x *TopByCategoriesResponse) Reset() + func (x *TopByCategoriesResponse) String() string + type TopCategory struct + Category string + Daos []*DaoInfo + TotalCount uint64 + func (*TopCategory) Descriptor() ([]byte, []int) + func (*TopCategory) ProtoMessage() + func (x *TopCategory) GetCategory() string + func (x *TopCategory) GetDaos() []*DaoInfo + func (x *TopCategory) GetTotalCount() uint64 + func (x *TopCategory) ProtoReflect() protoreflect.Message + func (x *TopCategory) Reset() + func (x *TopCategory) String() string + type Treasury struct + Address string + Name string + Network string + func (*Treasury) Descriptor() ([]byte, []int) + func (*Treasury) ProtoMessage() + func (x *Treasury) GetAddress() string + func (x *Treasury) GetName() string + func (x *Treasury) GetNetwork() string + func (x *Treasury) ProtoReflect() protoreflect.Message + func (x *Treasury) Reset() + func (x *Treasury) String() string + type UnimplementedDaoServer struct + func (UnimplementedDaoServer) GetByFilter(context.Context, *DaoByFilterRequest) (*DaoByFilterResponse, error) + func (UnimplementedDaoServer) GetByID(context.Context, *DaoByIDRequest) (*DaoByIDResponse, error) + func (UnimplementedDaoServer) GetTopByCategories(context.Context, *TopByCategoriesRequest) (*TopByCategoriesResponse, error) + type UnimplementedProposalServer struct + func (UnimplementedProposalServer) GetByFilter(context.Context, *ProposalByFilterRequest) (*ProposalByFilterResponse, error) + func (UnimplementedProposalServer) GetByID(context.Context, *ProposalByIDRequest) (*ProposalByIDResponse, error) + type UnimplementedVoteServer struct + func (UnimplementedVoteServer) GetVotes(context.Context, *VotesFilterRequest) (*VotesFilterResponse, error) + func (UnimplementedVoteServer) Prepare(context.Context, *PrepareRequest) (*PrepareResponse, error) + func (UnimplementedVoteServer) Validate(context.Context, *ValidateRequest) (*ValidateResponse, error) + func (UnimplementedVoteServer) Vote(context.Context, *VoteRequest) (*VoteResponse, error) + type UnsafeDaoServer interface + type UnsafeProposalServer interface + type UnsafeVoteServer interface + type ValidateRequest struct + Proposal string + Voter string + func (*ValidateRequest) Descriptor() ([]byte, []int) + func (*ValidateRequest) ProtoMessage() + func (x *ValidateRequest) GetProposal() string + func (x *ValidateRequest) GetVoter() string + func (x *ValidateRequest) ProtoReflect() protoreflect.Message + func (x *ValidateRequest) Reset() + func (x *ValidateRequest) String() string + type ValidateResponse struct + Ok bool + ValidationError *ValidationError + VotingPower float64 + func (*ValidateResponse) Descriptor() ([]byte, []int) + func (*ValidateResponse) ProtoMessage() + func (x *ValidateResponse) GetOk() bool + func (x *ValidateResponse) GetValidationError() *ValidationError + func (x *ValidateResponse) GetVotingPower() float64 + func (x *ValidateResponse) ProtoReflect() protoreflect.Message + func (x *ValidateResponse) Reset() + func (x *ValidateResponse) String() string + type ValidationError struct + Code uint32 + Message string + func (*ValidationError) Descriptor() ([]byte, []int) + func (*ValidationError) ProtoMessage() + func (x *ValidationError) GetCode() uint32 + func (x *ValidationError) GetMessage() string + func (x *ValidationError) ProtoReflect() protoreflect.Message + func (x *ValidationError) Reset() + func (x *ValidationError) String() string + type VoteClient interface + GetVotes func(ctx context.Context, in *VotesFilterRequest, opts ...grpc.CallOption) (*VotesFilterResponse, error) + Prepare func(ctx context.Context, in *PrepareRequest, opts ...grpc.CallOption) (*PrepareResponse, error) + Validate func(ctx context.Context, in *ValidateRequest, opts ...grpc.CallOption) (*ValidateResponse, error) + Vote func(ctx context.Context, in *VoteRequest, opts ...grpc.CallOption) (*VoteResponse, error) + func NewVoteClient(cc grpc.ClientConnInterface) VoteClient + type VoteInfo struct + App string + Choice *anypb.Any + Created uint64 + DaoId string + EnsName string + Id string + Ipfs string + ProposalId string + Reason string + Voter string + Vp float32 + VpByStrategy []float32 + VpState string + func (*VoteInfo) Descriptor() ([]byte, []int) + func (*VoteInfo) ProtoMessage() + func (x *VoteInfo) GetApp() string + func (x *VoteInfo) GetChoice() *anypb.Any + func (x *VoteInfo) GetCreated() uint64 + func (x *VoteInfo) GetDaoId() string + func (x *VoteInfo) GetEnsName() string + func (x *VoteInfo) GetId() string + func (x *VoteInfo) GetIpfs() string + func (x *VoteInfo) GetProposalId() string + func (x *VoteInfo) GetReason() string + func (x *VoteInfo) GetVoter() string + func (x *VoteInfo) GetVp() float32 + func (x *VoteInfo) GetVpByStrategy() []float32 + func (x *VoteInfo) GetVpState() string + func (x *VoteInfo) ProtoReflect() protoreflect.Message + func (x *VoteInfo) Reset() + func (x *VoteInfo) String() string + type VoteRequest struct + Id string + Sig string + func (*VoteRequest) Descriptor() ([]byte, []int) + func (*VoteRequest) ProtoMessage() + func (x *VoteRequest) GetId() string + func (x *VoteRequest) GetSig() string + func (x *VoteRequest) ProtoReflect() protoreflect.Message + func (x *VoteRequest) Reset() + func (x *VoteRequest) String() string + type VoteResponse struct + Id string + Ipfs string + Relayer *Relayer + func (*VoteResponse) Descriptor() ([]byte, []int) + func (*VoteResponse) ProtoMessage() + func (x *VoteResponse) GetId() string + func (x *VoteResponse) GetIpfs() string + func (x *VoteResponse) GetRelayer() *Relayer + func (x *VoteResponse) ProtoReflect() protoreflect.Message + func (x *VoteResponse) Reset() + func (x *VoteResponse) String() string + type VoteServer interface + GetVotes func(context.Context, *VotesFilterRequest) (*VotesFilterResponse, error) + Prepare func(context.Context, *PrepareRequest) (*PrepareResponse, error) + Validate func(context.Context, *ValidateRequest) (*ValidateResponse, error) + Vote func(context.Context, *VoteRequest) (*VoteResponse, error) + type VotesFilterRequest struct + Limit *uint64 + Offset *uint64 + OrderByVoter *string + ProposalIds []string + Voter *string + func (*VotesFilterRequest) Descriptor() ([]byte, []int) + func (*VotesFilterRequest) ProtoMessage() + func (x *VotesFilterRequest) GetLimit() uint64 + func (x *VotesFilterRequest) GetOffset() uint64 + func (x *VotesFilterRequest) GetOrderByVoter() string + func (x *VotesFilterRequest) GetProposalIds() []string + func (x *VotesFilterRequest) GetVoter() string + func (x *VotesFilterRequest) ProtoReflect() protoreflect.Message + func (x *VotesFilterRequest) Reset() + func (x *VotesFilterRequest) String() string + type VotesFilterResponse struct + TotalCount uint64 + Votes []*VoteInfo + func (*VotesFilterResponse) Descriptor() ([]byte, []int) + func (*VotesFilterResponse) ProtoMessage() + func (x *VotesFilterResponse) GetTotalCount() uint64 + func (x *VotesFilterResponse) GetVotes() []*VoteInfo + func (x *VotesFilterResponse) ProtoReflect() protoreflect.Message + func (x *VotesFilterResponse) Reset() + func (x *VotesFilterResponse) String() string + type Voting struct + Aliased bool + Blind bool + Delay uint64 + HideAbstain bool + Period uint64 + Privacy string + Quorum float32 + Type string + func (*Voting) Descriptor() ([]byte, []int) + func (*Voting) ProtoMessage() + func (x *Voting) GetAliased() bool + func (x *Voting) GetBlind() bool + func (x *Voting) GetDelay() uint64 + func (x *Voting) GetHideAbstain() bool + func (x *Voting) GetPeriod() uint64 + func (x *Voting) GetPrivacy() string + func (x *Voting) GetQuorum() float32 + func (x *Voting) GetType() string + func (x *Voting) ProtoReflect() protoreflect.Message + func (x *Voting) Reset() + func (x *Voting) String() string