2024-02-09 08:44:45 +00:00
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package auctionv1
import (
v1beta1 "cosmossdk.io/api/cosmos/base/v1beta1"
fmt "fmt"
2024-09-05 07:07:54 +00:00
_ "github.com/cosmos/cosmos-proto"
2024-02-09 08:44:45 +00:00
runtime "github.com/cosmos/cosmos-proto/runtime"
_ "github.com/cosmos/cosmos-sdk/types/msgservice"
_ "github.com/cosmos/gogoproto/gogoproto"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoiface "google.golang.org/protobuf/runtime/protoiface"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
durationpb "google.golang.org/protobuf/types/known/durationpb"
io "io"
reflect "reflect"
sync "sync"
)
var (
md_MsgCreateAuction protoreflect . MessageDescriptor
2024-09-25 12:38:49 +00:00
fd_MsgCreateAuction_signer protoreflect . FieldDescriptor
fd_MsgCreateAuction_kind protoreflect . FieldDescriptor
2024-02-09 08:44:45 +00:00
fd_MsgCreateAuction_commits_duration protoreflect . FieldDescriptor
fd_MsgCreateAuction_reveals_duration protoreflect . FieldDescriptor
fd_MsgCreateAuction_commit_fee protoreflect . FieldDescriptor
fd_MsgCreateAuction_reveal_fee protoreflect . FieldDescriptor
fd_MsgCreateAuction_minimum_bid protoreflect . FieldDescriptor
2024-09-25 12:38:49 +00:00
fd_MsgCreateAuction_max_price protoreflect . FieldDescriptor
fd_MsgCreateAuction_num_providers protoreflect . FieldDescriptor
2024-02-09 08:44:45 +00:00
)
func init ( ) {
file_cerc_auction_v1_tx_proto_init ( )
md_MsgCreateAuction = File_cerc_auction_v1_tx_proto . Messages ( ) . ByName ( "MsgCreateAuction" )
2024-09-25 12:38:49 +00:00
fd_MsgCreateAuction_signer = md_MsgCreateAuction . Fields ( ) . ByName ( "signer" )
fd_MsgCreateAuction_kind = md_MsgCreateAuction . Fields ( ) . ByName ( "kind" )
2024-02-09 08:44:45 +00:00
fd_MsgCreateAuction_commits_duration = md_MsgCreateAuction . Fields ( ) . ByName ( "commits_duration" )
fd_MsgCreateAuction_reveals_duration = md_MsgCreateAuction . Fields ( ) . ByName ( "reveals_duration" )
fd_MsgCreateAuction_commit_fee = md_MsgCreateAuction . Fields ( ) . ByName ( "commit_fee" )
fd_MsgCreateAuction_reveal_fee = md_MsgCreateAuction . Fields ( ) . ByName ( "reveal_fee" )
fd_MsgCreateAuction_minimum_bid = md_MsgCreateAuction . Fields ( ) . ByName ( "minimum_bid" )
2024-09-25 12:38:49 +00:00
fd_MsgCreateAuction_max_price = md_MsgCreateAuction . Fields ( ) . ByName ( "max_price" )
fd_MsgCreateAuction_num_providers = md_MsgCreateAuction . Fields ( ) . ByName ( "num_providers" )
2024-02-09 08:44:45 +00:00
}
var _ protoreflect . Message = ( * fastReflection_MsgCreateAuction ) ( nil )
type fastReflection_MsgCreateAuction MsgCreateAuction
func ( x * MsgCreateAuction ) ProtoReflect ( ) protoreflect . Message {
return ( * fastReflection_MsgCreateAuction ) ( x )
}
func ( x * MsgCreateAuction ) slowProtoReflect ( ) protoreflect . Message {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 0 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
var _fastReflection_MsgCreateAuction_messageType fastReflection_MsgCreateAuction_messageType
var _ protoreflect . MessageType = fastReflection_MsgCreateAuction_messageType { }
type fastReflection_MsgCreateAuction_messageType struct { }
func ( x fastReflection_MsgCreateAuction_messageType ) Zero ( ) protoreflect . Message {
return ( * fastReflection_MsgCreateAuction ) ( nil )
}
func ( x fastReflection_MsgCreateAuction_messageType ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgCreateAuction )
}
func ( x fastReflection_MsgCreateAuction_messageType ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgCreateAuction
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func ( x * fastReflection_MsgCreateAuction ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgCreateAuction
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func ( x * fastReflection_MsgCreateAuction ) Type ( ) protoreflect . MessageType {
return _fastReflection_MsgCreateAuction_messageType
}
// New returns a newly allocated and mutable empty message.
func ( x * fastReflection_MsgCreateAuction ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgCreateAuction )
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func ( x * fastReflection_MsgCreateAuction ) Interface ( ) protoreflect . ProtoMessage {
return ( * MsgCreateAuction ) ( x )
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func ( x * fastReflection_MsgCreateAuction ) Range ( f func ( protoreflect . FieldDescriptor , protoreflect . Value ) bool ) {
2024-09-25 12:38:49 +00:00
if x . Signer != "" {
value := protoreflect . ValueOfString ( x . Signer )
if ! f ( fd_MsgCreateAuction_signer , value ) {
return
}
}
if x . Kind != "" {
value := protoreflect . ValueOfString ( x . Kind )
if ! f ( fd_MsgCreateAuction_kind , value ) {
return
}
}
2024-02-09 08:44:45 +00:00
if x . CommitsDuration != nil {
value := protoreflect . ValueOfMessage ( x . CommitsDuration . ProtoReflect ( ) )
if ! f ( fd_MsgCreateAuction_commits_duration , value ) {
return
}
}
if x . RevealsDuration != nil {
value := protoreflect . ValueOfMessage ( x . RevealsDuration . ProtoReflect ( ) )
if ! f ( fd_MsgCreateAuction_reveals_duration , value ) {
return
}
}
if x . CommitFee != nil {
value := protoreflect . ValueOfMessage ( x . CommitFee . ProtoReflect ( ) )
if ! f ( fd_MsgCreateAuction_commit_fee , value ) {
return
}
}
if x . RevealFee != nil {
value := protoreflect . ValueOfMessage ( x . RevealFee . ProtoReflect ( ) )
if ! f ( fd_MsgCreateAuction_reveal_fee , value ) {
return
}
}
if x . MinimumBid != nil {
value := protoreflect . ValueOfMessage ( x . MinimumBid . ProtoReflect ( ) )
if ! f ( fd_MsgCreateAuction_minimum_bid , value ) {
return
}
}
2024-09-25 12:38:49 +00:00
if x . MaxPrice != nil {
value := protoreflect . ValueOfMessage ( x . MaxPrice . ProtoReflect ( ) )
if ! f ( fd_MsgCreateAuction_max_price , value ) {
return
}
}
if x . NumProviders != int32 ( 0 ) {
value := protoreflect . ValueOfInt32 ( x . NumProviders )
if ! f ( fd_MsgCreateAuction_num_providers , value ) {
2024-02-09 08:44:45 +00:00
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func ( x * fastReflection_MsgCreateAuction ) Has ( fd protoreflect . FieldDescriptor ) bool {
switch fd . FullName ( ) {
2024-09-25 12:38:49 +00:00
case "cerc.auction.v1.MsgCreateAuction.signer" :
return x . Signer != ""
case "cerc.auction.v1.MsgCreateAuction.kind" :
return x . Kind != ""
2024-02-09 08:44:45 +00:00
case "cerc.auction.v1.MsgCreateAuction.commits_duration" :
return x . CommitsDuration != nil
case "cerc.auction.v1.MsgCreateAuction.reveals_duration" :
return x . RevealsDuration != nil
case "cerc.auction.v1.MsgCreateAuction.commit_fee" :
return x . CommitFee != nil
case "cerc.auction.v1.MsgCreateAuction.reveal_fee" :
return x . RevealFee != nil
case "cerc.auction.v1.MsgCreateAuction.minimum_bid" :
return x . MinimumBid != nil
2024-09-25 12:38:49 +00:00
case "cerc.auction.v1.MsgCreateAuction.max_price" :
return x . MaxPrice != nil
case "cerc.auction.v1.MsgCreateAuction.num_providers" :
return x . NumProviders != int32 ( 0 )
2024-02-09 08:44:45 +00:00
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCreateAuction" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCreateAuction does not contain field %s" , fd . FullName ( ) ) )
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCreateAuction ) Clear ( fd protoreflect . FieldDescriptor ) {
switch fd . FullName ( ) {
2024-09-25 12:38:49 +00:00
case "cerc.auction.v1.MsgCreateAuction.signer" :
x . Signer = ""
case "cerc.auction.v1.MsgCreateAuction.kind" :
x . Kind = ""
2024-02-09 08:44:45 +00:00
case "cerc.auction.v1.MsgCreateAuction.commits_duration" :
x . CommitsDuration = nil
case "cerc.auction.v1.MsgCreateAuction.reveals_duration" :
x . RevealsDuration = nil
case "cerc.auction.v1.MsgCreateAuction.commit_fee" :
x . CommitFee = nil
case "cerc.auction.v1.MsgCreateAuction.reveal_fee" :
x . RevealFee = nil
case "cerc.auction.v1.MsgCreateAuction.minimum_bid" :
x . MinimumBid = nil
2024-09-25 12:38:49 +00:00
case "cerc.auction.v1.MsgCreateAuction.max_price" :
x . MaxPrice = nil
case "cerc.auction.v1.MsgCreateAuction.num_providers" :
x . NumProviders = int32 ( 0 )
2024-02-09 08:44:45 +00:00
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCreateAuction" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCreateAuction does not contain field %s" , fd . FullName ( ) ) )
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func ( x * fastReflection_MsgCreateAuction ) Get ( descriptor protoreflect . FieldDescriptor ) protoreflect . Value {
switch descriptor . FullName ( ) {
2024-09-25 12:38:49 +00:00
case "cerc.auction.v1.MsgCreateAuction.signer" :
value := x . Signer
return protoreflect . ValueOfString ( value )
case "cerc.auction.v1.MsgCreateAuction.kind" :
value := x . Kind
return protoreflect . ValueOfString ( value )
2024-02-09 08:44:45 +00:00
case "cerc.auction.v1.MsgCreateAuction.commits_duration" :
value := x . CommitsDuration
return protoreflect . ValueOfMessage ( value . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.reveals_duration" :
value := x . RevealsDuration
return protoreflect . ValueOfMessage ( value . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.commit_fee" :
value := x . CommitFee
return protoreflect . ValueOfMessage ( value . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.reveal_fee" :
value := x . RevealFee
return protoreflect . ValueOfMessage ( value . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.minimum_bid" :
value := x . MinimumBid
return protoreflect . ValueOfMessage ( value . ProtoReflect ( ) )
2024-09-25 12:38:49 +00:00
case "cerc.auction.v1.MsgCreateAuction.max_price" :
value := x . MaxPrice
return protoreflect . ValueOfMessage ( value . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.num_providers" :
value := x . NumProviders
return protoreflect . ValueOfInt32 ( value )
2024-02-09 08:44:45 +00:00
default :
if descriptor . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCreateAuction" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCreateAuction does not contain field %s" , descriptor . FullName ( ) ) )
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCreateAuction ) Set ( fd protoreflect . FieldDescriptor , value protoreflect . Value ) {
switch fd . FullName ( ) {
2024-09-25 12:38:49 +00:00
case "cerc.auction.v1.MsgCreateAuction.signer" :
x . Signer = value . Interface ( ) . ( string )
case "cerc.auction.v1.MsgCreateAuction.kind" :
x . Kind = value . Interface ( ) . ( string )
2024-02-09 08:44:45 +00:00
case "cerc.auction.v1.MsgCreateAuction.commits_duration" :
x . CommitsDuration = value . Message ( ) . Interface ( ) . ( * durationpb . Duration )
case "cerc.auction.v1.MsgCreateAuction.reveals_duration" :
x . RevealsDuration = value . Message ( ) . Interface ( ) . ( * durationpb . Duration )
case "cerc.auction.v1.MsgCreateAuction.commit_fee" :
x . CommitFee = value . Message ( ) . Interface ( ) . ( * v1beta1 . Coin )
case "cerc.auction.v1.MsgCreateAuction.reveal_fee" :
x . RevealFee = value . Message ( ) . Interface ( ) . ( * v1beta1 . Coin )
case "cerc.auction.v1.MsgCreateAuction.minimum_bid" :
x . MinimumBid = value . Message ( ) . Interface ( ) . ( * v1beta1 . Coin )
2024-09-25 12:38:49 +00:00
case "cerc.auction.v1.MsgCreateAuction.max_price" :
x . MaxPrice = value . Message ( ) . Interface ( ) . ( * v1beta1 . Coin )
case "cerc.auction.v1.MsgCreateAuction.num_providers" :
x . NumProviders = int32 ( value . Int ( ) )
2024-02-09 08:44:45 +00:00
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCreateAuction" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCreateAuction does not contain field %s" , fd . FullName ( ) ) )
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCreateAuction ) Mutable ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCreateAuction.commits_duration" :
if x . CommitsDuration == nil {
x . CommitsDuration = new ( durationpb . Duration )
}
return protoreflect . ValueOfMessage ( x . CommitsDuration . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.reveals_duration" :
if x . RevealsDuration == nil {
x . RevealsDuration = new ( durationpb . Duration )
}
return protoreflect . ValueOfMessage ( x . RevealsDuration . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.commit_fee" :
if x . CommitFee == nil {
x . CommitFee = new ( v1beta1 . Coin )
}
return protoreflect . ValueOfMessage ( x . CommitFee . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.reveal_fee" :
if x . RevealFee == nil {
x . RevealFee = new ( v1beta1 . Coin )
}
return protoreflect . ValueOfMessage ( x . RevealFee . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.minimum_bid" :
if x . MinimumBid == nil {
x . MinimumBid = new ( v1beta1 . Coin )
}
return protoreflect . ValueOfMessage ( x . MinimumBid . ProtoReflect ( ) )
2024-09-25 12:38:49 +00:00
case "cerc.auction.v1.MsgCreateAuction.max_price" :
if x . MaxPrice == nil {
x . MaxPrice = new ( v1beta1 . Coin )
}
return protoreflect . ValueOfMessage ( x . MaxPrice . ProtoReflect ( ) )
2024-02-09 08:44:45 +00:00
case "cerc.auction.v1.MsgCreateAuction.signer" :
panic ( fmt . Errorf ( "field signer of message cerc.auction.v1.MsgCreateAuction is not mutable" ) )
2024-09-25 12:38:49 +00:00
case "cerc.auction.v1.MsgCreateAuction.kind" :
panic ( fmt . Errorf ( "field kind of message cerc.auction.v1.MsgCreateAuction is not mutable" ) )
case "cerc.auction.v1.MsgCreateAuction.num_providers" :
panic ( fmt . Errorf ( "field num_providers of message cerc.auction.v1.MsgCreateAuction is not mutable" ) )
2024-02-09 08:44:45 +00:00
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCreateAuction" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCreateAuction does not contain field %s" , fd . FullName ( ) ) )
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func ( x * fastReflection_MsgCreateAuction ) NewField ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
2024-09-25 12:38:49 +00:00
case "cerc.auction.v1.MsgCreateAuction.signer" :
return protoreflect . ValueOfString ( "" )
case "cerc.auction.v1.MsgCreateAuction.kind" :
return protoreflect . ValueOfString ( "" )
2024-02-09 08:44:45 +00:00
case "cerc.auction.v1.MsgCreateAuction.commits_duration" :
m := new ( durationpb . Duration )
return protoreflect . ValueOfMessage ( m . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.reveals_duration" :
m := new ( durationpb . Duration )
return protoreflect . ValueOfMessage ( m . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.commit_fee" :
m := new ( v1beta1 . Coin )
return protoreflect . ValueOfMessage ( m . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.reveal_fee" :
m := new ( v1beta1 . Coin )
return protoreflect . ValueOfMessage ( m . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.minimum_bid" :
m := new ( v1beta1 . Coin )
return protoreflect . ValueOfMessage ( m . ProtoReflect ( ) )
2024-09-25 12:38:49 +00:00
case "cerc.auction.v1.MsgCreateAuction.max_price" :
m := new ( v1beta1 . Coin )
return protoreflect . ValueOfMessage ( m . ProtoReflect ( ) )
case "cerc.auction.v1.MsgCreateAuction.num_providers" :
return protoreflect . ValueOfInt32 ( int32 ( 0 ) )
2024-02-09 08:44:45 +00:00
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCreateAuction" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCreateAuction does not contain field %s" , fd . FullName ( ) ) )
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func ( x * fastReflection_MsgCreateAuction ) WhichOneof ( d protoreflect . OneofDescriptor ) protoreflect . FieldDescriptor {
switch d . FullName ( ) {
default :
panic ( fmt . Errorf ( "%s is not a oneof field in cerc.auction.v1.MsgCreateAuction" , d . FullName ( ) ) )
}
panic ( "unreachable" )
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func ( x * fastReflection_MsgCreateAuction ) GetUnknown ( ) protoreflect . RawFields {
return x . unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCreateAuction ) SetUnknown ( fields protoreflect . RawFields ) {
x . unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func ( x * fastReflection_MsgCreateAuction ) IsValid ( ) bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func ( x * fastReflection_MsgCreateAuction ) ProtoMethods ( ) * protoiface . Methods {
size := func ( input protoiface . SizeInput ) protoiface . SizeOutput {
x := input . Message . Interface ( ) . ( * MsgCreateAuction )
if x == nil {
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : 0 ,
}
}
options := runtime . SizeInputToOptions ( input )
_ = options
var n int
var l int
_ = l
2024-09-25 12:38:49 +00:00
l = len ( x . Signer )
if l > 0 {
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
l = len ( x . Kind )
if l > 0 {
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
2024-02-09 08:44:45 +00:00
if x . CommitsDuration != nil {
l = options . Size ( x . CommitsDuration )
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . RevealsDuration != nil {
l = options . Size ( x . RevealsDuration )
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . CommitFee != nil {
l = options . Size ( x . CommitFee )
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . RevealFee != nil {
l = options . Size ( x . RevealFee )
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . MinimumBid != nil {
l = options . Size ( x . MinimumBid )
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
2024-09-25 12:38:49 +00:00
if x . MaxPrice != nil {
l = options . Size ( x . MaxPrice )
2024-02-09 08:44:45 +00:00
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
2024-09-25 12:38:49 +00:00
if x . NumProviders != 0 {
n += 1 + runtime . Sov ( uint64 ( x . NumProviders ) )
}
2024-02-09 08:44:45 +00:00
if x . unknownFields != nil {
n += len ( x . unknownFields )
}
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : n ,
}
}
marshal := func ( input protoiface . MarshalInput ) ( protoiface . MarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgCreateAuction )
if x == nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
options := runtime . MarshalInputToOptions ( input )
_ = options
size := options . Size ( x )
dAtA := make ( [ ] byte , size )
i := len ( dAtA )
_ = i
var l int
_ = l
if x . unknownFields != nil {
i -= len ( x . unknownFields )
copy ( dAtA [ i : ] , x . unknownFields )
}
2024-09-25 12:38:49 +00:00
if x . NumProviders != 0 {
i = runtime . EncodeVarint ( dAtA , i , uint64 ( x . NumProviders ) )
2024-02-09 08:44:45 +00:00
i --
2024-09-25 12:38:49 +00:00
dAtA [ i ] = 0x48
}
if x . MaxPrice != nil {
encoded , err := options . Marshal ( x . MaxPrice )
if err != nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , err
}
i -= len ( encoded )
copy ( dAtA [ i : ] , encoded )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( encoded ) ) )
i --
dAtA [ i ] = 0x42
2024-02-09 08:44:45 +00:00
}
if x . MinimumBid != nil {
encoded , err := options . Marshal ( x . MinimumBid )
if err != nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , err
}
i -= len ( encoded )
copy ( dAtA [ i : ] , encoded )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( encoded ) ) )
i --
2024-09-25 12:38:49 +00:00
dAtA [ i ] = 0x3a
2024-02-09 08:44:45 +00:00
}
if x . RevealFee != nil {
encoded , err := options . Marshal ( x . RevealFee )
if err != nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , err
}
i -= len ( encoded )
copy ( dAtA [ i : ] , encoded )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( encoded ) ) )
i --
2024-09-25 12:38:49 +00:00
dAtA [ i ] = 0x32
2024-02-09 08:44:45 +00:00
}
if x . CommitFee != nil {
encoded , err := options . Marshal ( x . CommitFee )
if err != nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , err
}
i -= len ( encoded )
copy ( dAtA [ i : ] , encoded )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( encoded ) ) )
i --
2024-09-25 12:38:49 +00:00
dAtA [ i ] = 0x2a
2024-02-09 08:44:45 +00:00
}
if x . RevealsDuration != nil {
encoded , err := options . Marshal ( x . RevealsDuration )
if err != nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , err
}
i -= len ( encoded )
copy ( dAtA [ i : ] , encoded )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( encoded ) ) )
i --
2024-09-25 12:38:49 +00:00
dAtA [ i ] = 0x22
2024-02-09 08:44:45 +00:00
}
if x . CommitsDuration != nil {
encoded , err := options . Marshal ( x . CommitsDuration )
if err != nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , err
}
i -= len ( encoded )
copy ( dAtA [ i : ] , encoded )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( encoded ) ) )
i --
2024-09-25 12:38:49 +00:00
dAtA [ i ] = 0x1a
}
if len ( x . Kind ) > 0 {
i -= len ( x . Kind )
copy ( dAtA [ i : ] , x . Kind )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( x . Kind ) ) )
i --
dAtA [ i ] = 0x12
}
if len ( x . Signer ) > 0 {
i -= len ( x . Signer )
copy ( dAtA [ i : ] , x . Signer )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( x . Signer ) ) )
i --
2024-02-09 08:44:45 +00:00
dAtA [ i ] = 0xa
}
if input . Buf != nil {
input . Buf = append ( input . Buf , dAtA ... )
} else {
input . Buf = dAtA
}
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
unmarshal := func ( input protoiface . UnmarshalInput ) ( protoiface . UnmarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgCreateAuction )
if x == nil {
return protoiface . UnmarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Flags : input . Flags ,
} , nil
}
options := runtime . UnmarshalInputToOptions ( input )
_ = options
dAtA := input . Buf
l := len ( dAtA )
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
wire |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
fieldNum := int32 ( wire >> 3 )
wireType := int ( wire & 0x7 )
if wireType == 4 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgCreateAuction: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgCreateAuction: illegal tag %d (wire type %d)" , fieldNum , wire )
}
switch fieldNum {
case 1 :
2024-09-25 12:38:49 +00:00
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field Signer" , wireType )
}
var stringLen uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
stringLen |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
intStringLen := int ( stringLen )
if intStringLen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
x . Signer = string ( dAtA [ iNdEx : postIndex ] )
iNdEx = postIndex
case 2 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field Kind" , wireType )
}
var stringLen uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
stringLen |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
intStringLen := int ( stringLen )
if intStringLen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
x . Kind = string ( dAtA [ iNdEx : postIndex ] )
iNdEx = postIndex
case 3 :
2024-02-09 08:44:45 +00:00
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field CommitsDuration" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if x . CommitsDuration == nil {
x . CommitsDuration = & durationpb . Duration { }
}
if err := options . Unmarshal ( dAtA [ iNdEx : postIndex ] , x . CommitsDuration ) ; err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
iNdEx = postIndex
2024-09-25 12:38:49 +00:00
case 4 :
2024-02-09 08:44:45 +00:00
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field RevealsDuration" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if x . RevealsDuration == nil {
x . RevealsDuration = & durationpb . Duration { }
}
if err := options . Unmarshal ( dAtA [ iNdEx : postIndex ] , x . RevealsDuration ) ; err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
iNdEx = postIndex
2024-09-25 12:38:49 +00:00
case 5 :
2024-02-09 08:44:45 +00:00
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field CommitFee" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if x . CommitFee == nil {
x . CommitFee = & v1beta1 . Coin { }
}
if err := options . Unmarshal ( dAtA [ iNdEx : postIndex ] , x . CommitFee ) ; err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
iNdEx = postIndex
2024-09-25 12:38:49 +00:00
case 6 :
2024-02-09 08:44:45 +00:00
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field RevealFee" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if x . RevealFee == nil {
x . RevealFee = & v1beta1 . Coin { }
}
if err := options . Unmarshal ( dAtA [ iNdEx : postIndex ] , x . RevealFee ) ; err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
iNdEx = postIndex
2024-09-25 12:38:49 +00:00
case 7 :
2024-02-09 08:44:45 +00:00
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field MinimumBid" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if x . MinimumBid == nil {
x . MinimumBid = & v1beta1 . Coin { }
}
if err := options . Unmarshal ( dAtA [ iNdEx : postIndex ] , x . MinimumBid ) ; err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
iNdEx = postIndex
2024-09-25 12:38:49 +00:00
case 8 :
2024-02-09 08:44:45 +00:00
if wireType != 2 {
2024-09-25 12:38:49 +00:00
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field MaxPrice" , wireType )
2024-02-09 08:44:45 +00:00
}
2024-09-25 12:38:49 +00:00
var msglen int
2024-02-09 08:44:45 +00:00
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
2024-09-25 12:38:49 +00:00
msglen |= int ( b & 0x7F ) << shift
2024-02-09 08:44:45 +00:00
if b < 0x80 {
break
}
}
2024-09-25 12:38:49 +00:00
if msglen < 0 {
2024-02-09 08:44:45 +00:00
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
2024-09-25 12:38:49 +00:00
postIndex := iNdEx + msglen
2024-02-09 08:44:45 +00:00
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
2024-09-25 12:38:49 +00:00
if x . MaxPrice == nil {
x . MaxPrice = & v1beta1 . Coin { }
}
if err := options . Unmarshal ( dAtA [ iNdEx : postIndex ] , x . MaxPrice ) ; err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
2024-02-09 08:44:45 +00:00
iNdEx = postIndex
2024-09-25 12:38:49 +00:00
case 9 :
if wireType != 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field NumProviders" , wireType )
}
x . NumProviders = 0
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
x . NumProviders |= int32 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
2024-02-09 08:44:45 +00:00
default :
iNdEx = preIndex
skippy , err := runtime . Skip ( dAtA [ iNdEx : ] )
if err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
if ( skippy < 0 ) || ( iNdEx + skippy ) < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if ( iNdEx + skippy ) > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if ! options . DiscardUnknown {
x . unknownFields = append ( x . unknownFields , dAtA [ iNdEx : iNdEx + skippy ] ... )
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , nil
}
return & protoiface . Methods {
NoUnkeyedLiterals : struct { } { } ,
Flags : protoiface . SupportMarshalDeterministic | protoiface . SupportUnmarshalDiscardUnknown ,
Size : size ,
Marshal : marshal ,
Unmarshal : unmarshal ,
Merge : nil ,
CheckInitialized : nil ,
}
}
var (
md_MsgCreateAuctionResponse protoreflect . MessageDescriptor
fd_MsgCreateAuctionResponse_auction protoreflect . FieldDescriptor
)
func init ( ) {
file_cerc_auction_v1_tx_proto_init ( )
md_MsgCreateAuctionResponse = File_cerc_auction_v1_tx_proto . Messages ( ) . ByName ( "MsgCreateAuctionResponse" )
fd_MsgCreateAuctionResponse_auction = md_MsgCreateAuctionResponse . Fields ( ) . ByName ( "auction" )
}
var _ protoreflect . Message = ( * fastReflection_MsgCreateAuctionResponse ) ( nil )
type fastReflection_MsgCreateAuctionResponse MsgCreateAuctionResponse
func ( x * MsgCreateAuctionResponse ) ProtoReflect ( ) protoreflect . Message {
return ( * fastReflection_MsgCreateAuctionResponse ) ( x )
}
func ( x * MsgCreateAuctionResponse ) slowProtoReflect ( ) protoreflect . Message {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 1 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
var _fastReflection_MsgCreateAuctionResponse_messageType fastReflection_MsgCreateAuctionResponse_messageType
var _ protoreflect . MessageType = fastReflection_MsgCreateAuctionResponse_messageType { }
type fastReflection_MsgCreateAuctionResponse_messageType struct { }
func ( x fastReflection_MsgCreateAuctionResponse_messageType ) Zero ( ) protoreflect . Message {
return ( * fastReflection_MsgCreateAuctionResponse ) ( nil )
}
func ( x fastReflection_MsgCreateAuctionResponse_messageType ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgCreateAuctionResponse )
}
func ( x fastReflection_MsgCreateAuctionResponse_messageType ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgCreateAuctionResponse
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func ( x * fastReflection_MsgCreateAuctionResponse ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgCreateAuctionResponse
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func ( x * fastReflection_MsgCreateAuctionResponse ) Type ( ) protoreflect . MessageType {
return _fastReflection_MsgCreateAuctionResponse_messageType
}
// New returns a newly allocated and mutable empty message.
func ( x * fastReflection_MsgCreateAuctionResponse ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgCreateAuctionResponse )
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func ( x * fastReflection_MsgCreateAuctionResponse ) Interface ( ) protoreflect . ProtoMessage {
return ( * MsgCreateAuctionResponse ) ( x )
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func ( x * fastReflection_MsgCreateAuctionResponse ) Range ( f func ( protoreflect . FieldDescriptor , protoreflect . Value ) bool ) {
if x . Auction != nil {
value := protoreflect . ValueOfMessage ( x . Auction . ProtoReflect ( ) )
if ! f ( fd_MsgCreateAuctionResponse_auction , value ) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func ( x * fastReflection_MsgCreateAuctionResponse ) Has ( fd protoreflect . FieldDescriptor ) bool {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCreateAuctionResponse.auction" :
return x . Auction != nil
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCreateAuctionResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCreateAuctionResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCreateAuctionResponse ) Clear ( fd protoreflect . FieldDescriptor ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCreateAuctionResponse.auction" :
x . Auction = nil
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCreateAuctionResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCreateAuctionResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func ( x * fastReflection_MsgCreateAuctionResponse ) Get ( descriptor protoreflect . FieldDescriptor ) protoreflect . Value {
switch descriptor . FullName ( ) {
case "cerc.auction.v1.MsgCreateAuctionResponse.auction" :
value := x . Auction
return protoreflect . ValueOfMessage ( value . ProtoReflect ( ) )
default :
if descriptor . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCreateAuctionResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCreateAuctionResponse does not contain field %s" , descriptor . FullName ( ) ) )
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCreateAuctionResponse ) Set ( fd protoreflect . FieldDescriptor , value protoreflect . Value ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCreateAuctionResponse.auction" :
x . Auction = value . Message ( ) . Interface ( ) . ( * Auction )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCreateAuctionResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCreateAuctionResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCreateAuctionResponse ) Mutable ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCreateAuctionResponse.auction" :
if x . Auction == nil {
x . Auction = new ( Auction )
}
return protoreflect . ValueOfMessage ( x . Auction . ProtoReflect ( ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCreateAuctionResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCreateAuctionResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func ( x * fastReflection_MsgCreateAuctionResponse ) NewField ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCreateAuctionResponse.auction" :
m := new ( Auction )
return protoreflect . ValueOfMessage ( m . ProtoReflect ( ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCreateAuctionResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCreateAuctionResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func ( x * fastReflection_MsgCreateAuctionResponse ) WhichOneof ( d protoreflect . OneofDescriptor ) protoreflect . FieldDescriptor {
switch d . FullName ( ) {
default :
panic ( fmt . Errorf ( "%s is not a oneof field in cerc.auction.v1.MsgCreateAuctionResponse" , d . FullName ( ) ) )
}
panic ( "unreachable" )
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func ( x * fastReflection_MsgCreateAuctionResponse ) GetUnknown ( ) protoreflect . RawFields {
return x . unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCreateAuctionResponse ) SetUnknown ( fields protoreflect . RawFields ) {
x . unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func ( x * fastReflection_MsgCreateAuctionResponse ) IsValid ( ) bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func ( x * fastReflection_MsgCreateAuctionResponse ) ProtoMethods ( ) * protoiface . Methods {
size := func ( input protoiface . SizeInput ) protoiface . SizeOutput {
x := input . Message . Interface ( ) . ( * MsgCreateAuctionResponse )
if x == nil {
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : 0 ,
}
}
options := runtime . SizeInputToOptions ( input )
_ = options
var n int
var l int
_ = l
if x . Auction != nil {
l = options . Size ( x . Auction )
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . unknownFields != nil {
n += len ( x . unknownFields )
}
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : n ,
}
}
marshal := func ( input protoiface . MarshalInput ) ( protoiface . MarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgCreateAuctionResponse )
if x == nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
options := runtime . MarshalInputToOptions ( input )
_ = options
size := options . Size ( x )
dAtA := make ( [ ] byte , size )
i := len ( dAtA )
_ = i
var l int
_ = l
if x . unknownFields != nil {
i -= len ( x . unknownFields )
copy ( dAtA [ i : ] , x . unknownFields )
}
if x . Auction != nil {
encoded , err := options . Marshal ( x . Auction )
if err != nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , err
}
i -= len ( encoded )
copy ( dAtA [ i : ] , encoded )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( encoded ) ) )
i --
dAtA [ i ] = 0xa
}
if input . Buf != nil {
input . Buf = append ( input . Buf , dAtA ... )
} else {
input . Buf = dAtA
}
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
unmarshal := func ( input protoiface . UnmarshalInput ) ( protoiface . UnmarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgCreateAuctionResponse )
if x == nil {
return protoiface . UnmarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Flags : input . Flags ,
} , nil
}
options := runtime . UnmarshalInputToOptions ( input )
_ = options
dAtA := input . Buf
l := len ( dAtA )
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
wire |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
fieldNum := int32 ( wire >> 3 )
wireType := int ( wire & 0x7 )
if wireType == 4 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgCreateAuctionResponse: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgCreateAuctionResponse: illegal tag %d (wire type %d)" , fieldNum , wire )
}
switch fieldNum {
case 1 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field Auction" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if x . Auction == nil {
x . Auction = & Auction { }
}
if err := options . Unmarshal ( dAtA [ iNdEx : postIndex ] , x . Auction ) ; err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
iNdEx = postIndex
default :
iNdEx = preIndex
skippy , err := runtime . Skip ( dAtA [ iNdEx : ] )
if err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
if ( skippy < 0 ) || ( iNdEx + skippy ) < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if ( iNdEx + skippy ) > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if ! options . DiscardUnknown {
x . unknownFields = append ( x . unknownFields , dAtA [ iNdEx : iNdEx + skippy ] ... )
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , nil
}
return & protoiface . Methods {
NoUnkeyedLiterals : struct { } { } ,
Flags : protoiface . SupportMarshalDeterministic | protoiface . SupportUnmarshalDiscardUnknown ,
Size : size ,
Marshal : marshal ,
Unmarshal : unmarshal ,
Merge : nil ,
CheckInitialized : nil ,
}
}
var (
md_MsgCommitBid protoreflect . MessageDescriptor
fd_MsgCommitBid_auction_id protoreflect . FieldDescriptor
fd_MsgCommitBid_commit_hash protoreflect . FieldDescriptor
fd_MsgCommitBid_signer protoreflect . FieldDescriptor
)
func init ( ) {
file_cerc_auction_v1_tx_proto_init ( )
md_MsgCommitBid = File_cerc_auction_v1_tx_proto . Messages ( ) . ByName ( "MsgCommitBid" )
fd_MsgCommitBid_auction_id = md_MsgCommitBid . Fields ( ) . ByName ( "auction_id" )
fd_MsgCommitBid_commit_hash = md_MsgCommitBid . Fields ( ) . ByName ( "commit_hash" )
fd_MsgCommitBid_signer = md_MsgCommitBid . Fields ( ) . ByName ( "signer" )
}
var _ protoreflect . Message = ( * fastReflection_MsgCommitBid ) ( nil )
type fastReflection_MsgCommitBid MsgCommitBid
func ( x * MsgCommitBid ) ProtoReflect ( ) protoreflect . Message {
return ( * fastReflection_MsgCommitBid ) ( x )
}
func ( x * MsgCommitBid ) slowProtoReflect ( ) protoreflect . Message {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 2 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
var _fastReflection_MsgCommitBid_messageType fastReflection_MsgCommitBid_messageType
var _ protoreflect . MessageType = fastReflection_MsgCommitBid_messageType { }
type fastReflection_MsgCommitBid_messageType struct { }
func ( x fastReflection_MsgCommitBid_messageType ) Zero ( ) protoreflect . Message {
return ( * fastReflection_MsgCommitBid ) ( nil )
}
func ( x fastReflection_MsgCommitBid_messageType ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgCommitBid )
}
func ( x fastReflection_MsgCommitBid_messageType ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgCommitBid
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func ( x * fastReflection_MsgCommitBid ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgCommitBid
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func ( x * fastReflection_MsgCommitBid ) Type ( ) protoreflect . MessageType {
return _fastReflection_MsgCommitBid_messageType
}
// New returns a newly allocated and mutable empty message.
func ( x * fastReflection_MsgCommitBid ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgCommitBid )
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func ( x * fastReflection_MsgCommitBid ) Interface ( ) protoreflect . ProtoMessage {
return ( * MsgCommitBid ) ( x )
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func ( x * fastReflection_MsgCommitBid ) Range ( f func ( protoreflect . FieldDescriptor , protoreflect . Value ) bool ) {
if x . AuctionId != "" {
value := protoreflect . ValueOfString ( x . AuctionId )
if ! f ( fd_MsgCommitBid_auction_id , value ) {
return
}
}
if x . CommitHash != "" {
value := protoreflect . ValueOfString ( x . CommitHash )
if ! f ( fd_MsgCommitBid_commit_hash , value ) {
return
}
}
if x . Signer != "" {
value := protoreflect . ValueOfString ( x . Signer )
if ! f ( fd_MsgCommitBid_signer , value ) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func ( x * fastReflection_MsgCommitBid ) Has ( fd protoreflect . FieldDescriptor ) bool {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCommitBid.auction_id" :
return x . AuctionId != ""
case "cerc.auction.v1.MsgCommitBid.commit_hash" :
return x . CommitHash != ""
case "cerc.auction.v1.MsgCommitBid.signer" :
return x . Signer != ""
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCommitBid" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCommitBid does not contain field %s" , fd . FullName ( ) ) )
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCommitBid ) Clear ( fd protoreflect . FieldDescriptor ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCommitBid.auction_id" :
x . AuctionId = ""
case "cerc.auction.v1.MsgCommitBid.commit_hash" :
x . CommitHash = ""
case "cerc.auction.v1.MsgCommitBid.signer" :
x . Signer = ""
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCommitBid" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCommitBid does not contain field %s" , fd . FullName ( ) ) )
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func ( x * fastReflection_MsgCommitBid ) Get ( descriptor protoreflect . FieldDescriptor ) protoreflect . Value {
switch descriptor . FullName ( ) {
case "cerc.auction.v1.MsgCommitBid.auction_id" :
value := x . AuctionId
return protoreflect . ValueOfString ( value )
case "cerc.auction.v1.MsgCommitBid.commit_hash" :
value := x . CommitHash
return protoreflect . ValueOfString ( value )
case "cerc.auction.v1.MsgCommitBid.signer" :
value := x . Signer
return protoreflect . ValueOfString ( value )
default :
if descriptor . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCommitBid" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCommitBid does not contain field %s" , descriptor . FullName ( ) ) )
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCommitBid ) Set ( fd protoreflect . FieldDescriptor , value protoreflect . Value ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCommitBid.auction_id" :
x . AuctionId = value . Interface ( ) . ( string )
case "cerc.auction.v1.MsgCommitBid.commit_hash" :
x . CommitHash = value . Interface ( ) . ( string )
case "cerc.auction.v1.MsgCommitBid.signer" :
x . Signer = value . Interface ( ) . ( string )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCommitBid" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCommitBid does not contain field %s" , fd . FullName ( ) ) )
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCommitBid ) Mutable ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCommitBid.auction_id" :
panic ( fmt . Errorf ( "field auction_id of message cerc.auction.v1.MsgCommitBid is not mutable" ) )
case "cerc.auction.v1.MsgCommitBid.commit_hash" :
panic ( fmt . Errorf ( "field commit_hash of message cerc.auction.v1.MsgCommitBid is not mutable" ) )
case "cerc.auction.v1.MsgCommitBid.signer" :
panic ( fmt . Errorf ( "field signer of message cerc.auction.v1.MsgCommitBid is not mutable" ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCommitBid" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCommitBid does not contain field %s" , fd . FullName ( ) ) )
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func ( x * fastReflection_MsgCommitBid ) NewField ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCommitBid.auction_id" :
return protoreflect . ValueOfString ( "" )
case "cerc.auction.v1.MsgCommitBid.commit_hash" :
return protoreflect . ValueOfString ( "" )
case "cerc.auction.v1.MsgCommitBid.signer" :
return protoreflect . ValueOfString ( "" )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCommitBid" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCommitBid does not contain field %s" , fd . FullName ( ) ) )
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func ( x * fastReflection_MsgCommitBid ) WhichOneof ( d protoreflect . OneofDescriptor ) protoreflect . FieldDescriptor {
switch d . FullName ( ) {
default :
panic ( fmt . Errorf ( "%s is not a oneof field in cerc.auction.v1.MsgCommitBid" , d . FullName ( ) ) )
}
panic ( "unreachable" )
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func ( x * fastReflection_MsgCommitBid ) GetUnknown ( ) protoreflect . RawFields {
return x . unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCommitBid ) SetUnknown ( fields protoreflect . RawFields ) {
x . unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func ( x * fastReflection_MsgCommitBid ) IsValid ( ) bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func ( x * fastReflection_MsgCommitBid ) ProtoMethods ( ) * protoiface . Methods {
size := func ( input protoiface . SizeInput ) protoiface . SizeOutput {
x := input . Message . Interface ( ) . ( * MsgCommitBid )
if x == nil {
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : 0 ,
}
}
options := runtime . SizeInputToOptions ( input )
_ = options
var n int
var l int
_ = l
l = len ( x . AuctionId )
if l > 0 {
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
l = len ( x . CommitHash )
if l > 0 {
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
l = len ( x . Signer )
if l > 0 {
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . unknownFields != nil {
n += len ( x . unknownFields )
}
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : n ,
}
}
marshal := func ( input protoiface . MarshalInput ) ( protoiface . MarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgCommitBid )
if x == nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
options := runtime . MarshalInputToOptions ( input )
_ = options
size := options . Size ( x )
dAtA := make ( [ ] byte , size )
i := len ( dAtA )
_ = i
var l int
_ = l
if x . unknownFields != nil {
i -= len ( x . unknownFields )
copy ( dAtA [ i : ] , x . unknownFields )
}
if len ( x . Signer ) > 0 {
i -= len ( x . Signer )
copy ( dAtA [ i : ] , x . Signer )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( x . Signer ) ) )
i --
dAtA [ i ] = 0x1a
}
if len ( x . CommitHash ) > 0 {
i -= len ( x . CommitHash )
copy ( dAtA [ i : ] , x . CommitHash )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( x . CommitHash ) ) )
i --
dAtA [ i ] = 0x12
}
if len ( x . AuctionId ) > 0 {
i -= len ( x . AuctionId )
copy ( dAtA [ i : ] , x . AuctionId )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( x . AuctionId ) ) )
i --
dAtA [ i ] = 0xa
}
if input . Buf != nil {
input . Buf = append ( input . Buf , dAtA ... )
} else {
input . Buf = dAtA
}
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
unmarshal := func ( input protoiface . UnmarshalInput ) ( protoiface . UnmarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgCommitBid )
if x == nil {
return protoiface . UnmarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Flags : input . Flags ,
} , nil
}
options := runtime . UnmarshalInputToOptions ( input )
_ = options
dAtA := input . Buf
l := len ( dAtA )
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
wire |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
fieldNum := int32 ( wire >> 3 )
wireType := int ( wire & 0x7 )
if wireType == 4 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgCommitBid: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgCommitBid: illegal tag %d (wire type %d)" , fieldNum , wire )
}
switch fieldNum {
case 1 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field AuctionId" , wireType )
}
var stringLen uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
stringLen |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
intStringLen := int ( stringLen )
if intStringLen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
x . AuctionId = string ( dAtA [ iNdEx : postIndex ] )
iNdEx = postIndex
case 2 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field CommitHash" , wireType )
}
var stringLen uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
stringLen |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
intStringLen := int ( stringLen )
if intStringLen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
x . CommitHash = string ( dAtA [ iNdEx : postIndex ] )
iNdEx = postIndex
case 3 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field Signer" , wireType )
}
var stringLen uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
stringLen |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
intStringLen := int ( stringLen )
if intStringLen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
x . Signer = string ( dAtA [ iNdEx : postIndex ] )
iNdEx = postIndex
default :
iNdEx = preIndex
skippy , err := runtime . Skip ( dAtA [ iNdEx : ] )
if err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
if ( skippy < 0 ) || ( iNdEx + skippy ) < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if ( iNdEx + skippy ) > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if ! options . DiscardUnknown {
x . unknownFields = append ( x . unknownFields , dAtA [ iNdEx : iNdEx + skippy ] ... )
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , nil
}
return & protoiface . Methods {
NoUnkeyedLiterals : struct { } { } ,
Flags : protoiface . SupportMarshalDeterministic | protoiface . SupportUnmarshalDiscardUnknown ,
Size : size ,
Marshal : marshal ,
Unmarshal : unmarshal ,
Merge : nil ,
CheckInitialized : nil ,
}
}
var (
md_MsgCommitBidResponse protoreflect . MessageDescriptor
fd_MsgCommitBidResponse_bid protoreflect . FieldDescriptor
)
func init ( ) {
file_cerc_auction_v1_tx_proto_init ( )
md_MsgCommitBidResponse = File_cerc_auction_v1_tx_proto . Messages ( ) . ByName ( "MsgCommitBidResponse" )
fd_MsgCommitBidResponse_bid = md_MsgCommitBidResponse . Fields ( ) . ByName ( "bid" )
}
var _ protoreflect . Message = ( * fastReflection_MsgCommitBidResponse ) ( nil )
type fastReflection_MsgCommitBidResponse MsgCommitBidResponse
func ( x * MsgCommitBidResponse ) ProtoReflect ( ) protoreflect . Message {
return ( * fastReflection_MsgCommitBidResponse ) ( x )
}
func ( x * MsgCommitBidResponse ) slowProtoReflect ( ) protoreflect . Message {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 3 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
var _fastReflection_MsgCommitBidResponse_messageType fastReflection_MsgCommitBidResponse_messageType
var _ protoreflect . MessageType = fastReflection_MsgCommitBidResponse_messageType { }
type fastReflection_MsgCommitBidResponse_messageType struct { }
func ( x fastReflection_MsgCommitBidResponse_messageType ) Zero ( ) protoreflect . Message {
return ( * fastReflection_MsgCommitBidResponse ) ( nil )
}
func ( x fastReflection_MsgCommitBidResponse_messageType ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgCommitBidResponse )
}
func ( x fastReflection_MsgCommitBidResponse_messageType ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgCommitBidResponse
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func ( x * fastReflection_MsgCommitBidResponse ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgCommitBidResponse
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func ( x * fastReflection_MsgCommitBidResponse ) Type ( ) protoreflect . MessageType {
return _fastReflection_MsgCommitBidResponse_messageType
}
// New returns a newly allocated and mutable empty message.
func ( x * fastReflection_MsgCommitBidResponse ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgCommitBidResponse )
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func ( x * fastReflection_MsgCommitBidResponse ) Interface ( ) protoreflect . ProtoMessage {
return ( * MsgCommitBidResponse ) ( x )
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func ( x * fastReflection_MsgCommitBidResponse ) Range ( f func ( protoreflect . FieldDescriptor , protoreflect . Value ) bool ) {
if x . Bid != nil {
value := protoreflect . ValueOfMessage ( x . Bid . ProtoReflect ( ) )
if ! f ( fd_MsgCommitBidResponse_bid , value ) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func ( x * fastReflection_MsgCommitBidResponse ) Has ( fd protoreflect . FieldDescriptor ) bool {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCommitBidResponse.bid" :
return x . Bid != nil
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCommitBidResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCommitBidResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCommitBidResponse ) Clear ( fd protoreflect . FieldDescriptor ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCommitBidResponse.bid" :
x . Bid = nil
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCommitBidResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCommitBidResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func ( x * fastReflection_MsgCommitBidResponse ) Get ( descriptor protoreflect . FieldDescriptor ) protoreflect . Value {
switch descriptor . FullName ( ) {
case "cerc.auction.v1.MsgCommitBidResponse.bid" :
value := x . Bid
return protoreflect . ValueOfMessage ( value . ProtoReflect ( ) )
default :
if descriptor . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCommitBidResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCommitBidResponse does not contain field %s" , descriptor . FullName ( ) ) )
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCommitBidResponse ) Set ( fd protoreflect . FieldDescriptor , value protoreflect . Value ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCommitBidResponse.bid" :
x . Bid = value . Message ( ) . Interface ( ) . ( * Bid )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCommitBidResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCommitBidResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCommitBidResponse ) Mutable ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCommitBidResponse.bid" :
if x . Bid == nil {
x . Bid = new ( Bid )
}
return protoreflect . ValueOfMessage ( x . Bid . ProtoReflect ( ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCommitBidResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCommitBidResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func ( x * fastReflection_MsgCommitBidResponse ) NewField ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgCommitBidResponse.bid" :
m := new ( Bid )
return protoreflect . ValueOfMessage ( m . ProtoReflect ( ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgCommitBidResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgCommitBidResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func ( x * fastReflection_MsgCommitBidResponse ) WhichOneof ( d protoreflect . OneofDescriptor ) protoreflect . FieldDescriptor {
switch d . FullName ( ) {
default :
panic ( fmt . Errorf ( "%s is not a oneof field in cerc.auction.v1.MsgCommitBidResponse" , d . FullName ( ) ) )
}
panic ( "unreachable" )
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func ( x * fastReflection_MsgCommitBidResponse ) GetUnknown ( ) protoreflect . RawFields {
return x . unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgCommitBidResponse ) SetUnknown ( fields protoreflect . RawFields ) {
x . unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func ( x * fastReflection_MsgCommitBidResponse ) IsValid ( ) bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func ( x * fastReflection_MsgCommitBidResponse ) ProtoMethods ( ) * protoiface . Methods {
size := func ( input protoiface . SizeInput ) protoiface . SizeOutput {
x := input . Message . Interface ( ) . ( * MsgCommitBidResponse )
if x == nil {
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : 0 ,
}
}
options := runtime . SizeInputToOptions ( input )
_ = options
var n int
var l int
_ = l
if x . Bid != nil {
l = options . Size ( x . Bid )
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . unknownFields != nil {
n += len ( x . unknownFields )
}
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : n ,
}
}
marshal := func ( input protoiface . MarshalInput ) ( protoiface . MarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgCommitBidResponse )
if x == nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
options := runtime . MarshalInputToOptions ( input )
_ = options
size := options . Size ( x )
dAtA := make ( [ ] byte , size )
i := len ( dAtA )
_ = i
var l int
_ = l
if x . unknownFields != nil {
i -= len ( x . unknownFields )
copy ( dAtA [ i : ] , x . unknownFields )
}
if x . Bid != nil {
encoded , err := options . Marshal ( x . Bid )
if err != nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , err
}
i -= len ( encoded )
copy ( dAtA [ i : ] , encoded )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( encoded ) ) )
i --
dAtA [ i ] = 0xa
}
if input . Buf != nil {
input . Buf = append ( input . Buf , dAtA ... )
} else {
input . Buf = dAtA
}
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
unmarshal := func ( input protoiface . UnmarshalInput ) ( protoiface . UnmarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgCommitBidResponse )
if x == nil {
return protoiface . UnmarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Flags : input . Flags ,
} , nil
}
options := runtime . UnmarshalInputToOptions ( input )
_ = options
dAtA := input . Buf
l := len ( dAtA )
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
wire |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
fieldNum := int32 ( wire >> 3 )
wireType := int ( wire & 0x7 )
if wireType == 4 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgCommitBidResponse: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgCommitBidResponse: illegal tag %d (wire type %d)" , fieldNum , wire )
}
switch fieldNum {
case 1 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field Bid" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if x . Bid == nil {
x . Bid = & Bid { }
}
if err := options . Unmarshal ( dAtA [ iNdEx : postIndex ] , x . Bid ) ; err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
iNdEx = postIndex
default :
iNdEx = preIndex
skippy , err := runtime . Skip ( dAtA [ iNdEx : ] )
if err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
if ( skippy < 0 ) || ( iNdEx + skippy ) < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if ( iNdEx + skippy ) > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if ! options . DiscardUnknown {
x . unknownFields = append ( x . unknownFields , dAtA [ iNdEx : iNdEx + skippy ] ... )
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , nil
}
return & protoiface . Methods {
NoUnkeyedLiterals : struct { } { } ,
Flags : protoiface . SupportMarshalDeterministic | protoiface . SupportUnmarshalDiscardUnknown ,
Size : size ,
Marshal : marshal ,
Unmarshal : unmarshal ,
Merge : nil ,
CheckInitialized : nil ,
}
}
var (
md_MsgRevealBid protoreflect . MessageDescriptor
fd_MsgRevealBid_auction_id protoreflect . FieldDescriptor
fd_MsgRevealBid_reveal protoreflect . FieldDescriptor
fd_MsgRevealBid_signer protoreflect . FieldDescriptor
)
func init ( ) {
file_cerc_auction_v1_tx_proto_init ( )
md_MsgRevealBid = File_cerc_auction_v1_tx_proto . Messages ( ) . ByName ( "MsgRevealBid" )
fd_MsgRevealBid_auction_id = md_MsgRevealBid . Fields ( ) . ByName ( "auction_id" )
fd_MsgRevealBid_reveal = md_MsgRevealBid . Fields ( ) . ByName ( "reveal" )
fd_MsgRevealBid_signer = md_MsgRevealBid . Fields ( ) . ByName ( "signer" )
}
var _ protoreflect . Message = ( * fastReflection_MsgRevealBid ) ( nil )
type fastReflection_MsgRevealBid MsgRevealBid
func ( x * MsgRevealBid ) ProtoReflect ( ) protoreflect . Message {
return ( * fastReflection_MsgRevealBid ) ( x )
}
func ( x * MsgRevealBid ) slowProtoReflect ( ) protoreflect . Message {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 4 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
var _fastReflection_MsgRevealBid_messageType fastReflection_MsgRevealBid_messageType
var _ protoreflect . MessageType = fastReflection_MsgRevealBid_messageType { }
type fastReflection_MsgRevealBid_messageType struct { }
func ( x fastReflection_MsgRevealBid_messageType ) Zero ( ) protoreflect . Message {
return ( * fastReflection_MsgRevealBid ) ( nil )
}
func ( x fastReflection_MsgRevealBid_messageType ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgRevealBid )
}
func ( x fastReflection_MsgRevealBid_messageType ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgRevealBid
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func ( x * fastReflection_MsgRevealBid ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgRevealBid
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func ( x * fastReflection_MsgRevealBid ) Type ( ) protoreflect . MessageType {
return _fastReflection_MsgRevealBid_messageType
}
// New returns a newly allocated and mutable empty message.
func ( x * fastReflection_MsgRevealBid ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgRevealBid )
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func ( x * fastReflection_MsgRevealBid ) Interface ( ) protoreflect . ProtoMessage {
return ( * MsgRevealBid ) ( x )
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func ( x * fastReflection_MsgRevealBid ) Range ( f func ( protoreflect . FieldDescriptor , protoreflect . Value ) bool ) {
if x . AuctionId != "" {
value := protoreflect . ValueOfString ( x . AuctionId )
if ! f ( fd_MsgRevealBid_auction_id , value ) {
return
}
}
if x . Reveal != "" {
value := protoreflect . ValueOfString ( x . Reveal )
if ! f ( fd_MsgRevealBid_reveal , value ) {
return
}
}
if x . Signer != "" {
value := protoreflect . ValueOfString ( x . Signer )
if ! f ( fd_MsgRevealBid_signer , value ) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func ( x * fastReflection_MsgRevealBid ) Has ( fd protoreflect . FieldDescriptor ) bool {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgRevealBid.auction_id" :
return x . AuctionId != ""
case "cerc.auction.v1.MsgRevealBid.reveal" :
return x . Reveal != ""
case "cerc.auction.v1.MsgRevealBid.signer" :
return x . Signer != ""
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgRevealBid" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgRevealBid does not contain field %s" , fd . FullName ( ) ) )
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgRevealBid ) Clear ( fd protoreflect . FieldDescriptor ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgRevealBid.auction_id" :
x . AuctionId = ""
case "cerc.auction.v1.MsgRevealBid.reveal" :
x . Reveal = ""
case "cerc.auction.v1.MsgRevealBid.signer" :
x . Signer = ""
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgRevealBid" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgRevealBid does not contain field %s" , fd . FullName ( ) ) )
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func ( x * fastReflection_MsgRevealBid ) Get ( descriptor protoreflect . FieldDescriptor ) protoreflect . Value {
switch descriptor . FullName ( ) {
case "cerc.auction.v1.MsgRevealBid.auction_id" :
value := x . AuctionId
return protoreflect . ValueOfString ( value )
case "cerc.auction.v1.MsgRevealBid.reveal" :
value := x . Reveal
return protoreflect . ValueOfString ( value )
case "cerc.auction.v1.MsgRevealBid.signer" :
value := x . Signer
return protoreflect . ValueOfString ( value )
default :
if descriptor . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgRevealBid" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgRevealBid does not contain field %s" , descriptor . FullName ( ) ) )
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgRevealBid ) Set ( fd protoreflect . FieldDescriptor , value protoreflect . Value ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgRevealBid.auction_id" :
x . AuctionId = value . Interface ( ) . ( string )
case "cerc.auction.v1.MsgRevealBid.reveal" :
x . Reveal = value . Interface ( ) . ( string )
case "cerc.auction.v1.MsgRevealBid.signer" :
x . Signer = value . Interface ( ) . ( string )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgRevealBid" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgRevealBid does not contain field %s" , fd . FullName ( ) ) )
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgRevealBid ) Mutable ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgRevealBid.auction_id" :
panic ( fmt . Errorf ( "field auction_id of message cerc.auction.v1.MsgRevealBid is not mutable" ) )
case "cerc.auction.v1.MsgRevealBid.reveal" :
panic ( fmt . Errorf ( "field reveal of message cerc.auction.v1.MsgRevealBid is not mutable" ) )
case "cerc.auction.v1.MsgRevealBid.signer" :
panic ( fmt . Errorf ( "field signer of message cerc.auction.v1.MsgRevealBid is not mutable" ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgRevealBid" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgRevealBid does not contain field %s" , fd . FullName ( ) ) )
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func ( x * fastReflection_MsgRevealBid ) NewField ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgRevealBid.auction_id" :
return protoreflect . ValueOfString ( "" )
case "cerc.auction.v1.MsgRevealBid.reveal" :
return protoreflect . ValueOfString ( "" )
case "cerc.auction.v1.MsgRevealBid.signer" :
return protoreflect . ValueOfString ( "" )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgRevealBid" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgRevealBid does not contain field %s" , fd . FullName ( ) ) )
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func ( x * fastReflection_MsgRevealBid ) WhichOneof ( d protoreflect . OneofDescriptor ) protoreflect . FieldDescriptor {
switch d . FullName ( ) {
default :
panic ( fmt . Errorf ( "%s is not a oneof field in cerc.auction.v1.MsgRevealBid" , d . FullName ( ) ) )
}
panic ( "unreachable" )
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func ( x * fastReflection_MsgRevealBid ) GetUnknown ( ) protoreflect . RawFields {
return x . unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgRevealBid ) SetUnknown ( fields protoreflect . RawFields ) {
x . unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func ( x * fastReflection_MsgRevealBid ) IsValid ( ) bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func ( x * fastReflection_MsgRevealBid ) ProtoMethods ( ) * protoiface . Methods {
size := func ( input protoiface . SizeInput ) protoiface . SizeOutput {
x := input . Message . Interface ( ) . ( * MsgRevealBid )
if x == nil {
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : 0 ,
}
}
options := runtime . SizeInputToOptions ( input )
_ = options
var n int
var l int
_ = l
l = len ( x . AuctionId )
if l > 0 {
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
l = len ( x . Reveal )
if l > 0 {
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
l = len ( x . Signer )
if l > 0 {
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . unknownFields != nil {
n += len ( x . unknownFields )
}
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : n ,
}
}
marshal := func ( input protoiface . MarshalInput ) ( protoiface . MarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgRevealBid )
if x == nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
options := runtime . MarshalInputToOptions ( input )
_ = options
size := options . Size ( x )
dAtA := make ( [ ] byte , size )
i := len ( dAtA )
_ = i
var l int
_ = l
if x . unknownFields != nil {
i -= len ( x . unknownFields )
copy ( dAtA [ i : ] , x . unknownFields )
}
if len ( x . Signer ) > 0 {
i -= len ( x . Signer )
copy ( dAtA [ i : ] , x . Signer )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( x . Signer ) ) )
i --
dAtA [ i ] = 0x1a
}
if len ( x . Reveal ) > 0 {
i -= len ( x . Reveal )
copy ( dAtA [ i : ] , x . Reveal )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( x . Reveal ) ) )
i --
dAtA [ i ] = 0x12
}
if len ( x . AuctionId ) > 0 {
i -= len ( x . AuctionId )
copy ( dAtA [ i : ] , x . AuctionId )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( x . AuctionId ) ) )
i --
dAtA [ i ] = 0xa
}
if input . Buf != nil {
input . Buf = append ( input . Buf , dAtA ... )
} else {
input . Buf = dAtA
}
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
unmarshal := func ( input protoiface . UnmarshalInput ) ( protoiface . UnmarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgRevealBid )
if x == nil {
return protoiface . UnmarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Flags : input . Flags ,
} , nil
}
options := runtime . UnmarshalInputToOptions ( input )
_ = options
dAtA := input . Buf
l := len ( dAtA )
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
wire |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
fieldNum := int32 ( wire >> 3 )
wireType := int ( wire & 0x7 )
if wireType == 4 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgRevealBid: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgRevealBid: illegal tag %d (wire type %d)" , fieldNum , wire )
}
switch fieldNum {
case 1 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field AuctionId" , wireType )
}
var stringLen uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
stringLen |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
intStringLen := int ( stringLen )
if intStringLen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
x . AuctionId = string ( dAtA [ iNdEx : postIndex ] )
iNdEx = postIndex
case 2 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field Reveal" , wireType )
}
var stringLen uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
stringLen |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
intStringLen := int ( stringLen )
if intStringLen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
x . Reveal = string ( dAtA [ iNdEx : postIndex ] )
iNdEx = postIndex
case 3 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field Signer" , wireType )
}
var stringLen uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
stringLen |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
intStringLen := int ( stringLen )
if intStringLen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
x . Signer = string ( dAtA [ iNdEx : postIndex ] )
iNdEx = postIndex
default :
iNdEx = preIndex
skippy , err := runtime . Skip ( dAtA [ iNdEx : ] )
if err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
if ( skippy < 0 ) || ( iNdEx + skippy ) < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if ( iNdEx + skippy ) > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if ! options . DiscardUnknown {
x . unknownFields = append ( x . unknownFields , dAtA [ iNdEx : iNdEx + skippy ] ... )
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , nil
}
return & protoiface . Methods {
NoUnkeyedLiterals : struct { } { } ,
Flags : protoiface . SupportMarshalDeterministic | protoiface . SupportUnmarshalDiscardUnknown ,
Size : size ,
Marshal : marshal ,
Unmarshal : unmarshal ,
Merge : nil ,
CheckInitialized : nil ,
}
}
var (
md_MsgRevealBidResponse protoreflect . MessageDescriptor
fd_MsgRevealBidResponse_auction protoreflect . FieldDescriptor
)
func init ( ) {
file_cerc_auction_v1_tx_proto_init ( )
md_MsgRevealBidResponse = File_cerc_auction_v1_tx_proto . Messages ( ) . ByName ( "MsgRevealBidResponse" )
fd_MsgRevealBidResponse_auction = md_MsgRevealBidResponse . Fields ( ) . ByName ( "auction" )
}
var _ protoreflect . Message = ( * fastReflection_MsgRevealBidResponse ) ( nil )
type fastReflection_MsgRevealBidResponse MsgRevealBidResponse
func ( x * MsgRevealBidResponse ) ProtoReflect ( ) protoreflect . Message {
return ( * fastReflection_MsgRevealBidResponse ) ( x )
}
func ( x * MsgRevealBidResponse ) slowProtoReflect ( ) protoreflect . Message {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 5 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
var _fastReflection_MsgRevealBidResponse_messageType fastReflection_MsgRevealBidResponse_messageType
var _ protoreflect . MessageType = fastReflection_MsgRevealBidResponse_messageType { }
type fastReflection_MsgRevealBidResponse_messageType struct { }
func ( x fastReflection_MsgRevealBidResponse_messageType ) Zero ( ) protoreflect . Message {
return ( * fastReflection_MsgRevealBidResponse ) ( nil )
}
func ( x fastReflection_MsgRevealBidResponse_messageType ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgRevealBidResponse )
}
func ( x fastReflection_MsgRevealBidResponse_messageType ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgRevealBidResponse
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func ( x * fastReflection_MsgRevealBidResponse ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgRevealBidResponse
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func ( x * fastReflection_MsgRevealBidResponse ) Type ( ) protoreflect . MessageType {
return _fastReflection_MsgRevealBidResponse_messageType
}
// New returns a newly allocated and mutable empty message.
func ( x * fastReflection_MsgRevealBidResponse ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgRevealBidResponse )
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func ( x * fastReflection_MsgRevealBidResponse ) Interface ( ) protoreflect . ProtoMessage {
return ( * MsgRevealBidResponse ) ( x )
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func ( x * fastReflection_MsgRevealBidResponse ) Range ( f func ( protoreflect . FieldDescriptor , protoreflect . Value ) bool ) {
if x . Auction != nil {
value := protoreflect . ValueOfMessage ( x . Auction . ProtoReflect ( ) )
if ! f ( fd_MsgRevealBidResponse_auction , value ) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func ( x * fastReflection_MsgRevealBidResponse ) Has ( fd protoreflect . FieldDescriptor ) bool {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgRevealBidResponse.auction" :
return x . Auction != nil
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgRevealBidResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgRevealBidResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgRevealBidResponse ) Clear ( fd protoreflect . FieldDescriptor ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgRevealBidResponse.auction" :
x . Auction = nil
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgRevealBidResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgRevealBidResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func ( x * fastReflection_MsgRevealBidResponse ) Get ( descriptor protoreflect . FieldDescriptor ) protoreflect . Value {
switch descriptor . FullName ( ) {
case "cerc.auction.v1.MsgRevealBidResponse.auction" :
value := x . Auction
return protoreflect . ValueOfMessage ( value . ProtoReflect ( ) )
default :
if descriptor . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgRevealBidResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgRevealBidResponse does not contain field %s" , descriptor . FullName ( ) ) )
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgRevealBidResponse ) Set ( fd protoreflect . FieldDescriptor , value protoreflect . Value ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgRevealBidResponse.auction" :
x . Auction = value . Message ( ) . Interface ( ) . ( * Auction )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgRevealBidResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgRevealBidResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgRevealBidResponse ) Mutable ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgRevealBidResponse.auction" :
if x . Auction == nil {
x . Auction = new ( Auction )
}
return protoreflect . ValueOfMessage ( x . Auction . ProtoReflect ( ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgRevealBidResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgRevealBidResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func ( x * fastReflection_MsgRevealBidResponse ) NewField ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgRevealBidResponse.auction" :
m := new ( Auction )
return protoreflect . ValueOfMessage ( m . ProtoReflect ( ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgRevealBidResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgRevealBidResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func ( x * fastReflection_MsgRevealBidResponse ) WhichOneof ( d protoreflect . OneofDescriptor ) protoreflect . FieldDescriptor {
switch d . FullName ( ) {
default :
panic ( fmt . Errorf ( "%s is not a oneof field in cerc.auction.v1.MsgRevealBidResponse" , d . FullName ( ) ) )
}
panic ( "unreachable" )
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func ( x * fastReflection_MsgRevealBidResponse ) GetUnknown ( ) protoreflect . RawFields {
return x . unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgRevealBidResponse ) SetUnknown ( fields protoreflect . RawFields ) {
x . unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func ( x * fastReflection_MsgRevealBidResponse ) IsValid ( ) bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func ( x * fastReflection_MsgRevealBidResponse ) ProtoMethods ( ) * protoiface . Methods {
size := func ( input protoiface . SizeInput ) protoiface . SizeOutput {
x := input . Message . Interface ( ) . ( * MsgRevealBidResponse )
if x == nil {
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : 0 ,
}
}
options := runtime . SizeInputToOptions ( input )
_ = options
var n int
var l int
_ = l
if x . Auction != nil {
l = options . Size ( x . Auction )
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . unknownFields != nil {
n += len ( x . unknownFields )
}
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : n ,
}
}
marshal := func ( input protoiface . MarshalInput ) ( protoiface . MarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgRevealBidResponse )
if x == nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
options := runtime . MarshalInputToOptions ( input )
_ = options
size := options . Size ( x )
dAtA := make ( [ ] byte , size )
i := len ( dAtA )
_ = i
var l int
_ = l
if x . unknownFields != nil {
i -= len ( x . unknownFields )
copy ( dAtA [ i : ] , x . unknownFields )
}
if x . Auction != nil {
encoded , err := options . Marshal ( x . Auction )
if err != nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , err
}
i -= len ( encoded )
copy ( dAtA [ i : ] , encoded )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( encoded ) ) )
i --
dAtA [ i ] = 0xa
}
if input . Buf != nil {
input . Buf = append ( input . Buf , dAtA ... )
} else {
input . Buf = dAtA
}
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
unmarshal := func ( input protoiface . UnmarshalInput ) ( protoiface . UnmarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgRevealBidResponse )
if x == nil {
return protoiface . UnmarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Flags : input . Flags ,
} , nil
}
options := runtime . UnmarshalInputToOptions ( input )
_ = options
dAtA := input . Buf
l := len ( dAtA )
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
wire |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
fieldNum := int32 ( wire >> 3 )
wireType := int ( wire & 0x7 )
if wireType == 4 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgRevealBidResponse: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgRevealBidResponse: illegal tag %d (wire type %d)" , fieldNum , wire )
}
switch fieldNum {
case 1 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field Auction" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if x . Auction == nil {
x . Auction = & Auction { }
}
if err := options . Unmarshal ( dAtA [ iNdEx : postIndex ] , x . Auction ) ; err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
iNdEx = postIndex
default :
iNdEx = preIndex
skippy , err := runtime . Skip ( dAtA [ iNdEx : ] )
if err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
if ( skippy < 0 ) || ( iNdEx + skippy ) < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if ( iNdEx + skippy ) > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if ! options . DiscardUnknown {
x . unknownFields = append ( x . unknownFields , dAtA [ iNdEx : iNdEx + skippy ] ... )
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , nil
}
return & protoiface . Methods {
NoUnkeyedLiterals : struct { } { } ,
Flags : protoiface . SupportMarshalDeterministic | protoiface . SupportUnmarshalDiscardUnknown ,
Size : size ,
Marshal : marshal ,
Unmarshal : unmarshal ,
Merge : nil ,
CheckInitialized : nil ,
}
}
2024-09-05 07:07:54 +00:00
var (
md_MsgUpdateParams protoreflect . MessageDescriptor
fd_MsgUpdateParams_authority protoreflect . FieldDescriptor
fd_MsgUpdateParams_params protoreflect . FieldDescriptor
)
func init ( ) {
file_cerc_auction_v1_tx_proto_init ( )
md_MsgUpdateParams = File_cerc_auction_v1_tx_proto . Messages ( ) . ByName ( "MsgUpdateParams" )
fd_MsgUpdateParams_authority = md_MsgUpdateParams . Fields ( ) . ByName ( "authority" )
fd_MsgUpdateParams_params = md_MsgUpdateParams . Fields ( ) . ByName ( "params" )
}
var _ protoreflect . Message = ( * fastReflection_MsgUpdateParams ) ( nil )
type fastReflection_MsgUpdateParams MsgUpdateParams
func ( x * MsgUpdateParams ) ProtoReflect ( ) protoreflect . Message {
return ( * fastReflection_MsgUpdateParams ) ( x )
}
func ( x * MsgUpdateParams ) slowProtoReflect ( ) protoreflect . Message {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 6 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
var _fastReflection_MsgUpdateParams_messageType fastReflection_MsgUpdateParams_messageType
var _ protoreflect . MessageType = fastReflection_MsgUpdateParams_messageType { }
type fastReflection_MsgUpdateParams_messageType struct { }
func ( x fastReflection_MsgUpdateParams_messageType ) Zero ( ) protoreflect . Message {
return ( * fastReflection_MsgUpdateParams ) ( nil )
}
func ( x fastReflection_MsgUpdateParams_messageType ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgUpdateParams )
}
func ( x fastReflection_MsgUpdateParams_messageType ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgUpdateParams
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func ( x * fastReflection_MsgUpdateParams ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgUpdateParams
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func ( x * fastReflection_MsgUpdateParams ) Type ( ) protoreflect . MessageType {
return _fastReflection_MsgUpdateParams_messageType
}
// New returns a newly allocated and mutable empty message.
func ( x * fastReflection_MsgUpdateParams ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgUpdateParams )
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func ( x * fastReflection_MsgUpdateParams ) Interface ( ) protoreflect . ProtoMessage {
return ( * MsgUpdateParams ) ( x )
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func ( x * fastReflection_MsgUpdateParams ) Range ( f func ( protoreflect . FieldDescriptor , protoreflect . Value ) bool ) {
if x . Authority != "" {
value := protoreflect . ValueOfString ( x . Authority )
if ! f ( fd_MsgUpdateParams_authority , value ) {
return
}
}
if x . Params != nil {
value := protoreflect . ValueOfMessage ( x . Params . ProtoReflect ( ) )
if ! f ( fd_MsgUpdateParams_params , value ) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func ( x * fastReflection_MsgUpdateParams ) Has ( fd protoreflect . FieldDescriptor ) bool {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgUpdateParams.authority" :
return x . Authority != ""
case "cerc.auction.v1.MsgUpdateParams.params" :
return x . Params != nil
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgUpdateParams" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgUpdateParams does not contain field %s" , fd . FullName ( ) ) )
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgUpdateParams ) Clear ( fd protoreflect . FieldDescriptor ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgUpdateParams.authority" :
x . Authority = ""
case "cerc.auction.v1.MsgUpdateParams.params" :
x . Params = nil
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgUpdateParams" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgUpdateParams does not contain field %s" , fd . FullName ( ) ) )
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func ( x * fastReflection_MsgUpdateParams ) Get ( descriptor protoreflect . FieldDescriptor ) protoreflect . Value {
switch descriptor . FullName ( ) {
case "cerc.auction.v1.MsgUpdateParams.authority" :
value := x . Authority
return protoreflect . ValueOfString ( value )
case "cerc.auction.v1.MsgUpdateParams.params" :
value := x . Params
return protoreflect . ValueOfMessage ( value . ProtoReflect ( ) )
default :
if descriptor . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgUpdateParams" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgUpdateParams does not contain field %s" , descriptor . FullName ( ) ) )
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgUpdateParams ) Set ( fd protoreflect . FieldDescriptor , value protoreflect . Value ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgUpdateParams.authority" :
x . Authority = value . Interface ( ) . ( string )
case "cerc.auction.v1.MsgUpdateParams.params" :
x . Params = value . Message ( ) . Interface ( ) . ( * Params )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgUpdateParams" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgUpdateParams does not contain field %s" , fd . FullName ( ) ) )
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgUpdateParams ) Mutable ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgUpdateParams.params" :
if x . Params == nil {
x . Params = new ( Params )
}
return protoreflect . ValueOfMessage ( x . Params . ProtoReflect ( ) )
case "cerc.auction.v1.MsgUpdateParams.authority" :
panic ( fmt . Errorf ( "field authority of message cerc.auction.v1.MsgUpdateParams is not mutable" ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgUpdateParams" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgUpdateParams does not contain field %s" , fd . FullName ( ) ) )
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func ( x * fastReflection_MsgUpdateParams ) NewField ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgUpdateParams.authority" :
return protoreflect . ValueOfString ( "" )
case "cerc.auction.v1.MsgUpdateParams.params" :
m := new ( Params )
return protoreflect . ValueOfMessage ( m . ProtoReflect ( ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgUpdateParams" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgUpdateParams does not contain field %s" , fd . FullName ( ) ) )
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func ( x * fastReflection_MsgUpdateParams ) WhichOneof ( d protoreflect . OneofDescriptor ) protoreflect . FieldDescriptor {
switch d . FullName ( ) {
default :
panic ( fmt . Errorf ( "%s is not a oneof field in cerc.auction.v1.MsgUpdateParams" , d . FullName ( ) ) )
}
panic ( "unreachable" )
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func ( x * fastReflection_MsgUpdateParams ) GetUnknown ( ) protoreflect . RawFields {
return x . unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgUpdateParams ) SetUnknown ( fields protoreflect . RawFields ) {
x . unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func ( x * fastReflection_MsgUpdateParams ) IsValid ( ) bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func ( x * fastReflection_MsgUpdateParams ) ProtoMethods ( ) * protoiface . Methods {
size := func ( input protoiface . SizeInput ) protoiface . SizeOutput {
x := input . Message . Interface ( ) . ( * MsgUpdateParams )
if x == nil {
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : 0 ,
}
}
options := runtime . SizeInputToOptions ( input )
_ = options
var n int
var l int
_ = l
l = len ( x . Authority )
if l > 0 {
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . Params != nil {
l = options . Size ( x . Params )
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . unknownFields != nil {
n += len ( x . unknownFields )
}
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : n ,
}
}
marshal := func ( input protoiface . MarshalInput ) ( protoiface . MarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgUpdateParams )
if x == nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
options := runtime . MarshalInputToOptions ( input )
_ = options
size := options . Size ( x )
dAtA := make ( [ ] byte , size )
i := len ( dAtA )
_ = i
var l int
_ = l
if x . unknownFields != nil {
i -= len ( x . unknownFields )
copy ( dAtA [ i : ] , x . unknownFields )
}
if x . Params != nil {
encoded , err := options . Marshal ( x . Params )
if err != nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , err
}
i -= len ( encoded )
copy ( dAtA [ i : ] , encoded )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( encoded ) ) )
i --
dAtA [ i ] = 0x12
}
if len ( x . Authority ) > 0 {
i -= len ( x . Authority )
copy ( dAtA [ i : ] , x . Authority )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( x . Authority ) ) )
i --
dAtA [ i ] = 0xa
}
if input . Buf != nil {
input . Buf = append ( input . Buf , dAtA ... )
} else {
input . Buf = dAtA
}
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
unmarshal := func ( input protoiface . UnmarshalInput ) ( protoiface . UnmarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgUpdateParams )
if x == nil {
return protoiface . UnmarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Flags : input . Flags ,
} , nil
}
options := runtime . UnmarshalInputToOptions ( input )
_ = options
dAtA := input . Buf
l := len ( dAtA )
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
wire |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
fieldNum := int32 ( wire >> 3 )
wireType := int ( wire & 0x7 )
if wireType == 4 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgUpdateParams: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgUpdateParams: illegal tag %d (wire type %d)" , fieldNum , wire )
}
switch fieldNum {
case 1 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field Authority" , wireType )
}
var stringLen uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
stringLen |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
intStringLen := int ( stringLen )
if intStringLen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
x . Authority = string ( dAtA [ iNdEx : postIndex ] )
iNdEx = postIndex
case 2 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field Params" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if x . Params == nil {
x . Params = & Params { }
}
if err := options . Unmarshal ( dAtA [ iNdEx : postIndex ] , x . Params ) ; err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
iNdEx = postIndex
default :
iNdEx = preIndex
skippy , err := runtime . Skip ( dAtA [ iNdEx : ] )
if err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
if ( skippy < 0 ) || ( iNdEx + skippy ) < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if ( iNdEx + skippy ) > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if ! options . DiscardUnknown {
x . unknownFields = append ( x . unknownFields , dAtA [ iNdEx : iNdEx + skippy ] ... )
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , nil
}
return & protoiface . Methods {
NoUnkeyedLiterals : struct { } { } ,
Flags : protoiface . SupportMarshalDeterministic | protoiface . SupportUnmarshalDiscardUnknown ,
Size : size ,
Marshal : marshal ,
Unmarshal : unmarshal ,
Merge : nil ,
CheckInitialized : nil ,
}
}
var (
md_MsgUpdateParamsResponse protoreflect . MessageDescriptor
)
func init ( ) {
file_cerc_auction_v1_tx_proto_init ( )
md_MsgUpdateParamsResponse = File_cerc_auction_v1_tx_proto . Messages ( ) . ByName ( "MsgUpdateParamsResponse" )
}
var _ protoreflect . Message = ( * fastReflection_MsgUpdateParamsResponse ) ( nil )
type fastReflection_MsgUpdateParamsResponse MsgUpdateParamsResponse
func ( x * MsgUpdateParamsResponse ) ProtoReflect ( ) protoreflect . Message {
return ( * fastReflection_MsgUpdateParamsResponse ) ( x )
}
func ( x * MsgUpdateParamsResponse ) slowProtoReflect ( ) protoreflect . Message {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 7 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
var _fastReflection_MsgUpdateParamsResponse_messageType fastReflection_MsgUpdateParamsResponse_messageType
var _ protoreflect . MessageType = fastReflection_MsgUpdateParamsResponse_messageType { }
type fastReflection_MsgUpdateParamsResponse_messageType struct { }
func ( x fastReflection_MsgUpdateParamsResponse_messageType ) Zero ( ) protoreflect . Message {
return ( * fastReflection_MsgUpdateParamsResponse ) ( nil )
}
func ( x fastReflection_MsgUpdateParamsResponse_messageType ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgUpdateParamsResponse )
}
func ( x fastReflection_MsgUpdateParamsResponse_messageType ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgUpdateParamsResponse
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func ( x * fastReflection_MsgUpdateParamsResponse ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgUpdateParamsResponse
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func ( x * fastReflection_MsgUpdateParamsResponse ) Type ( ) protoreflect . MessageType {
return _fastReflection_MsgUpdateParamsResponse_messageType
}
// New returns a newly allocated and mutable empty message.
func ( x * fastReflection_MsgUpdateParamsResponse ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgUpdateParamsResponse )
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func ( x * fastReflection_MsgUpdateParamsResponse ) Interface ( ) protoreflect . ProtoMessage {
return ( * MsgUpdateParamsResponse ) ( x )
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func ( x * fastReflection_MsgUpdateParamsResponse ) Range ( f func ( protoreflect . FieldDescriptor , protoreflect . Value ) bool ) {
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func ( x * fastReflection_MsgUpdateParamsResponse ) Has ( fd protoreflect . FieldDescriptor ) bool {
switch fd . FullName ( ) {
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgUpdateParamsResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgUpdateParamsResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgUpdateParamsResponse ) Clear ( fd protoreflect . FieldDescriptor ) {
switch fd . FullName ( ) {
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgUpdateParamsResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgUpdateParamsResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func ( x * fastReflection_MsgUpdateParamsResponse ) Get ( descriptor protoreflect . FieldDescriptor ) protoreflect . Value {
switch descriptor . FullName ( ) {
default :
if descriptor . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgUpdateParamsResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgUpdateParamsResponse does not contain field %s" , descriptor . FullName ( ) ) )
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgUpdateParamsResponse ) Set ( fd protoreflect . FieldDescriptor , value protoreflect . Value ) {
switch fd . FullName ( ) {
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgUpdateParamsResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgUpdateParamsResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgUpdateParamsResponse ) Mutable ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgUpdateParamsResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgUpdateParamsResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func ( x * fastReflection_MsgUpdateParamsResponse ) NewField ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgUpdateParamsResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgUpdateParamsResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func ( x * fastReflection_MsgUpdateParamsResponse ) WhichOneof ( d protoreflect . OneofDescriptor ) protoreflect . FieldDescriptor {
switch d . FullName ( ) {
default :
panic ( fmt . Errorf ( "%s is not a oneof field in cerc.auction.v1.MsgUpdateParamsResponse" , d . FullName ( ) ) )
}
panic ( "unreachable" )
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func ( x * fastReflection_MsgUpdateParamsResponse ) GetUnknown ( ) protoreflect . RawFields {
return x . unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgUpdateParamsResponse ) SetUnknown ( fields protoreflect . RawFields ) {
x . unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func ( x * fastReflection_MsgUpdateParamsResponse ) IsValid ( ) bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func ( x * fastReflection_MsgUpdateParamsResponse ) ProtoMethods ( ) * protoiface . Methods {
size := func ( input protoiface . SizeInput ) protoiface . SizeOutput {
x := input . Message . Interface ( ) . ( * MsgUpdateParamsResponse )
if x == nil {
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : 0 ,
}
}
options := runtime . SizeInputToOptions ( input )
_ = options
var n int
var l int
_ = l
if x . unknownFields != nil {
n += len ( x . unknownFields )
}
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : n ,
}
}
marshal := func ( input protoiface . MarshalInput ) ( protoiface . MarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgUpdateParamsResponse )
if x == nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
options := runtime . MarshalInputToOptions ( input )
_ = options
size := options . Size ( x )
dAtA := make ( [ ] byte , size )
i := len ( dAtA )
_ = i
var l int
_ = l
if x . unknownFields != nil {
i -= len ( x . unknownFields )
copy ( dAtA [ i : ] , x . unknownFields )
}
if input . Buf != nil {
input . Buf = append ( input . Buf , dAtA ... )
} else {
input . Buf = dAtA
}
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
unmarshal := func ( input protoiface . UnmarshalInput ) ( protoiface . UnmarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgUpdateParamsResponse )
if x == nil {
return protoiface . UnmarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Flags : input . Flags ,
} , nil
}
options := runtime . UnmarshalInputToOptions ( input )
_ = options
dAtA := input . Buf
l := len ( dAtA )
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
wire |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
fieldNum := int32 ( wire >> 3 )
wireType := int ( wire & 0x7 )
if wireType == 4 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgUpdateParamsResponse: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)" , fieldNum , wire )
}
switch fieldNum {
default :
iNdEx = preIndex
skippy , err := runtime . Skip ( dAtA [ iNdEx : ] )
if err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
if ( skippy < 0 ) || ( iNdEx + skippy ) < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if ( iNdEx + skippy ) > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if ! options . DiscardUnknown {
x . unknownFields = append ( x . unknownFields , dAtA [ iNdEx : iNdEx + skippy ] ... )
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , nil
}
return & protoiface . Methods {
NoUnkeyedLiterals : struct { } { } ,
Flags : protoiface . SupportMarshalDeterministic | protoiface . SupportUnmarshalDiscardUnknown ,
Size : size ,
Marshal : marshal ,
Unmarshal : unmarshal ,
Merge : nil ,
CheckInitialized : nil ,
}
}
2024-09-25 12:38:49 +00:00
var (
md_MsgReleaseFunds protoreflect . MessageDescriptor
fd_MsgReleaseFunds_auction_id protoreflect . FieldDescriptor
fd_MsgReleaseFunds_signer protoreflect . FieldDescriptor
2024-02-09 08:44:45 +00:00
)
2024-09-25 12:38:49 +00:00
func init ( ) {
file_cerc_auction_v1_tx_proto_init ( )
md_MsgReleaseFunds = File_cerc_auction_v1_tx_proto . Messages ( ) . ByName ( "MsgReleaseFunds" )
fd_MsgReleaseFunds_auction_id = md_MsgReleaseFunds . Fields ( ) . ByName ( "auction_id" )
fd_MsgReleaseFunds_signer = md_MsgReleaseFunds . Fields ( ) . ByName ( "signer" )
}
2024-02-09 08:44:45 +00:00
2024-09-25 12:38:49 +00:00
var _ protoreflect . Message = ( * fastReflection_MsgReleaseFunds ) ( nil )
type fastReflection_MsgReleaseFunds MsgReleaseFunds
func ( x * MsgReleaseFunds ) ProtoReflect ( ) protoreflect . Message {
return ( * fastReflection_MsgReleaseFunds ) ( x )
2024-02-09 08:44:45 +00:00
}
2024-09-25 12:38:49 +00:00
func ( x * MsgReleaseFunds ) slowProtoReflect ( ) protoreflect . Message {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 8 ]
if protoimpl . UnsafeEnabled && x != nil {
2024-02-09 08:44:45 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
2024-09-25 12:38:49 +00:00
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
2024-02-09 08:44:45 +00:00
}
2024-09-25 12:38:49 +00:00
return mi . MessageOf ( x )
2024-02-09 08:44:45 +00:00
}
2024-09-25 12:38:49 +00:00
var _fastReflection_MsgReleaseFunds_messageType fastReflection_MsgReleaseFunds_messageType
var _ protoreflect . MessageType = fastReflection_MsgReleaseFunds_messageType { }
2024-02-09 08:44:45 +00:00
2024-09-25 12:38:49 +00:00
type fastReflection_MsgReleaseFunds_messageType struct { }
2024-02-09 08:44:45 +00:00
2024-09-25 12:38:49 +00:00
func ( x fastReflection_MsgReleaseFunds_messageType ) Zero ( ) protoreflect . Message {
return ( * fastReflection_MsgReleaseFunds ) ( nil )
2024-02-09 08:44:45 +00:00
}
2024-09-25 12:38:49 +00:00
func ( x fastReflection_MsgReleaseFunds_messageType ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgReleaseFunds )
}
func ( x fastReflection_MsgReleaseFunds_messageType ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgReleaseFunds
2024-02-09 08:44:45 +00:00
}
2024-09-25 12:38:49 +00:00
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func ( x * fastReflection_MsgReleaseFunds ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgReleaseFunds
2024-02-09 08:44:45 +00:00
}
2024-09-25 12:38:49 +00:00
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func ( x * fastReflection_MsgReleaseFunds ) Type ( ) protoreflect . MessageType {
return _fastReflection_MsgReleaseFunds_messageType
}
// New returns a newly allocated and mutable empty message.
func ( x * fastReflection_MsgReleaseFunds ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgReleaseFunds )
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func ( x * fastReflection_MsgReleaseFunds ) Interface ( ) protoreflect . ProtoMessage {
return ( * MsgReleaseFunds ) ( x )
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func ( x * fastReflection_MsgReleaseFunds ) Range ( f func ( protoreflect . FieldDescriptor , protoreflect . Value ) bool ) {
if x . AuctionId != "" {
value := protoreflect . ValueOfString ( x . AuctionId )
if ! f ( fd_MsgReleaseFunds_auction_id , value ) {
return
}
}
if x . Signer != "" {
value := protoreflect . ValueOfString ( x . Signer )
if ! f ( fd_MsgReleaseFunds_signer , value ) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func ( x * fastReflection_MsgReleaseFunds ) Has ( fd protoreflect . FieldDescriptor ) bool {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgReleaseFunds.auction_id" :
return x . AuctionId != ""
case "cerc.auction.v1.MsgReleaseFunds.signer" :
return x . Signer != ""
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgReleaseFunds" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgReleaseFunds does not contain field %s" , fd . FullName ( ) ) )
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgReleaseFunds ) Clear ( fd protoreflect . FieldDescriptor ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgReleaseFunds.auction_id" :
x . AuctionId = ""
case "cerc.auction.v1.MsgReleaseFunds.signer" :
x . Signer = ""
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgReleaseFunds" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgReleaseFunds does not contain field %s" , fd . FullName ( ) ) )
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func ( x * fastReflection_MsgReleaseFunds ) Get ( descriptor protoreflect . FieldDescriptor ) protoreflect . Value {
switch descriptor . FullName ( ) {
case "cerc.auction.v1.MsgReleaseFunds.auction_id" :
value := x . AuctionId
return protoreflect . ValueOfString ( value )
case "cerc.auction.v1.MsgReleaseFunds.signer" :
value := x . Signer
return protoreflect . ValueOfString ( value )
default :
if descriptor . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgReleaseFunds" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgReleaseFunds does not contain field %s" , descriptor . FullName ( ) ) )
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgReleaseFunds ) Set ( fd protoreflect . FieldDescriptor , value protoreflect . Value ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgReleaseFunds.auction_id" :
x . AuctionId = value . Interface ( ) . ( string )
case "cerc.auction.v1.MsgReleaseFunds.signer" :
x . Signer = value . Interface ( ) . ( string )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgReleaseFunds" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgReleaseFunds does not contain field %s" , fd . FullName ( ) ) )
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgReleaseFunds ) Mutable ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgReleaseFunds.auction_id" :
panic ( fmt . Errorf ( "field auction_id of message cerc.auction.v1.MsgReleaseFunds is not mutable" ) )
case "cerc.auction.v1.MsgReleaseFunds.signer" :
panic ( fmt . Errorf ( "field signer of message cerc.auction.v1.MsgReleaseFunds is not mutable" ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgReleaseFunds" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgReleaseFunds does not contain field %s" , fd . FullName ( ) ) )
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func ( x * fastReflection_MsgReleaseFunds ) NewField ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgReleaseFunds.auction_id" :
return protoreflect . ValueOfString ( "" )
case "cerc.auction.v1.MsgReleaseFunds.signer" :
return protoreflect . ValueOfString ( "" )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgReleaseFunds" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgReleaseFunds does not contain field %s" , fd . FullName ( ) ) )
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func ( x * fastReflection_MsgReleaseFunds ) WhichOneof ( d protoreflect . OneofDescriptor ) protoreflect . FieldDescriptor {
switch d . FullName ( ) {
default :
panic ( fmt . Errorf ( "%s is not a oneof field in cerc.auction.v1.MsgReleaseFunds" , d . FullName ( ) ) )
}
panic ( "unreachable" )
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func ( x * fastReflection_MsgReleaseFunds ) GetUnknown ( ) protoreflect . RawFields {
return x . unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgReleaseFunds ) SetUnknown ( fields protoreflect . RawFields ) {
x . unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func ( x * fastReflection_MsgReleaseFunds ) IsValid ( ) bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func ( x * fastReflection_MsgReleaseFunds ) ProtoMethods ( ) * protoiface . Methods {
size := func ( input protoiface . SizeInput ) protoiface . SizeOutput {
x := input . Message . Interface ( ) . ( * MsgReleaseFunds )
if x == nil {
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : 0 ,
}
}
options := runtime . SizeInputToOptions ( input )
_ = options
var n int
var l int
_ = l
l = len ( x . AuctionId )
if l > 0 {
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
l = len ( x . Signer )
if l > 0 {
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . unknownFields != nil {
n += len ( x . unknownFields )
}
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : n ,
}
}
marshal := func ( input protoiface . MarshalInput ) ( protoiface . MarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgReleaseFunds )
if x == nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
options := runtime . MarshalInputToOptions ( input )
_ = options
size := options . Size ( x )
dAtA := make ( [ ] byte , size )
i := len ( dAtA )
_ = i
var l int
_ = l
if x . unknownFields != nil {
i -= len ( x . unknownFields )
copy ( dAtA [ i : ] , x . unknownFields )
}
if len ( x . Signer ) > 0 {
i -= len ( x . Signer )
copy ( dAtA [ i : ] , x . Signer )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( x . Signer ) ) )
i --
dAtA [ i ] = 0x12
}
if len ( x . AuctionId ) > 0 {
i -= len ( x . AuctionId )
copy ( dAtA [ i : ] , x . AuctionId )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( x . AuctionId ) ) )
i --
dAtA [ i ] = 0xa
}
if input . Buf != nil {
input . Buf = append ( input . Buf , dAtA ... )
} else {
input . Buf = dAtA
}
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
unmarshal := func ( input protoiface . UnmarshalInput ) ( protoiface . UnmarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgReleaseFunds )
if x == nil {
return protoiface . UnmarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Flags : input . Flags ,
} , nil
}
options := runtime . UnmarshalInputToOptions ( input )
_ = options
dAtA := input . Buf
l := len ( dAtA )
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
wire |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
fieldNum := int32 ( wire >> 3 )
wireType := int ( wire & 0x7 )
if wireType == 4 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgReleaseFunds: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgReleaseFunds: illegal tag %d (wire type %d)" , fieldNum , wire )
}
switch fieldNum {
case 1 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field AuctionId" , wireType )
}
var stringLen uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
stringLen |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
intStringLen := int ( stringLen )
if intStringLen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
x . AuctionId = string ( dAtA [ iNdEx : postIndex ] )
iNdEx = postIndex
case 2 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field Signer" , wireType )
}
var stringLen uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
stringLen |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
intStringLen := int ( stringLen )
if intStringLen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
x . Signer = string ( dAtA [ iNdEx : postIndex ] )
iNdEx = postIndex
default :
iNdEx = preIndex
skippy , err := runtime . Skip ( dAtA [ iNdEx : ] )
if err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
if ( skippy < 0 ) || ( iNdEx + skippy ) < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if ( iNdEx + skippy ) > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if ! options . DiscardUnknown {
x . unknownFields = append ( x . unknownFields , dAtA [ iNdEx : iNdEx + skippy ] ... )
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , nil
}
return & protoiface . Methods {
NoUnkeyedLiterals : struct { } { } ,
Flags : protoiface . SupportMarshalDeterministic | protoiface . SupportUnmarshalDiscardUnknown ,
Size : size ,
Marshal : marshal ,
Unmarshal : unmarshal ,
Merge : nil ,
CheckInitialized : nil ,
}
}
var (
md_MsgReleaseFundsResponse protoreflect . MessageDescriptor
fd_MsgReleaseFundsResponse_auction protoreflect . FieldDescriptor
)
func init ( ) {
file_cerc_auction_v1_tx_proto_init ( )
md_MsgReleaseFundsResponse = File_cerc_auction_v1_tx_proto . Messages ( ) . ByName ( "MsgReleaseFundsResponse" )
fd_MsgReleaseFundsResponse_auction = md_MsgReleaseFundsResponse . Fields ( ) . ByName ( "auction" )
}
var _ protoreflect . Message = ( * fastReflection_MsgReleaseFundsResponse ) ( nil )
type fastReflection_MsgReleaseFundsResponse MsgReleaseFundsResponse
func ( x * MsgReleaseFundsResponse ) ProtoReflect ( ) protoreflect . Message {
return ( * fastReflection_MsgReleaseFundsResponse ) ( x )
}
func ( x * MsgReleaseFundsResponse ) slowProtoReflect ( ) protoreflect . Message {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 9 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
var _fastReflection_MsgReleaseFundsResponse_messageType fastReflection_MsgReleaseFundsResponse_messageType
var _ protoreflect . MessageType = fastReflection_MsgReleaseFundsResponse_messageType { }
type fastReflection_MsgReleaseFundsResponse_messageType struct { }
func ( x fastReflection_MsgReleaseFundsResponse_messageType ) Zero ( ) protoreflect . Message {
return ( * fastReflection_MsgReleaseFundsResponse ) ( nil )
}
func ( x fastReflection_MsgReleaseFundsResponse_messageType ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgReleaseFundsResponse )
}
func ( x fastReflection_MsgReleaseFundsResponse_messageType ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgReleaseFundsResponse
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func ( x * fastReflection_MsgReleaseFundsResponse ) Descriptor ( ) protoreflect . MessageDescriptor {
return md_MsgReleaseFundsResponse
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func ( x * fastReflection_MsgReleaseFundsResponse ) Type ( ) protoreflect . MessageType {
return _fastReflection_MsgReleaseFundsResponse_messageType
}
// New returns a newly allocated and mutable empty message.
func ( x * fastReflection_MsgReleaseFundsResponse ) New ( ) protoreflect . Message {
return new ( fastReflection_MsgReleaseFundsResponse )
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func ( x * fastReflection_MsgReleaseFundsResponse ) Interface ( ) protoreflect . ProtoMessage {
return ( * MsgReleaseFundsResponse ) ( x )
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func ( x * fastReflection_MsgReleaseFundsResponse ) Range ( f func ( protoreflect . FieldDescriptor , protoreflect . Value ) bool ) {
if x . Auction != nil {
value := protoreflect . ValueOfMessage ( x . Auction . ProtoReflect ( ) )
if ! f ( fd_MsgReleaseFundsResponse_auction , value ) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func ( x * fastReflection_MsgReleaseFundsResponse ) Has ( fd protoreflect . FieldDescriptor ) bool {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgReleaseFundsResponse.auction" :
return x . Auction != nil
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgReleaseFundsResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgReleaseFundsResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgReleaseFundsResponse ) Clear ( fd protoreflect . FieldDescriptor ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgReleaseFundsResponse.auction" :
x . Auction = nil
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgReleaseFundsResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgReleaseFundsResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func ( x * fastReflection_MsgReleaseFundsResponse ) Get ( descriptor protoreflect . FieldDescriptor ) protoreflect . Value {
switch descriptor . FullName ( ) {
case "cerc.auction.v1.MsgReleaseFundsResponse.auction" :
value := x . Auction
return protoreflect . ValueOfMessage ( value . ProtoReflect ( ) )
default :
if descriptor . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgReleaseFundsResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgReleaseFundsResponse does not contain field %s" , descriptor . FullName ( ) ) )
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgReleaseFundsResponse ) Set ( fd protoreflect . FieldDescriptor , value protoreflect . Value ) {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgReleaseFundsResponse.auction" :
x . Auction = value . Message ( ) . Interface ( ) . ( * Auction )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgReleaseFundsResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgReleaseFundsResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgReleaseFundsResponse ) Mutable ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgReleaseFundsResponse.auction" :
if x . Auction == nil {
x . Auction = new ( Auction )
}
return protoreflect . ValueOfMessage ( x . Auction . ProtoReflect ( ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgReleaseFundsResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgReleaseFundsResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func ( x * fastReflection_MsgReleaseFundsResponse ) NewField ( fd protoreflect . FieldDescriptor ) protoreflect . Value {
switch fd . FullName ( ) {
case "cerc.auction.v1.MsgReleaseFundsResponse.auction" :
m := new ( Auction )
return protoreflect . ValueOfMessage ( m . ProtoReflect ( ) )
default :
if fd . IsExtension ( ) {
panic ( fmt . Errorf ( "proto3 declared messages do not support extensions: cerc.auction.v1.MsgReleaseFundsResponse" ) )
}
panic ( fmt . Errorf ( "message cerc.auction.v1.MsgReleaseFundsResponse does not contain field %s" , fd . FullName ( ) ) )
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func ( x * fastReflection_MsgReleaseFundsResponse ) WhichOneof ( d protoreflect . OneofDescriptor ) protoreflect . FieldDescriptor {
switch d . FullName ( ) {
default :
panic ( fmt . Errorf ( "%s is not a oneof field in cerc.auction.v1.MsgReleaseFundsResponse" , d . FullName ( ) ) )
}
panic ( "unreachable" )
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func ( x * fastReflection_MsgReleaseFundsResponse ) GetUnknown ( ) protoreflect . RawFields {
return x . unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func ( x * fastReflection_MsgReleaseFundsResponse ) SetUnknown ( fields protoreflect . RawFields ) {
x . unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func ( x * fastReflection_MsgReleaseFundsResponse ) IsValid ( ) bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func ( x * fastReflection_MsgReleaseFundsResponse ) ProtoMethods ( ) * protoiface . Methods {
size := func ( input protoiface . SizeInput ) protoiface . SizeOutput {
x := input . Message . Interface ( ) . ( * MsgReleaseFundsResponse )
if x == nil {
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : 0 ,
}
}
options := runtime . SizeInputToOptions ( input )
_ = options
var n int
var l int
_ = l
if x . Auction != nil {
l = options . Size ( x . Auction )
n += 1 + l + runtime . Sov ( uint64 ( l ) )
}
if x . unknownFields != nil {
n += len ( x . unknownFields )
}
return protoiface . SizeOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Size : n ,
}
}
marshal := func ( input protoiface . MarshalInput ) ( protoiface . MarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgReleaseFundsResponse )
if x == nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
options := runtime . MarshalInputToOptions ( input )
_ = options
size := options . Size ( x )
dAtA := make ( [ ] byte , size )
i := len ( dAtA )
_ = i
var l int
_ = l
if x . unknownFields != nil {
i -= len ( x . unknownFields )
copy ( dAtA [ i : ] , x . unknownFields )
}
if x . Auction != nil {
encoded , err := options . Marshal ( x . Auction )
if err != nil {
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , err
}
i -= len ( encoded )
copy ( dAtA [ i : ] , encoded )
i = runtime . EncodeVarint ( dAtA , i , uint64 ( len ( encoded ) ) )
i --
dAtA [ i ] = 0xa
}
if input . Buf != nil {
input . Buf = append ( input . Buf , dAtA ... )
} else {
input . Buf = dAtA
}
return protoiface . MarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Buf : input . Buf ,
} , nil
}
unmarshal := func ( input protoiface . UnmarshalInput ) ( protoiface . UnmarshalOutput , error ) {
x := input . Message . Interface ( ) . ( * MsgReleaseFundsResponse )
if x == nil {
return protoiface . UnmarshalOutput {
NoUnkeyedLiterals : input . NoUnkeyedLiterals ,
Flags : input . Flags ,
} , nil
}
options := runtime . UnmarshalInputToOptions ( input )
_ = options
dAtA := input . Buf
l := len ( dAtA )
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
wire |= uint64 ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
fieldNum := int32 ( wire >> 3 )
wireType := int ( wire & 0x7 )
if wireType == 4 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgReleaseFundsResponse: wiretype end group for non-group" )
}
if fieldNum <= 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: MsgReleaseFundsResponse: illegal tag %d (wire type %d)" , fieldNum , wire )
}
switch fieldNum {
case 1 :
if wireType != 2 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , fmt . Errorf ( "proto: wrong wireType = %d for field Auction" , wireType )
}
var msglen int
for shift := uint ( 0 ) ; ; shift += 7 {
if shift >= 64 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrIntOverflow
}
if iNdEx >= l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
b := dAtA [ iNdEx ]
iNdEx ++
msglen |= int ( b & 0x7F ) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if postIndex > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if x . Auction == nil {
x . Auction = & Auction { }
}
if err := options . Unmarshal ( dAtA [ iNdEx : postIndex ] , x . Auction ) ; err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
iNdEx = postIndex
default :
iNdEx = preIndex
skippy , err := runtime . Skip ( dAtA [ iNdEx : ] )
if err != nil {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , err
}
if ( skippy < 0 ) || ( iNdEx + skippy ) < 0 {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , runtime . ErrInvalidLength
}
if ( iNdEx + skippy ) > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
if ! options . DiscardUnknown {
x . unknownFields = append ( x . unknownFields , dAtA [ iNdEx : iNdEx + skippy ] ... )
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , io . ErrUnexpectedEOF
}
return protoiface . UnmarshalOutput { NoUnkeyedLiterals : input . NoUnkeyedLiterals , Flags : input . Flags } , nil
}
return & protoiface . Methods {
NoUnkeyedLiterals : struct { } { } ,
Flags : protoiface . SupportMarshalDeterministic | protoiface . SupportUnmarshalDiscardUnknown ,
Size : size ,
Marshal : marshal ,
Unmarshal : unmarshal ,
Merge : nil ,
CheckInitialized : nil ,
}
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cerc/auction/v1/tx.proto
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( 20 - protoimpl . MinVersion )
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( protoimpl . MaxVersion - 20 )
)
// MsgCreateAuction defines a create auction message
type MsgCreateAuction struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// Address of the signer
Signer string ` protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" `
// Auction kind (vickrey | provider)
Kind string ` protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty" `
// Duration of the commits phase in seconds
CommitsDuration * durationpb . Duration ` protobuf:"bytes,3,opt,name=commits_duration,json=commitsDuration,proto3" json:"commits_duration,omitempty" `
// Duration of the reveals phase in seconds
RevealsDuration * durationpb . Duration ` protobuf:"bytes,4,opt,name=reveals_duration,json=revealsDuration,proto3" json:"reveals_duration,omitempty" `
// Commit fees
CommitFee * v1beta1 . Coin ` protobuf:"bytes,5,opt,name=commit_fee,json=commitFee,proto3" json:"commit_fee,omitempty" `
// Reveal fees
RevealFee * v1beta1 . Coin ` protobuf:"bytes,6,opt,name=reveal_fee,json=revealFee,proto3" json:"reveal_fee,omitempty" `
// Minimum acceptable bid amount
// Only applicable in vickrey auctions
MinimumBid * v1beta1 . Coin ` protobuf:"bytes,7,opt,name=minimum_bid,json=minimumBid,proto3" json:"minimum_bid,omitempty" `
// Maximum acceptable bid amount
// Only applicable in provider auctions
MaxPrice * v1beta1 . Coin ` protobuf:"bytes,8,opt,name=max_price,json=maxPrice,proto3" json:"max_price,omitempty" `
// Number of desired providers (num of auction winners)
// Only applicable in provider auctions
NumProviders int32 ` protobuf:"varint,9,opt,name=num_providers,json=numProviders,proto3" json:"num_providers,omitempty" `
}
func ( x * MsgCreateAuction ) Reset ( ) {
* x = MsgCreateAuction { }
if protoimpl . UnsafeEnabled {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 0 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * MsgCreateAuction ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * MsgCreateAuction ) ProtoMessage ( ) { }
// Deprecated: Use MsgCreateAuction.ProtoReflect.Descriptor instead.
func ( * MsgCreateAuction ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_cerc_auction_v1_tx_proto_rawDescGZIP ( ) , [ ] int { 0 }
}
func ( x * MsgCreateAuction ) GetSigner ( ) string {
if x != nil {
return x . Signer
}
return ""
}
func ( x * MsgCreateAuction ) GetKind ( ) string {
if x != nil {
return x . Kind
}
return ""
}
func ( x * MsgCreateAuction ) GetCommitsDuration ( ) * durationpb . Duration {
if x != nil {
return x . CommitsDuration
}
return nil
}
func ( x * MsgCreateAuction ) GetRevealsDuration ( ) * durationpb . Duration {
if x != nil {
return x . RevealsDuration
}
return nil
}
func ( x * MsgCreateAuction ) GetCommitFee ( ) * v1beta1 . Coin {
if x != nil {
return x . CommitFee
}
return nil
2024-02-09 08:44:45 +00:00
}
func ( x * MsgCreateAuction ) GetRevealFee ( ) * v1beta1 . Coin {
if x != nil {
return x . RevealFee
}
return nil
}
func ( x * MsgCreateAuction ) GetMinimumBid ( ) * v1beta1 . Coin {
if x != nil {
return x . MinimumBid
}
return nil
}
2024-09-25 12:38:49 +00:00
func ( x * MsgCreateAuction ) GetMaxPrice ( ) * v1beta1 . Coin {
2024-02-09 08:44:45 +00:00
if x != nil {
2024-09-25 12:38:49 +00:00
return x . MaxPrice
2024-02-09 08:44:45 +00:00
}
2024-09-25 12:38:49 +00:00
return nil
}
func ( x * MsgCreateAuction ) GetNumProviders ( ) int32 {
if x != nil {
return x . NumProviders
}
return 0
2024-02-09 08:44:45 +00:00
}
// MsgCreateAuctionResponse returns the details of the created auction
type MsgCreateAuctionResponse struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// Auction details
Auction * Auction ` protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty" `
}
func ( x * MsgCreateAuctionResponse ) Reset ( ) {
* x = MsgCreateAuctionResponse { }
if protoimpl . UnsafeEnabled {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 1 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * MsgCreateAuctionResponse ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * MsgCreateAuctionResponse ) ProtoMessage ( ) { }
// Deprecated: Use MsgCreateAuctionResponse.ProtoReflect.Descriptor instead.
func ( * MsgCreateAuctionResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_cerc_auction_v1_tx_proto_rawDescGZIP ( ) , [ ] int { 1 }
}
func ( x * MsgCreateAuctionResponse ) GetAuction ( ) * Auction {
if x != nil {
return x . Auction
}
return nil
}
// CommitBid defines the message to commit a bid
type MsgCommitBid struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2024-02-28 04:34:58 +00:00
// Auction id
2024-02-09 08:44:45 +00:00
AuctionId string ` protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" `
// Commit Hash
CommitHash string ` protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty" `
// Address of the signer
Signer string ` protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty" `
}
func ( x * MsgCommitBid ) Reset ( ) {
* x = MsgCommitBid { }
if protoimpl . UnsafeEnabled {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 2 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * MsgCommitBid ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * MsgCommitBid ) ProtoMessage ( ) { }
// Deprecated: Use MsgCommitBid.ProtoReflect.Descriptor instead.
func ( * MsgCommitBid ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_cerc_auction_v1_tx_proto_rawDescGZIP ( ) , [ ] int { 2 }
}
func ( x * MsgCommitBid ) GetAuctionId ( ) string {
if x != nil {
return x . AuctionId
}
return ""
}
func ( x * MsgCommitBid ) GetCommitHash ( ) string {
if x != nil {
return x . CommitHash
}
return ""
}
func ( x * MsgCommitBid ) GetSigner ( ) string {
if x != nil {
return x . Signer
}
return ""
}
// MsgCommitBidResponse returns the state of the auction after the bid creation
type MsgCommitBidResponse struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// Auction details
Bid * Bid ` protobuf:"bytes,1,opt,name=bid,proto3" json:"bid,omitempty" `
}
func ( x * MsgCommitBidResponse ) Reset ( ) {
* x = MsgCommitBidResponse { }
if protoimpl . UnsafeEnabled {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 3 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * MsgCommitBidResponse ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * MsgCommitBidResponse ) ProtoMessage ( ) { }
// Deprecated: Use MsgCommitBidResponse.ProtoReflect.Descriptor instead.
func ( * MsgCommitBidResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_cerc_auction_v1_tx_proto_rawDescGZIP ( ) , [ ] int { 3 }
}
func ( x * MsgCommitBidResponse ) GetBid ( ) * Bid {
if x != nil {
return x . Bid
}
return nil
}
// RevealBid defines the message to reveal a bid
type MsgRevealBid struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2024-02-28 04:34:58 +00:00
// Auction id
2024-02-09 08:44:45 +00:00
AuctionId string ` protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" `
// Commit Hash
Reveal string ` protobuf:"bytes,2,opt,name=reveal,proto3" json:"reveal,omitempty" `
// Address of the signer
Signer string ` protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty" `
}
func ( x * MsgRevealBid ) Reset ( ) {
* x = MsgRevealBid { }
if protoimpl . UnsafeEnabled {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 4 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * MsgRevealBid ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * MsgRevealBid ) ProtoMessage ( ) { }
// Deprecated: Use MsgRevealBid.ProtoReflect.Descriptor instead.
func ( * MsgRevealBid ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_cerc_auction_v1_tx_proto_rawDescGZIP ( ) , [ ] int { 4 }
}
func ( x * MsgRevealBid ) GetAuctionId ( ) string {
if x != nil {
return x . AuctionId
}
return ""
}
func ( x * MsgRevealBid ) GetReveal ( ) string {
if x != nil {
return x . Reveal
}
return ""
}
func ( x * MsgRevealBid ) GetSigner ( ) string {
if x != nil {
return x . Signer
}
return ""
}
// MsgRevealBidResponse returns the state of the auction after the bid reveal
type MsgRevealBidResponse struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// Auction details
Auction * Auction ` protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty" `
}
func ( x * MsgRevealBidResponse ) Reset ( ) {
* x = MsgRevealBidResponse { }
if protoimpl . UnsafeEnabled {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 5 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * MsgRevealBidResponse ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * MsgRevealBidResponse ) ProtoMessage ( ) { }
// Deprecated: Use MsgRevealBidResponse.ProtoReflect.Descriptor instead.
func ( * MsgRevealBidResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_cerc_auction_v1_tx_proto_rawDescGZIP ( ) , [ ] int { 5 }
}
func ( x * MsgRevealBidResponse ) GetAuction ( ) * Auction {
if x != nil {
return x . Auction
}
return nil
}
2024-09-05 07:07:54 +00:00
// MsgUpdateParams is the Msg/UpdateParams request type.
type MsgUpdateParams struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// authority is the address that controls the module (defaults to x/gov unless
// overwritten).
Authority string ` protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" `
// params defines the x/auction parameters to update.
//
// NOTE: All parameters must be supplied.
Params * Params ` protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty" `
}
func ( x * MsgUpdateParams ) Reset ( ) {
* x = MsgUpdateParams { }
if protoimpl . UnsafeEnabled {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 6 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * MsgUpdateParams ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * MsgUpdateParams ) ProtoMessage ( ) { }
// Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func ( * MsgUpdateParams ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_cerc_auction_v1_tx_proto_rawDescGZIP ( ) , [ ] int { 6 }
}
func ( x * MsgUpdateParams ) GetAuthority ( ) string {
if x != nil {
return x . Authority
}
return ""
}
func ( x * MsgUpdateParams ) GetParams ( ) * Params {
if x != nil {
return x . Params
}
return nil
}
// MsgUpdateParamsResponse defines the response structure for executing a
// MsgUpdateParams message.
type MsgUpdateParamsResponse struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
}
func ( x * MsgUpdateParamsResponse ) Reset ( ) {
* x = MsgUpdateParamsResponse { }
if protoimpl . UnsafeEnabled {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 7 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * MsgUpdateParamsResponse ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * MsgUpdateParamsResponse ) ProtoMessage ( ) { }
// Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func ( * MsgUpdateParamsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_cerc_auction_v1_tx_proto_rawDescGZIP ( ) , [ ] int { 7 }
}
2024-09-25 12:38:49 +00:00
// ReleaseFunds defines the message to pay the winners of provider auctions
type MsgReleaseFunds struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// Auction id
AuctionId string ` protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" `
// Address of the signer
Signer string ` protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty" `
}
func ( x * MsgReleaseFunds ) Reset ( ) {
* x = MsgReleaseFunds { }
if protoimpl . UnsafeEnabled {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 8 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * MsgReleaseFunds ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * MsgReleaseFunds ) ProtoMessage ( ) { }
// Deprecated: Use MsgReleaseFunds.ProtoReflect.Descriptor instead.
func ( * MsgReleaseFunds ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_cerc_auction_v1_tx_proto_rawDescGZIP ( ) , [ ] int { 8 }
}
func ( x * MsgReleaseFunds ) GetAuctionId ( ) string {
if x != nil {
return x . AuctionId
}
return ""
}
func ( x * MsgReleaseFunds ) GetSigner ( ) string {
if x != nil {
return x . Signer
}
return ""
}
// MsgReleaseFundsResponse returns the state of the auction after releasing the
// funds
type MsgReleaseFundsResponse struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// Auction details
Auction * Auction ` protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty" `
}
func ( x * MsgReleaseFundsResponse ) Reset ( ) {
* x = MsgReleaseFundsResponse { }
if protoimpl . UnsafeEnabled {
mi := & file_cerc_auction_v1_tx_proto_msgTypes [ 9 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * MsgReleaseFundsResponse ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * MsgReleaseFundsResponse ) ProtoMessage ( ) { }
// Deprecated: Use MsgReleaseFundsResponse.ProtoReflect.Descriptor instead.
func ( * MsgReleaseFundsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_cerc_auction_v1_tx_proto_rawDescGZIP ( ) , [ ] int { 9 }
}
func ( x * MsgReleaseFundsResponse ) GetAuction ( ) * Auction {
if x != nil {
return x . Auction
}
return nil
}
2024-02-09 08:44:45 +00:00
var File_cerc_auction_v1_tx_proto protoreflect . FileDescriptor
var file_cerc_auction_v1_tx_proto_rawDesc = [ ] byte {
0x0a , 0x18 , 0x63 , 0x65 , 0x72 , 0x63 , 0x2f , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2f , 0x76 ,
0x31 , 0x2f , 0x74 , 0x78 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x12 , 0x0f , 0x63 , 0x65 , 0x72 , 0x63 ,
0x2e , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x76 , 0x31 , 0x1a , 0x17 , 0x63 , 0x6f , 0x73 ,
0x6d , 0x6f , 0x73 , 0x2f , 0x6d , 0x73 , 0x67 , 0x2f , 0x76 , 0x31 , 0x2f , 0x6d , 0x73 , 0x67 , 0x2e , 0x70 ,
0x72 , 0x6f , 0x74 , 0x6f , 0x1a , 0x14 , 0x67 , 0x6f , 0x67 , 0x6f , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x2f ,
0x67 , 0x6f , 0x67 , 0x6f , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x1a , 0x1c , 0x67 , 0x6f , 0x6f , 0x67 ,
0x6c , 0x65 , 0x2f , 0x61 , 0x70 , 0x69 , 0x2f , 0x61 , 0x6e , 0x6e , 0x6f , 0x74 , 0x61 , 0x74 , 0x69 , 0x6f ,
0x6e , 0x73 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x1a , 0x1e , 0x67 , 0x6f , 0x6f , 0x67 , 0x6c , 0x65 ,
0x2f , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x62 , 0x75 , 0x66 , 0x2f , 0x64 , 0x75 , 0x72 , 0x61 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x1a , 0x1e , 0x63 , 0x6f , 0x73 , 0x6d , 0x6f , 0x73 ,
0x2f , 0x62 , 0x61 , 0x73 , 0x65 , 0x2f , 0x76 , 0x31 , 0x62 , 0x65 , 0x74 , 0x61 , 0x31 , 0x2f , 0x63 , 0x6f ,
2024-09-05 07:07:54 +00:00
0x69 , 0x6e , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x1a , 0x19 , 0x63 , 0x6f , 0x73 , 0x6d , 0x6f , 0x73 ,
0x5f , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x2f , 0x63 , 0x6f , 0x73 , 0x6d , 0x6f , 0x73 , 0x2e , 0x70 , 0x72 ,
0x6f , 0x74 , 0x6f , 0x1a , 0x1d , 0x63 , 0x65 , 0x72 , 0x63 , 0x2f , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f ,
0x6e , 0x2f , 0x76 , 0x31 , 0x2f , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x70 , 0x72 , 0x6f ,
2024-09-25 12:38:49 +00:00
0x74 , 0x6f , 0x22 , 0xd6 , 0x06 , 0x0a , 0x10 , 0x4d , 0x73 , 0x67 , 0x43 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 ,
0x41 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x12 , 0x37 , 0x0a , 0x06 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 ,
0x72 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x42 , 0x1f , 0xf2 , 0xde , 0x1f , 0x1b , 0x6a , 0x73 , 0x6f ,
0x6e , 0x3a , 0x22 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a ,
0x22 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 , 0x22 , 0x52 , 0x06 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 ,
0x12 , 0x2f , 0x0a , 0x04 , 0x6b , 0x69 , 0x6e , 0x64 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x42 , 0x1b ,
0xf2 , 0xde , 0x1f , 0x17 , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x6b , 0x69 , 0x6e , 0x64 , 0x22 , 0x20 ,
0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x6b , 0x69 , 0x6e , 0x64 , 0x22 , 0x52 , 0x04 , 0x6b , 0x69 , 0x6e ,
0x64 , 0x12 , 0x81 , 0x01 , 0x0a , 0x10 , 0x63 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x73 , 0x5f , 0x64 , 0x75 ,
0x72 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x19 , 0x2e , 0x67 ,
0x6f , 0x6f , 0x67 , 0x6c , 0x65 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x62 , 0x75 , 0x66 , 0x2e , 0x44 ,
0x75 , 0x72 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x42 , 0x3b , 0xc8 , 0xde , 0x1f , 0x00 , 0xf2 , 0xde , 0x1f ,
0x2f , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x63 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x73 , 0x5f , 0x64 ,
0x75 , 0x72 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x63 ,
0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x73 , 0x5f , 0x64 , 0x75 , 0x72 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x22 ,
0x98 , 0xdf , 0x1f , 0x01 , 0x52 , 0x0f , 0x63 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x73 , 0x44 , 0x75 , 0x72 ,
0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x12 , 0x81 , 0x01 , 0x0a , 0x10 , 0x72 , 0x65 , 0x76 , 0x65 , 0x61 , 0x6c ,
0x73 , 0x5f , 0x64 , 0x75 , 0x72 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x0b ,
0x32 , 0x19 , 0x2e , 0x67 , 0x6f , 0x6f , 0x67 , 0x6c , 0x65 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x62 ,
0x75 , 0x66 , 0x2e , 0x44 , 0x75 , 0x72 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x42 , 0x3b , 0xc8 , 0xde , 0x1f ,
0x00 , 0xf2 , 0xde , 0x1f , 0x2f , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x72 , 0x65 , 0x76 , 0x65 , 0x61 ,
0x6c , 0x73 , 0x5f , 0x64 , 0x75 , 0x72 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d ,
0x6c , 0x3a , 0x22 , 0x72 , 0x65 , 0x76 , 0x65 , 0x61 , 0x6c , 0x73 , 0x5f , 0x64 , 0x75 , 0x72 , 0x61 , 0x74 ,
0x69 , 0x6f , 0x6e , 0x22 , 0x98 , 0xdf , 0x1f , 0x01 , 0x52 , 0x0f , 0x72 , 0x65 , 0x76 , 0x65 , 0x61 , 0x6c ,
0x73 , 0x44 , 0x75 , 0x72 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x12 , 0x65 , 0x0a , 0x0a , 0x63 , 0x6f , 0x6d ,
0x6d , 0x69 , 0x74 , 0x5f , 0x66 , 0x65 , 0x65 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x19 , 0x2e ,
0x63 , 0x6f , 0x73 , 0x6d , 0x6f , 0x73 , 0x2e , 0x62 , 0x61 , 0x73 , 0x65 , 0x2e , 0x76 , 0x31 , 0x62 , 0x65 ,
0x74 , 0x61 , 0x31 , 0x2e , 0x43 , 0x6f , 0x69 , 0x6e , 0x42 , 0x2b , 0xc8 , 0xde , 0x1f , 0x00 , 0xf2 , 0xde ,
0x1f , 0x23 , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x63 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x5f , 0x66 ,
0x65 , 0x65 , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x63 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 ,
0x5f , 0x66 , 0x65 , 0x65 , 0x22 , 0x52 , 0x09 , 0x63 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x46 , 0x65 , 0x65 ,
0x12 , 0x65 , 0x0a , 0x0a , 0x72 , 0x65 , 0x76 , 0x65 , 0x61 , 0x6c , 0x5f , 0x66 , 0x65 , 0x65 , 0x18 , 0x06 ,
0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x19 , 0x2e , 0x63 , 0x6f , 0x73 , 0x6d , 0x6f , 0x73 , 0x2e , 0x62 , 0x61 ,
0x73 , 0x65 , 0x2e , 0x76 , 0x31 , 0x62 , 0x65 , 0x74 , 0x61 , 0x31 , 0x2e , 0x43 , 0x6f , 0x69 , 0x6e , 0x42 ,
0x2b , 0xc8 , 0xde , 0x1f , 0x00 , 0xf2 , 0xde , 0x1f , 0x23 , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x72 ,
0x65 , 0x76 , 0x65 , 0x61 , 0x6c , 0x5f , 0x66 , 0x65 , 0x65 , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a ,
0x22 , 0x72 , 0x65 , 0x76 , 0x65 , 0x61 , 0x6c , 0x5f , 0x66 , 0x65 , 0x65 , 0x22 , 0x52 , 0x09 , 0x72 , 0x65 ,
0x76 , 0x65 , 0x61 , 0x6c , 0x46 , 0x65 , 0x65 , 0x12 , 0x69 , 0x0a , 0x0b , 0x6d , 0x69 , 0x6e , 0x69 , 0x6d ,
0x75 , 0x6d , 0x5f , 0x62 , 0x69 , 0x64 , 0x18 , 0x07 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x19 , 0x2e , 0x63 ,
0x6f , 0x73 , 0x6d , 0x6f , 0x73 , 0x2e , 0x62 , 0x61 , 0x73 , 0x65 , 0x2e , 0x76 , 0x31 , 0x62 , 0x65 , 0x74 ,
0x61 , 0x31 , 0x2e , 0x43 , 0x6f , 0x69 , 0x6e , 0x42 , 0x2d , 0xc8 , 0xde , 0x1f , 0x00 , 0xf2 , 0xde , 0x1f ,
0x25 , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x6d , 0x69 , 0x6e , 0x69 , 0x6d , 0x75 , 0x6d , 0x5f , 0x62 ,
0x69 , 0x64 , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x6d , 0x69 , 0x6e , 0x69 , 0x6d , 0x75 ,
0x6d , 0x5f , 0x62 , 0x69 , 0x64 , 0x22 , 0x52 , 0x0a , 0x6d , 0x69 , 0x6e , 0x69 , 0x6d , 0x75 , 0x6d , 0x42 ,
0x69 , 0x64 , 0x12 , 0x61 , 0x0a , 0x09 , 0x6d , 0x61 , 0x78 , 0x5f , 0x70 , 0x72 , 0x69 , 0x63 , 0x65 , 0x18 ,
0x08 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x19 , 0x2e , 0x63 , 0x6f , 0x73 , 0x6d , 0x6f , 0x73 , 0x2e , 0x62 ,
0x61 , 0x73 , 0x65 , 0x2e , 0x76 , 0x31 , 0x62 , 0x65 , 0x74 , 0x61 , 0x31 , 0x2e , 0x43 , 0x6f , 0x69 , 0x6e ,
0x42 , 0x29 , 0xc8 , 0xde , 0x1f , 0x00 , 0xf2 , 0xde , 0x1f , 0x21 , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 ,
0x6d , 0x61 , 0x78 , 0x5f , 0x70 , 0x72 , 0x69 , 0x63 , 0x65 , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a ,
0x22 , 0x6d , 0x61 , 0x78 , 0x5f , 0x70 , 0x72 , 0x69 , 0x63 , 0x65 , 0x22 , 0x52 , 0x08 , 0x6d , 0x61 , 0x78 ,
0x50 , 0x72 , 0x69 , 0x63 , 0x65 , 0x12 , 0x23 , 0x0a , 0x0d , 0x6e , 0x75 , 0x6d , 0x5f , 0x70 , 0x72 , 0x6f ,
0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x73 , 0x18 , 0x09 , 0x20 , 0x01 , 0x28 , 0x05 , 0x52 , 0x0c , 0x6e , 0x75 ,
0x6d , 0x50 , 0x72 , 0x6f , 0x76 , 0x69 , 0x64 , 0x65 , 0x72 , 0x73 , 0x3a , 0x0f , 0x88 , 0xa0 , 0x1f , 0x00 ,
0x82 , 0xe7 , 0xb0 , 0x2a , 0x06 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 , 0x22 , 0x77 , 0x0a , 0x18 , 0x4d ,
0x73 , 0x67 , 0x43 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 , 0x41 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x52 ,
0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x55 , 0x0a , 0x07 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x18 , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e ,
0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x76 , 0x31 , 0x2e , 0x41 , 0x75 , 0x63 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x42 , 0x21 , 0xf2 , 0xde , 0x1f , 0x1d , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x61 , 0x75 ,
0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x61 , 0x75 , 0x63 ,
0x74 , 0x69 , 0x6f , 0x6e , 0x22 , 0x52 , 0x07 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x3a , 0x04 ,
0x88 , 0xa0 , 0x1f , 0x00 , 0x22 , 0xec , 0x01 , 0x0a , 0x0c , 0x4d , 0x73 , 0x67 , 0x43 , 0x6f , 0x6d , 0x6d ,
0x69 , 0x74 , 0x42 , 0x69 , 0x64 , 0x12 , 0x46 , 0x0a , 0x0a , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e ,
0x5f , 0x69 , 0x64 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x42 , 0x27 , 0xf2 , 0xde , 0x1f , 0x23 , 0x6a ,
0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x5f , 0x69 , 0x64 , 0x22 ,
0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x5f , 0x69 ,
0x64 , 0x22 , 0x52 , 0x09 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x49 , 0x64 , 0x12 , 0x4a , 0x0a ,
0x0b , 0x63 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x5f , 0x68 , 0x61 , 0x73 , 0x68 , 0x18 , 0x02 , 0x20 , 0x01 ,
0x28 , 0x09 , 0x42 , 0x29 , 0xf2 , 0xde , 0x1f , 0x25 , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x63 , 0x6f ,
0x6d , 0x6d , 0x69 , 0x74 , 0x5f , 0x68 , 0x61 , 0x73 , 0x68 , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a ,
0x22 , 0x63 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x5f , 0x68 , 0x61 , 0x73 , 0x68 , 0x22 , 0x52 , 0x0a , 0x63 ,
0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x48 , 0x61 , 0x73 , 0x68 , 0x12 , 0x37 , 0x0a , 0x06 , 0x73 , 0x69 , 0x67 ,
0x6e , 0x65 , 0x72 , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x09 , 0x42 , 0x1f , 0xf2 , 0xde , 0x1f , 0x1b , 0x6a ,
0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d ,
0x6c , 0x3a , 0x22 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 , 0x22 , 0x52 , 0x06 , 0x73 , 0x69 , 0x67 , 0x6e ,
0x65 , 0x72 , 0x3a , 0x0f , 0x88 , 0xa0 , 0x1f , 0x00 , 0x82 , 0xe7 , 0xb0 , 0x2a , 0x06 , 0x73 , 0x69 , 0x67 ,
0x6e , 0x65 , 0x72 , 0x22 , 0x5f , 0x0a , 0x14 , 0x4d , 0x73 , 0x67 , 0x43 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 ,
0x42 , 0x69 , 0x64 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x41 , 0x0a , 0x03 , 0x62 ,
0x69 , 0x64 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x14 , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e ,
0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x76 , 0x31 , 0x2e , 0x42 , 0x69 , 0x64 , 0x42 , 0x19 ,
0xf2 , 0xde , 0x1f , 0x15 , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x62 , 0x69 , 0x64 , 0x22 , 0x20 , 0x79 ,
0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x62 , 0x69 , 0x64 , 0x22 , 0x52 , 0x03 , 0x62 , 0x69 , 0x64 , 0x3a , 0x04 ,
0x88 , 0xa0 , 0x1f , 0x00 , 0x22 , 0xd9 , 0x01 , 0x0a , 0x0c , 0x4d , 0x73 , 0x67 , 0x52 , 0x65 , 0x76 , 0x65 ,
0x61 , 0x6c , 0x42 , 0x69 , 0x64 , 0x12 , 0x46 , 0x0a , 0x0a , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e ,
0x5f , 0x69 , 0x64 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x42 , 0x27 , 0xf2 , 0xde , 0x1f , 0x23 , 0x6a ,
0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x5f , 0x69 , 0x64 , 0x22 ,
0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x5f , 0x69 ,
0x64 , 0x22 , 0x52 , 0x09 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x49 , 0x64 , 0x12 , 0x37 , 0x0a ,
0x06 , 0x72 , 0x65 , 0x76 , 0x65 , 0x61 , 0x6c , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x42 , 0x1f , 0xf2 ,
0xde , 0x1f , 0x1b , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x72 , 0x65 , 0x76 , 0x65 , 0x61 , 0x6c , 0x22 ,
0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x72 , 0x65 , 0x76 , 0x65 , 0x61 , 0x6c , 0x22 , 0x52 , 0x06 ,
0x72 , 0x65 , 0x76 , 0x65 , 0x61 , 0x6c , 0x12 , 0x37 , 0x0a , 0x06 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 ,
0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x09 , 0x42 , 0x1f , 0xf2 , 0xde , 0x1f , 0x1b , 0x6a , 0x73 , 0x6f , 0x6e ,
0x3a , 0x22 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 ,
0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 , 0x22 , 0x52 , 0x06 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 , 0x3a ,
0x0f , 0x88 , 0xa0 , 0x1f , 0x00 , 0x82 , 0xe7 , 0xb0 , 0x2a , 0x06 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 ,
0x22 , 0x73 , 0x0a , 0x14 , 0x4d , 0x73 , 0x67 , 0x52 , 0x65 , 0x76 , 0x65 , 0x61 , 0x6c , 0x42 , 0x69 , 0x64 ,
0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x55 , 0x0a , 0x07 , 0x61 , 0x75 , 0x63 , 0x74 ,
0x69 , 0x6f , 0x6e , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x18 , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 ,
0x2e , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x76 , 0x31 , 0x2e , 0x41 , 0x75 , 0x63 , 0x74 ,
0x69 , 0x6f , 0x6e , 0x42 , 0x21 , 0xf2 , 0xde , 0x1f , 0x1d , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x61 ,
0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x61 , 0x75 ,
0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x22 , 0x52 , 0x07 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x3a ,
0x04 , 0x88 , 0xa0 , 0x1f , 0x00 , 0x22 , 0x90 , 0x01 , 0x0a , 0x0f , 0x4d , 0x73 , 0x67 , 0x55 , 0x70 , 0x64 ,
0x61 , 0x74 , 0x65 , 0x50 , 0x61 , 0x72 , 0x61 , 0x6d , 0x73 , 0x12 , 0x36 , 0x0a , 0x09 , 0x61 , 0x75 , 0x74 ,
0x68 , 0x6f , 0x72 , 0x69 , 0x74 , 0x79 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x42 , 0x18 , 0xd2 , 0xb4 ,
0x2d , 0x14 , 0x63 , 0x6f , 0x73 , 0x6d , 0x6f , 0x73 , 0x2e , 0x41 , 0x64 , 0x64 , 0x72 , 0x65 , 0x73 , 0x73 ,
0x53 , 0x74 , 0x72 , 0x69 , 0x6e , 0x67 , 0x52 , 0x09 , 0x61 , 0x75 , 0x74 , 0x68 , 0x6f , 0x72 , 0x69 , 0x74 ,
0x79 , 0x12 , 0x35 , 0x0a , 0x06 , 0x70 , 0x61 , 0x72 , 0x61 , 0x6d , 0x73 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 ,
0x0b , 0x32 , 0x17 , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e ,
0x2e , 0x76 , 0x31 , 0x2e , 0x50 , 0x61 , 0x72 , 0x61 , 0x6d , 0x73 , 0x42 , 0x04 , 0xc8 , 0xde , 0x1f , 0x00 ,
0x52 , 0x06 , 0x70 , 0x61 , 0x72 , 0x61 , 0x6d , 0x73 , 0x3a , 0x0e , 0x82 , 0xe7 , 0xb0 , 0x2a , 0x09 , 0x61 ,
0x75 , 0x74 , 0x68 , 0x6f , 0x72 , 0x69 , 0x74 , 0x79 , 0x22 , 0x19 , 0x0a , 0x17 , 0x4d , 0x73 , 0x67 , 0x55 ,
0x70 , 0x64 , 0x61 , 0x74 , 0x65 , 0x50 , 0x61 , 0x72 , 0x61 , 0x6d , 0x73 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f ,
0x6e , 0x73 , 0x65 , 0x22 , 0xa3 , 0x01 , 0x0a , 0x0f , 0x4d , 0x73 , 0x67 , 0x52 , 0x65 , 0x6c , 0x65 , 0x61 ,
0x73 , 0x65 , 0x46 , 0x75 , 0x6e , 0x64 , 0x73 , 0x12 , 0x46 , 0x0a , 0x0a , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x5f , 0x69 , 0x64 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x42 , 0x27 , 0xf2 , 0xde , 0x1f ,
0x23 , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x5f , 0x69 ,
0x64 , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e ,
0x5f , 0x69 , 0x64 , 0x22 , 0x52 , 0x09 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x49 , 0x64 , 0x12 ,
0x37 , 0x0a , 0x06 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x42 ,
0x1f , 0xf2 , 0xde , 0x1f , 0x1b , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 ,
0x72 , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 , 0x22 ,
0x52 , 0x06 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 , 0x3a , 0x0f , 0x88 , 0xa0 , 0x1f , 0x00 , 0x82 , 0xe7 ,
0xb0 , 0x2a , 0x06 , 0x73 , 0x69 , 0x67 , 0x6e , 0x65 , 0x72 , 0x22 , 0x76 , 0x0a , 0x17 , 0x4d , 0x73 , 0x67 ,
0x52 , 0x65 , 0x6c , 0x65 , 0x61 , 0x73 , 0x65 , 0x46 , 0x75 , 0x6e , 0x64 , 0x73 , 0x52 , 0x65 , 0x73 , 0x70 ,
0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x55 , 0x0a , 0x07 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x18 ,
0x01 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x18 , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e , 0x61 , 0x75 , 0x63 ,
0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x76 , 0x31 , 0x2e , 0x41 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x42 ,
0x21 , 0xf2 , 0xde , 0x1f , 0x1d , 0x6a , 0x73 , 0x6f , 0x6e , 0x3a , 0x22 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x22 , 0x20 , 0x79 , 0x61 , 0x6d , 0x6c , 0x3a , 0x22 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f ,
0x6e , 0x22 , 0x52 , 0x07 , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x3a , 0x04 , 0x88 , 0xa0 , 0x1f ,
0x00 , 0x32 , 0xe6 , 0x04 , 0x0a , 0x03 , 0x4d , 0x73 , 0x67 , 0x12 , 0x86 , 0x01 , 0x0a , 0x0d , 0x43 , 0x72 ,
0x65 , 0x61 , 0x74 , 0x65 , 0x41 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x12 , 0x21 , 0x2e , 0x63 , 0x65 ,
2024-02-09 08:44:45 +00:00
0x72 , 0x63 , 0x2e , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x76 , 0x31 , 0x2e , 0x4d , 0x73 ,
2024-09-25 12:38:49 +00:00
0x67 , 0x43 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 , 0x41 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x1a , 0x29 ,
0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x76 , 0x31 ,
0x2e , 0x4d , 0x73 , 0x67 , 0x43 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 , 0x41 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f ,
0x6e , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x22 , 0x27 , 0x82 , 0xd3 , 0xe4 , 0x93 , 0x02 ,
0x21 , 0x22 , 0x1f , 0x2f , 0x63 , 0x65 , 0x72 , 0x63 , 0x2f , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e ,
0x2f , 0x76 , 0x31 , 0x2f , 0x63 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 , 0x5f , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x12 , 0x76 , 0x0a , 0x09 , 0x43 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x42 , 0x69 , 0x64 , 0x12 ,
0x1d , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x76 ,
0x31 , 0x2e , 0x4d , 0x73 , 0x67 , 0x43 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x42 , 0x69 , 0x64 , 0x1a , 0x25 ,
0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x76 , 0x31 ,
0x2e , 0x4d , 0x73 , 0x67 , 0x43 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x42 , 0x69 , 0x64 , 0x52 , 0x65 , 0x73 ,
0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x22 , 0x23 , 0x82 , 0xd3 , 0xe4 , 0x93 , 0x02 , 0x1d , 0x22 , 0x1b , 0x2f ,
0x63 , 0x65 , 0x72 , 0x63 , 0x2f , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2f , 0x76 , 0x31 , 0x2f ,
0x63 , 0x6f , 0x6d , 0x6d , 0x69 , 0x74 , 0x5f , 0x62 , 0x69 , 0x64 , 0x12 , 0x76 , 0x0a , 0x09 , 0x52 , 0x65 ,
0x76 , 0x65 , 0x61 , 0x6c , 0x42 , 0x69 , 0x64 , 0x12 , 0x1d , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e , 0x61 ,
0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x76 , 0x31 , 0x2e , 0x4d , 0x73 , 0x67 , 0x52 , 0x65 , 0x76 ,
0x65 , 0x61 , 0x6c , 0x42 , 0x69 , 0x64 , 0x1a , 0x25 , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e , 0x61 , 0x75 ,
0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x76 , 0x31 , 0x2e , 0x4d , 0x73 , 0x67 , 0x52 , 0x65 , 0x76 , 0x65 ,
0x61 , 0x6c , 0x42 , 0x69 , 0x64 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x22 , 0x23 , 0x82 ,
0xd3 , 0xe4 , 0x93 , 0x02 , 0x1d , 0x22 , 0x1b , 0x2f , 0x63 , 0x65 , 0x72 , 0x63 , 0x2f , 0x61 , 0x75 , 0x63 ,
0x74 , 0x69 , 0x6f , 0x6e , 0x2f , 0x76 , 0x31 , 0x2f , 0x72 , 0x65 , 0x76 , 0x65 , 0x61 , 0x6c , 0x5f , 0x62 ,
0x69 , 0x64 , 0x12 , 0x5a , 0x0a , 0x0c , 0x55 , 0x70 , 0x64 , 0x61 , 0x74 , 0x65 , 0x50 , 0x61 , 0x72 , 0x61 ,
0x6d , 0x73 , 0x12 , 0x20 , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f ,
0x6e , 0x2e , 0x76 , 0x31 , 0x2e , 0x4d , 0x73 , 0x67 , 0x55 , 0x70 , 0x64 , 0x61 , 0x74 , 0x65 , 0x50 , 0x61 ,
0x72 , 0x61 , 0x6d , 0x73 , 0x1a , 0x28 , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e , 0x61 , 0x75 , 0x63 , 0x74 ,
0x69 , 0x6f , 0x6e , 0x2e , 0x76 , 0x31 , 0x2e , 0x4d , 0x73 , 0x67 , 0x55 , 0x70 , 0x64 , 0x61 , 0x74 , 0x65 ,
0x50 , 0x61 , 0x72 , 0x61 , 0x6d , 0x73 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x82 ,
0x01 , 0x0a , 0x0c , 0x52 , 0x65 , 0x6c , 0x65 , 0x61 , 0x73 , 0x65 , 0x46 , 0x75 , 0x6e , 0x64 , 0x73 , 0x12 ,
0x20 , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x76 ,
0x31 , 0x2e , 0x4d , 0x73 , 0x67 , 0x52 , 0x65 , 0x6c , 0x65 , 0x61 , 0x73 , 0x65 , 0x46 , 0x75 , 0x6e , 0x64 ,
0x73 , 0x1a , 0x28 , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e ,
0x2e , 0x76 , 0x31 , 0x2e , 0x4d , 0x73 , 0x67 , 0x52 , 0x65 , 0x6c , 0x65 , 0x61 , 0x73 , 0x65 , 0x46 , 0x75 ,
0x6e , 0x64 , 0x73 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x22 , 0x26 , 0x82 , 0xd3 , 0xe4 ,
0x93 , 0x02 , 0x20 , 0x22 , 0x1e , 0x2f , 0x63 , 0x65 , 0x72 , 0x63 , 0x2f , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x2f , 0x76 , 0x31 , 0x2f , 0x72 , 0x65 , 0x6c , 0x65 , 0x61 , 0x73 , 0x65 , 0x5f , 0x66 , 0x75 ,
0x6e , 0x64 , 0x73 , 0x1a , 0x05 , 0x80 , 0xe7 , 0xb0 , 0x2a , 0x01 , 0x42 , 0xb7 , 0x01 , 0x0a , 0x13 , 0x63 ,
0x6f , 0x6d , 0x2e , 0x63 , 0x65 , 0x72 , 0x63 , 0x2e , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e ,
0x76 , 0x31 , 0x42 , 0x07 , 0x54 , 0x78 , 0x50 , 0x72 , 0x6f , 0x74 , 0x6f , 0x50 , 0x01 , 0x5a , 0x39 , 0x67 ,
0x69 , 0x74 , 0x2e , 0x76 , 0x64 , 0x62 , 0x2e , 0x74 , 0x6f , 0x2f , 0x63 , 0x65 , 0x72 , 0x63 , 0x2d , 0x69 ,
0x6f , 0x2f , 0x6c , 0x61 , 0x63 , 0x6f , 0x6e , 0x69 , 0x63 , 0x64 , 0x2f , 0x61 , 0x70 , 0x69 , 0x2f , 0x63 ,
0x65 , 0x72 , 0x63 , 0x2f , 0x61 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2f , 0x76 , 0x31 , 0x3b , 0x61 ,
0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x76 , 0x31 , 0xa2 , 0x02 , 0x03 , 0x43 , 0x41 , 0x58 , 0xaa , 0x02 ,
0x0f , 0x43 , 0x65 , 0x72 , 0x63 , 0x2e , 0x41 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x2e , 0x56 , 0x31 ,
0xca , 0x02 , 0x0f , 0x43 , 0x65 , 0x72 , 0x63 , 0x5c , 0x41 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e , 0x5c ,
0x56 , 0x31 , 0xe2 , 0x02 , 0x1b , 0x43 , 0x65 , 0x72 , 0x63 , 0x5c , 0x41 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f ,
0x6e , 0x5c , 0x56 , 0x31 , 0x5c , 0x47 , 0x50 , 0x42 , 0x4d , 0x65 , 0x74 , 0x61 , 0x64 , 0x61 , 0x74 , 0x61 ,
0xea , 0x02 , 0x11 , 0x43 , 0x65 , 0x72 , 0x63 , 0x3a , 0x3a , 0x41 , 0x75 , 0x63 , 0x74 , 0x69 , 0x6f , 0x6e ,
0x3a , 0x3a , 0x56 , 0x31 , 0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
2024-02-09 08:44:45 +00:00
}
var (
file_cerc_auction_v1_tx_proto_rawDescOnce sync . Once
file_cerc_auction_v1_tx_proto_rawDescData = file_cerc_auction_v1_tx_proto_rawDesc
)
func file_cerc_auction_v1_tx_proto_rawDescGZIP ( ) [ ] byte {
file_cerc_auction_v1_tx_proto_rawDescOnce . Do ( func ( ) {
file_cerc_auction_v1_tx_proto_rawDescData = protoimpl . X . CompressGZIP ( file_cerc_auction_v1_tx_proto_rawDescData )
} )
return file_cerc_auction_v1_tx_proto_rawDescData
}
2024-09-25 12:38:49 +00:00
var file_cerc_auction_v1_tx_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 10 )
2024-02-09 08:44:45 +00:00
var file_cerc_auction_v1_tx_proto_goTypes = [ ] interface { } {
( * MsgCreateAuction ) ( nil ) , // 0: cerc.auction.v1.MsgCreateAuction
( * MsgCreateAuctionResponse ) ( nil ) , // 1: cerc.auction.v1.MsgCreateAuctionResponse
( * MsgCommitBid ) ( nil ) , // 2: cerc.auction.v1.MsgCommitBid
( * MsgCommitBidResponse ) ( nil ) , // 3: cerc.auction.v1.MsgCommitBidResponse
( * MsgRevealBid ) ( nil ) , // 4: cerc.auction.v1.MsgRevealBid
( * MsgRevealBidResponse ) ( nil ) , // 5: cerc.auction.v1.MsgRevealBidResponse
2024-09-05 07:07:54 +00:00
( * MsgUpdateParams ) ( nil ) , // 6: cerc.auction.v1.MsgUpdateParams
( * MsgUpdateParamsResponse ) ( nil ) , // 7: cerc.auction.v1.MsgUpdateParamsResponse
2024-09-25 12:38:49 +00:00
( * MsgReleaseFunds ) ( nil ) , // 8: cerc.auction.v1.MsgReleaseFunds
( * MsgReleaseFundsResponse ) ( nil ) , // 9: cerc.auction.v1.MsgReleaseFundsResponse
( * durationpb . Duration ) ( nil ) , // 10: google.protobuf.Duration
( * v1beta1 . Coin ) ( nil ) , // 11: cosmos.base.v1beta1.Coin
( * Auction ) ( nil ) , // 12: cerc.auction.v1.Auction
( * Bid ) ( nil ) , // 13: cerc.auction.v1.Bid
( * Params ) ( nil ) , // 14: cerc.auction.v1.Params
2024-02-09 08:44:45 +00:00
}
var file_cerc_auction_v1_tx_proto_depIdxs = [ ] int32 {
2024-09-25 12:38:49 +00:00
10 , // 0: cerc.auction.v1.MsgCreateAuction.commits_duration:type_name -> google.protobuf.Duration
10 , // 1: cerc.auction.v1.MsgCreateAuction.reveals_duration:type_name -> google.protobuf.Duration
11 , // 2: cerc.auction.v1.MsgCreateAuction.commit_fee:type_name -> cosmos.base.v1beta1.Coin
11 , // 3: cerc.auction.v1.MsgCreateAuction.reveal_fee:type_name -> cosmos.base.v1beta1.Coin
11 , // 4: cerc.auction.v1.MsgCreateAuction.minimum_bid:type_name -> cosmos.base.v1beta1.Coin
11 , // 5: cerc.auction.v1.MsgCreateAuction.max_price:type_name -> cosmos.base.v1beta1.Coin
12 , // 6: cerc.auction.v1.MsgCreateAuctionResponse.auction:type_name -> cerc.auction.v1.Auction
13 , // 7: cerc.auction.v1.MsgCommitBidResponse.bid:type_name -> cerc.auction.v1.Bid
12 , // 8: cerc.auction.v1.MsgRevealBidResponse.auction:type_name -> cerc.auction.v1.Auction
14 , // 9: cerc.auction.v1.MsgUpdateParams.params:type_name -> cerc.auction.v1.Params
12 , // 10: cerc.auction.v1.MsgReleaseFundsResponse.auction:type_name -> cerc.auction.v1.Auction
0 , // 11: cerc.auction.v1.Msg.CreateAuction:input_type -> cerc.auction.v1.MsgCreateAuction
2 , // 12: cerc.auction.v1.Msg.CommitBid:input_type -> cerc.auction.v1.MsgCommitBid
4 , // 13: cerc.auction.v1.Msg.RevealBid:input_type -> cerc.auction.v1.MsgRevealBid
6 , // 14: cerc.auction.v1.Msg.UpdateParams:input_type -> cerc.auction.v1.MsgUpdateParams
8 , // 15: cerc.auction.v1.Msg.ReleaseFunds:input_type -> cerc.auction.v1.MsgReleaseFunds
1 , // 16: cerc.auction.v1.Msg.CreateAuction:output_type -> cerc.auction.v1.MsgCreateAuctionResponse
3 , // 17: cerc.auction.v1.Msg.CommitBid:output_type -> cerc.auction.v1.MsgCommitBidResponse
5 , // 18: cerc.auction.v1.Msg.RevealBid:output_type -> cerc.auction.v1.MsgRevealBidResponse
7 , // 19: cerc.auction.v1.Msg.UpdateParams:output_type -> cerc.auction.v1.MsgUpdateParamsResponse
9 , // 20: cerc.auction.v1.Msg.ReleaseFunds:output_type -> cerc.auction.v1.MsgReleaseFundsResponse
16 , // [16:21] is the sub-list for method output_type
11 , // [11:16] is the sub-list for method input_type
11 , // [11:11] is the sub-list for extension type_name
11 , // [11:11] is the sub-list for extension extendee
0 , // [0:11] is the sub-list for field type_name
2024-02-09 08:44:45 +00:00
}
func init ( ) { file_cerc_auction_v1_tx_proto_init ( ) }
func file_cerc_auction_v1_tx_proto_init ( ) {
if File_cerc_auction_v1_tx_proto != nil {
return
}
file_cerc_auction_v1_auction_proto_init ( )
if ! protoimpl . UnsafeEnabled {
file_cerc_auction_v1_tx_proto_msgTypes [ 0 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * MsgCreateAuction ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_cerc_auction_v1_tx_proto_msgTypes [ 1 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * MsgCreateAuctionResponse ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_cerc_auction_v1_tx_proto_msgTypes [ 2 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * MsgCommitBid ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_cerc_auction_v1_tx_proto_msgTypes [ 3 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * MsgCommitBidResponse ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_cerc_auction_v1_tx_proto_msgTypes [ 4 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * MsgRevealBid ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_cerc_auction_v1_tx_proto_msgTypes [ 5 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * MsgRevealBidResponse ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2024-09-05 07:07:54 +00:00
file_cerc_auction_v1_tx_proto_msgTypes [ 6 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * MsgUpdateParams ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_cerc_auction_v1_tx_proto_msgTypes [ 7 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * MsgUpdateParamsResponse ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2024-09-25 12:38:49 +00:00
file_cerc_auction_v1_tx_proto_msgTypes [ 8 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * MsgReleaseFunds ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_cerc_auction_v1_tx_proto_msgTypes [ 9 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * MsgReleaseFundsResponse ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2024-02-09 08:44:45 +00:00
}
type x struct { }
out := protoimpl . TypeBuilder {
File : protoimpl . DescBuilder {
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
RawDescriptor : file_cerc_auction_v1_tx_proto_rawDesc ,
NumEnums : 0 ,
2024-09-25 12:38:49 +00:00
NumMessages : 10 ,
2024-02-09 08:44:45 +00:00
NumExtensions : 0 ,
NumServices : 1 ,
} ,
GoTypes : file_cerc_auction_v1_tx_proto_goTypes ,
DependencyIndexes : file_cerc_auction_v1_tx_proto_depIdxs ,
MessageInfos : file_cerc_auction_v1_tx_proto_msgTypes ,
} . Build ( )
File_cerc_auction_v1_tx_proto = out . File
file_cerc_auction_v1_tx_proto_rawDesc = nil
file_cerc_auction_v1_tx_proto_goTypes = nil
file_cerc_auction_v1_tx_proto_depIdxs = nil
}