github.com/cosmos/cosmos-sdk@v0.50.10/testutil/testdata/testpb/tx.pulsar.go (about)

     1  // Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
     2  package testpb
     3  
     4  import (
     5  	_ "cosmossdk.io/api/amino"
     6  	_ "cosmossdk.io/api/cosmos/msg/v1"
     7  	fmt "fmt"
     8  	runtime "github.com/cosmos/cosmos-proto/runtime"
     9  	_ "github.com/cosmos/gogoproto/gogoproto"
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoiface "google.golang.org/protobuf/runtime/protoiface"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	io "io"
    14  	reflect "reflect"
    15  	sync "sync"
    16  )
    17  
    18  var (
    19  	md_MsgCreateDog       protoreflect.MessageDescriptor
    20  	fd_MsgCreateDog_dog   protoreflect.FieldDescriptor
    21  	fd_MsgCreateDog_owner protoreflect.FieldDescriptor
    22  )
    23  
    24  func init() {
    25  	file_testpb_tx_proto_init()
    26  	md_MsgCreateDog = File_testpb_tx_proto.Messages().ByName("MsgCreateDog")
    27  	fd_MsgCreateDog_dog = md_MsgCreateDog.Fields().ByName("dog")
    28  	fd_MsgCreateDog_owner = md_MsgCreateDog.Fields().ByName("owner")
    29  }
    30  
    31  var _ protoreflect.Message = (*fastReflection_MsgCreateDog)(nil)
    32  
    33  type fastReflection_MsgCreateDog MsgCreateDog
    34  
    35  func (x *MsgCreateDog) ProtoReflect() protoreflect.Message {
    36  	return (*fastReflection_MsgCreateDog)(x)
    37  }
    38  
    39  func (x *MsgCreateDog) slowProtoReflect() protoreflect.Message {
    40  	mi := &file_testpb_tx_proto_msgTypes[0]
    41  	if protoimpl.UnsafeEnabled && x != nil {
    42  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    43  		if ms.LoadMessageInfo() == nil {
    44  			ms.StoreMessageInfo(mi)
    45  		}
    46  		return ms
    47  	}
    48  	return mi.MessageOf(x)
    49  }
    50  
    51  var _fastReflection_MsgCreateDog_messageType fastReflection_MsgCreateDog_messageType
    52  var _ protoreflect.MessageType = fastReflection_MsgCreateDog_messageType{}
    53  
    54  type fastReflection_MsgCreateDog_messageType struct{}
    55  
    56  func (x fastReflection_MsgCreateDog_messageType) Zero() protoreflect.Message {
    57  	return (*fastReflection_MsgCreateDog)(nil)
    58  }
    59  func (x fastReflection_MsgCreateDog_messageType) New() protoreflect.Message {
    60  	return new(fastReflection_MsgCreateDog)
    61  }
    62  func (x fastReflection_MsgCreateDog_messageType) Descriptor() protoreflect.MessageDescriptor {
    63  	return md_MsgCreateDog
    64  }
    65  
    66  // Descriptor returns message descriptor, which contains only the protobuf
    67  // type information for the message.
    68  func (x *fastReflection_MsgCreateDog) Descriptor() protoreflect.MessageDescriptor {
    69  	return md_MsgCreateDog
    70  }
    71  
    72  // Type returns the message type, which encapsulates both Go and protobuf
    73  // type information. If the Go type information is not needed,
    74  // it is recommended that the message descriptor be used instead.
    75  func (x *fastReflection_MsgCreateDog) Type() protoreflect.MessageType {
    76  	return _fastReflection_MsgCreateDog_messageType
    77  }
    78  
    79  // New returns a newly allocated and mutable empty message.
    80  func (x *fastReflection_MsgCreateDog) New() protoreflect.Message {
    81  	return new(fastReflection_MsgCreateDog)
    82  }
    83  
    84  // Interface unwraps the message reflection interface and
    85  // returns the underlying ProtoMessage interface.
    86  func (x *fastReflection_MsgCreateDog) Interface() protoreflect.ProtoMessage {
    87  	return (*MsgCreateDog)(x)
    88  }
    89  
    90  // Range iterates over every populated field in an undefined order,
    91  // calling f for each field descriptor and value encountered.
    92  // Range returns immediately if f returns false.
    93  // While iterating, mutating operations may only be performed
    94  // on the current field descriptor.
    95  func (x *fastReflection_MsgCreateDog) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
    96  	if x.Dog != nil {
    97  		value := protoreflect.ValueOfMessage(x.Dog.ProtoReflect())
    98  		if !f(fd_MsgCreateDog_dog, value) {
    99  			return
   100  		}
   101  	}
   102  	if x.Owner != "" {
   103  		value := protoreflect.ValueOfString(x.Owner)
   104  		if !f(fd_MsgCreateDog_owner, value) {
   105  			return
   106  		}
   107  	}
   108  }
   109  
   110  // Has reports whether a field is populated.
   111  //
   112  // Some fields have the property of nullability where it is possible to
   113  // distinguish between the default value of a field and whether the field
   114  // was explicitly populated with the default value. Singular message fields,
   115  // member fields of a oneof, and proto2 scalar fields are nullable. Such
   116  // fields are populated only if explicitly set.
   117  //
   118  // In other cases (aside from the nullable cases above),
   119  // a proto3 scalar field is populated if it contains a non-zero value, and
   120  // a repeated field is populated if it is non-empty.
   121  func (x *fastReflection_MsgCreateDog) Has(fd protoreflect.FieldDescriptor) bool {
   122  	switch fd.FullName() {
   123  	case "testpb.MsgCreateDog.dog":
   124  		return x.Dog != nil
   125  	case "testpb.MsgCreateDog.owner":
   126  		return x.Owner != ""
   127  	default:
   128  		if fd.IsExtension() {
   129  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDog"))
   130  		}
   131  		panic(fmt.Errorf("message testpb.MsgCreateDog does not contain field %s", fd.FullName()))
   132  	}
   133  }
   134  
   135  // Clear clears the field such that a subsequent Has call reports false.
   136  //
   137  // Clearing an extension field clears both the extension type and value
   138  // associated with the given field number.
   139  //
   140  // Clear is a mutating operation and unsafe for concurrent use.
   141  func (x *fastReflection_MsgCreateDog) Clear(fd protoreflect.FieldDescriptor) {
   142  	switch fd.FullName() {
   143  	case "testpb.MsgCreateDog.dog":
   144  		x.Dog = nil
   145  	case "testpb.MsgCreateDog.owner":
   146  		x.Owner = ""
   147  	default:
   148  		if fd.IsExtension() {
   149  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDog"))
   150  		}
   151  		panic(fmt.Errorf("message testpb.MsgCreateDog does not contain field %s", fd.FullName()))
   152  	}
   153  }
   154  
   155  // Get retrieves the value for a field.
   156  //
   157  // For unpopulated scalars, it returns the default value, where
   158  // the default value of a bytes scalar is guaranteed to be a copy.
   159  // For unpopulated composite types, it returns an empty, read-only view
   160  // of the value; to obtain a mutable reference, use Mutable.
   161  func (x *fastReflection_MsgCreateDog) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
   162  	switch descriptor.FullName() {
   163  	case "testpb.MsgCreateDog.dog":
   164  		value := x.Dog
   165  		return protoreflect.ValueOfMessage(value.ProtoReflect())
   166  	case "testpb.MsgCreateDog.owner":
   167  		value := x.Owner
   168  		return protoreflect.ValueOfString(value)
   169  	default:
   170  		if descriptor.IsExtension() {
   171  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDog"))
   172  		}
   173  		panic(fmt.Errorf("message testpb.MsgCreateDog does not contain field %s", descriptor.FullName()))
   174  	}
   175  }
   176  
   177  // Set stores the value for a field.
   178  //
   179  // For a field belonging to a oneof, it implicitly clears any other field
   180  // that may be currently set within the same oneof.
   181  // For extension fields, it implicitly stores the provided ExtensionType.
   182  // When setting a composite type, it is unspecified whether the stored value
   183  // aliases the source's memory in any way. If the composite value is an
   184  // empty, read-only value, then it panics.
   185  //
   186  // Set is a mutating operation and unsafe for concurrent use.
   187  func (x *fastReflection_MsgCreateDog) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
   188  	switch fd.FullName() {
   189  	case "testpb.MsgCreateDog.dog":
   190  		x.Dog = value.Message().Interface().(*Dog)
   191  	case "testpb.MsgCreateDog.owner":
   192  		x.Owner = value.Interface().(string)
   193  	default:
   194  		if fd.IsExtension() {
   195  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDog"))
   196  		}
   197  		panic(fmt.Errorf("message testpb.MsgCreateDog does not contain field %s", fd.FullName()))
   198  	}
   199  }
   200  
   201  // Mutable returns a mutable reference to a composite type.
   202  //
   203  // If the field is unpopulated, it may allocate a composite value.
   204  // For a field belonging to a oneof, it implicitly clears any other field
   205  // that may be currently set within the same oneof.
   206  // For extension fields, it implicitly stores the provided ExtensionType
   207  // if not already stored.
   208  // It panics if the field does not contain a composite type.
   209  //
   210  // Mutable is a mutating operation and unsafe for concurrent use.
   211  func (x *fastReflection_MsgCreateDog) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
   212  	switch fd.FullName() {
   213  	case "testpb.MsgCreateDog.dog":
   214  		if x.Dog == nil {
   215  			x.Dog = new(Dog)
   216  		}
   217  		return protoreflect.ValueOfMessage(x.Dog.ProtoReflect())
   218  	case "testpb.MsgCreateDog.owner":
   219  		panic(fmt.Errorf("field owner of message testpb.MsgCreateDog is not mutable"))
   220  	default:
   221  		if fd.IsExtension() {
   222  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDog"))
   223  		}
   224  		panic(fmt.Errorf("message testpb.MsgCreateDog does not contain field %s", fd.FullName()))
   225  	}
   226  }
   227  
   228  // NewField returns a new value that is assignable to the field
   229  // for the given descriptor. For scalars, this returns the default value.
   230  // For lists, maps, and messages, this returns a new, empty, mutable value.
   231  func (x *fastReflection_MsgCreateDog) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
   232  	switch fd.FullName() {
   233  	case "testpb.MsgCreateDog.dog":
   234  		m := new(Dog)
   235  		return protoreflect.ValueOfMessage(m.ProtoReflect())
   236  	case "testpb.MsgCreateDog.owner":
   237  		return protoreflect.ValueOfString("")
   238  	default:
   239  		if fd.IsExtension() {
   240  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDog"))
   241  		}
   242  		panic(fmt.Errorf("message testpb.MsgCreateDog does not contain field %s", fd.FullName()))
   243  	}
   244  }
   245  
   246  // WhichOneof reports which field within the oneof is populated,
   247  // returning nil if none are populated.
   248  // It panics if the oneof descriptor does not belong to this message.
   249  func (x *fastReflection_MsgCreateDog) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
   250  	switch d.FullName() {
   251  	default:
   252  		panic(fmt.Errorf("%s is not a oneof field in testpb.MsgCreateDog", d.FullName()))
   253  	}
   254  	panic("unreachable")
   255  }
   256  
   257  // GetUnknown retrieves the entire list of unknown fields.
   258  // The caller may only mutate the contents of the RawFields
   259  // if the mutated bytes are stored back into the message with SetUnknown.
   260  func (x *fastReflection_MsgCreateDog) GetUnknown() protoreflect.RawFields {
   261  	return x.unknownFields
   262  }
   263  
   264  // SetUnknown stores an entire list of unknown fields.
   265  // The raw fields must be syntactically valid according to the wire format.
   266  // An implementation may panic if this is not the case.
   267  // Once stored, the caller must not mutate the content of the RawFields.
   268  // An empty RawFields may be passed to clear the fields.
   269  //
   270  // SetUnknown is a mutating operation and unsafe for concurrent use.
   271  func (x *fastReflection_MsgCreateDog) SetUnknown(fields protoreflect.RawFields) {
   272  	x.unknownFields = fields
   273  }
   274  
   275  // IsValid reports whether the message is valid.
   276  //
   277  // An invalid message is an empty, read-only value.
   278  //
   279  // An invalid message often corresponds to a nil pointer of the concrete
   280  // message type, but the details are implementation dependent.
   281  // Validity is not part of the protobuf data model, and may not
   282  // be preserved in marshaling or other operations.
   283  func (x *fastReflection_MsgCreateDog) IsValid() bool {
   284  	return x != nil
   285  }
   286  
   287  // ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
   288  // This method may return nil.
   289  //
   290  // The returned methods type is identical to
   291  // "google.golang.org/protobuf/runtime/protoiface".Methods.
   292  // Consult the protoiface package documentation for details.
   293  func (x *fastReflection_MsgCreateDog) ProtoMethods() *protoiface.Methods {
   294  	size := func(input protoiface.SizeInput) protoiface.SizeOutput {
   295  		x := input.Message.Interface().(*MsgCreateDog)
   296  		if x == nil {
   297  			return protoiface.SizeOutput{
   298  				NoUnkeyedLiterals: input.NoUnkeyedLiterals,
   299  				Size:              0,
   300  			}
   301  		}
   302  		options := runtime.SizeInputToOptions(input)
   303  		_ = options
   304  		var n int
   305  		var l int
   306  		_ = l
   307  		if x.Dog != nil {
   308  			l = options.Size(x.Dog)
   309  			n += 1 + l + runtime.Sov(uint64(l))
   310  		}
   311  		l = len(x.Owner)
   312  		if l > 0 {
   313  			n += 1 + l + runtime.Sov(uint64(l))
   314  		}
   315  		if x.unknownFields != nil {
   316  			n += len(x.unknownFields)
   317  		}
   318  		return protoiface.SizeOutput{
   319  			NoUnkeyedLiterals: input.NoUnkeyedLiterals,
   320  			Size:              n,
   321  		}
   322  	}
   323  
   324  	marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
   325  		x := input.Message.Interface().(*MsgCreateDog)
   326  		if x == nil {
   327  			return protoiface.MarshalOutput{
   328  				NoUnkeyedLiterals: input.NoUnkeyedLiterals,
   329  				Buf:               input.Buf,
   330  			}, nil
   331  		}
   332  		options := runtime.MarshalInputToOptions(input)
   333  		_ = options
   334  		size := options.Size(x)
   335  		dAtA := make([]byte, size)
   336  		i := len(dAtA)
   337  		_ = i
   338  		var l int
   339  		_ = l
   340  		if x.unknownFields != nil {
   341  			i -= len(x.unknownFields)
   342  			copy(dAtA[i:], x.unknownFields)
   343  		}
   344  		if len(x.Owner) > 0 {
   345  			i -= len(x.Owner)
   346  			copy(dAtA[i:], x.Owner)
   347  			i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Owner)))
   348  			i--
   349  			dAtA[i] = 0x12
   350  		}
   351  		if x.Dog != nil {
   352  			encoded, err := options.Marshal(x.Dog)
   353  			if err != nil {
   354  				return protoiface.MarshalOutput{
   355  					NoUnkeyedLiterals: input.NoUnkeyedLiterals,
   356  					Buf:               input.Buf,
   357  				}, err
   358  			}
   359  			i -= len(encoded)
   360  			copy(dAtA[i:], encoded)
   361  			i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded)))
   362  			i--
   363  			dAtA[i] = 0xa
   364  		}
   365  		if input.Buf != nil {
   366  			input.Buf = append(input.Buf, dAtA...)
   367  		} else {
   368  			input.Buf = dAtA
   369  		}
   370  		return protoiface.MarshalOutput{
   371  			NoUnkeyedLiterals: input.NoUnkeyedLiterals,
   372  			Buf:               input.Buf,
   373  		}, nil
   374  	}
   375  	unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) {
   376  		x := input.Message.Interface().(*MsgCreateDog)
   377  		if x == nil {
   378  			return protoiface.UnmarshalOutput{
   379  				NoUnkeyedLiterals: input.NoUnkeyedLiterals,
   380  				Flags:             input.Flags,
   381  			}, nil
   382  		}
   383  		options := runtime.UnmarshalInputToOptions(input)
   384  		_ = options
   385  		dAtA := input.Buf
   386  		l := len(dAtA)
   387  		iNdEx := 0
   388  		for iNdEx < l {
   389  			preIndex := iNdEx
   390  			var wire uint64
   391  			for shift := uint(0); ; shift += 7 {
   392  				if shift >= 64 {
   393  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
   394  				}
   395  				if iNdEx >= l {
   396  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
   397  				}
   398  				b := dAtA[iNdEx]
   399  				iNdEx++
   400  				wire |= uint64(b&0x7F) << shift
   401  				if b < 0x80 {
   402  					break
   403  				}
   404  			}
   405  			fieldNum := int32(wire >> 3)
   406  			wireType := int(wire & 0x7)
   407  			if wireType == 4 {
   408  				return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgCreateDog: wiretype end group for non-group")
   409  			}
   410  			if fieldNum <= 0 {
   411  				return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgCreateDog: illegal tag %d (wire type %d)", fieldNum, wire)
   412  			}
   413  			switch fieldNum {
   414  			case 1:
   415  				if wireType != 2 {
   416  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Dog", wireType)
   417  				}
   418  				var msglen int
   419  				for shift := uint(0); ; shift += 7 {
   420  					if shift >= 64 {
   421  						return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
   422  					}
   423  					if iNdEx >= l {
   424  						return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
   425  					}
   426  					b := dAtA[iNdEx]
   427  					iNdEx++
   428  					msglen |= int(b&0x7F) << shift
   429  					if b < 0x80 {
   430  						break
   431  					}
   432  				}
   433  				if msglen < 0 {
   434  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
   435  				}
   436  				postIndex := iNdEx + msglen
   437  				if postIndex < 0 {
   438  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
   439  				}
   440  				if postIndex > l {
   441  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
   442  				}
   443  				if x.Dog == nil {
   444  					x.Dog = &Dog{}
   445  				}
   446  				if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Dog); err != nil {
   447  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
   448  				}
   449  				iNdEx = postIndex
   450  			case 2:
   451  				if wireType != 2 {
   452  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
   453  				}
   454  				var stringLen uint64
   455  				for shift := uint(0); ; shift += 7 {
   456  					if shift >= 64 {
   457  						return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
   458  					}
   459  					if iNdEx >= l {
   460  						return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
   461  					}
   462  					b := dAtA[iNdEx]
   463  					iNdEx++
   464  					stringLen |= uint64(b&0x7F) << shift
   465  					if b < 0x80 {
   466  						break
   467  					}
   468  				}
   469  				intStringLen := int(stringLen)
   470  				if intStringLen < 0 {
   471  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
   472  				}
   473  				postIndex := iNdEx + intStringLen
   474  				if postIndex < 0 {
   475  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
   476  				}
   477  				if postIndex > l {
   478  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
   479  				}
   480  				x.Owner = string(dAtA[iNdEx:postIndex])
   481  				iNdEx = postIndex
   482  			default:
   483  				iNdEx = preIndex
   484  				skippy, err := runtime.Skip(dAtA[iNdEx:])
   485  				if err != nil {
   486  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
   487  				}
   488  				if (skippy < 0) || (iNdEx+skippy) < 0 {
   489  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
   490  				}
   491  				if (iNdEx + skippy) > l {
   492  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
   493  				}
   494  				if !options.DiscardUnknown {
   495  					x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
   496  				}
   497  				iNdEx += skippy
   498  			}
   499  		}
   500  
   501  		if iNdEx > l {
   502  			return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
   503  		}
   504  		return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil
   505  	}
   506  	return &protoiface.Methods{
   507  		NoUnkeyedLiterals: struct{}{},
   508  		Flags:             protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown,
   509  		Size:              size,
   510  		Marshal:           marshal,
   511  		Unmarshal:         unmarshal,
   512  		Merge:             nil,
   513  		CheckInitialized:  nil,
   514  	}
   515  }
   516  
   517  var (
   518  	md_MsgCreateDogResponse      protoreflect.MessageDescriptor
   519  	fd_MsgCreateDogResponse_name protoreflect.FieldDescriptor
   520  )
   521  
   522  func init() {
   523  	file_testpb_tx_proto_init()
   524  	md_MsgCreateDogResponse = File_testpb_tx_proto.Messages().ByName("MsgCreateDogResponse")
   525  	fd_MsgCreateDogResponse_name = md_MsgCreateDogResponse.Fields().ByName("name")
   526  }
   527  
   528  var _ protoreflect.Message = (*fastReflection_MsgCreateDogResponse)(nil)
   529  
   530  type fastReflection_MsgCreateDogResponse MsgCreateDogResponse
   531  
   532  func (x *MsgCreateDogResponse) ProtoReflect() protoreflect.Message {
   533  	return (*fastReflection_MsgCreateDogResponse)(x)
   534  }
   535  
   536  func (x *MsgCreateDogResponse) slowProtoReflect() protoreflect.Message {
   537  	mi := &file_testpb_tx_proto_msgTypes[1]
   538  	if protoimpl.UnsafeEnabled && x != nil {
   539  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   540  		if ms.LoadMessageInfo() == nil {
   541  			ms.StoreMessageInfo(mi)
   542  		}
   543  		return ms
   544  	}
   545  	return mi.MessageOf(x)
   546  }
   547  
   548  var _fastReflection_MsgCreateDogResponse_messageType fastReflection_MsgCreateDogResponse_messageType
   549  var _ protoreflect.MessageType = fastReflection_MsgCreateDogResponse_messageType{}
   550  
   551  type fastReflection_MsgCreateDogResponse_messageType struct{}
   552  
   553  func (x fastReflection_MsgCreateDogResponse_messageType) Zero() protoreflect.Message {
   554  	return (*fastReflection_MsgCreateDogResponse)(nil)
   555  }
   556  func (x fastReflection_MsgCreateDogResponse_messageType) New() protoreflect.Message {
   557  	return new(fastReflection_MsgCreateDogResponse)
   558  }
   559  func (x fastReflection_MsgCreateDogResponse_messageType) Descriptor() protoreflect.MessageDescriptor {
   560  	return md_MsgCreateDogResponse
   561  }
   562  
   563  // Descriptor returns message descriptor, which contains only the protobuf
   564  // type information for the message.
   565  func (x *fastReflection_MsgCreateDogResponse) Descriptor() protoreflect.MessageDescriptor {
   566  	return md_MsgCreateDogResponse
   567  }
   568  
   569  // Type returns the message type, which encapsulates both Go and protobuf
   570  // type information. If the Go type information is not needed,
   571  // it is recommended that the message descriptor be used instead.
   572  func (x *fastReflection_MsgCreateDogResponse) Type() protoreflect.MessageType {
   573  	return _fastReflection_MsgCreateDogResponse_messageType
   574  }
   575  
   576  // New returns a newly allocated and mutable empty message.
   577  func (x *fastReflection_MsgCreateDogResponse) New() protoreflect.Message {
   578  	return new(fastReflection_MsgCreateDogResponse)
   579  }
   580  
   581  // Interface unwraps the message reflection interface and
   582  // returns the underlying ProtoMessage interface.
   583  func (x *fastReflection_MsgCreateDogResponse) Interface() protoreflect.ProtoMessage {
   584  	return (*MsgCreateDogResponse)(x)
   585  }
   586  
   587  // Range iterates over every populated field in an undefined order,
   588  // calling f for each field descriptor and value encountered.
   589  // Range returns immediately if f returns false.
   590  // While iterating, mutating operations may only be performed
   591  // on the current field descriptor.
   592  func (x *fastReflection_MsgCreateDogResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
   593  	if x.Name != "" {
   594  		value := protoreflect.ValueOfString(x.Name)
   595  		if !f(fd_MsgCreateDogResponse_name, value) {
   596  			return
   597  		}
   598  	}
   599  }
   600  
   601  // Has reports whether a field is populated.
   602  //
   603  // Some fields have the property of nullability where it is possible to
   604  // distinguish between the default value of a field and whether the field
   605  // was explicitly populated with the default value. Singular message fields,
   606  // member fields of a oneof, and proto2 scalar fields are nullable. Such
   607  // fields are populated only if explicitly set.
   608  //
   609  // In other cases (aside from the nullable cases above),
   610  // a proto3 scalar field is populated if it contains a non-zero value, and
   611  // a repeated field is populated if it is non-empty.
   612  func (x *fastReflection_MsgCreateDogResponse) Has(fd protoreflect.FieldDescriptor) bool {
   613  	switch fd.FullName() {
   614  	case "testpb.MsgCreateDogResponse.name":
   615  		return x.Name != ""
   616  	default:
   617  		if fd.IsExtension() {
   618  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDogResponse"))
   619  		}
   620  		panic(fmt.Errorf("message testpb.MsgCreateDogResponse does not contain field %s", fd.FullName()))
   621  	}
   622  }
   623  
   624  // Clear clears the field such that a subsequent Has call reports false.
   625  //
   626  // Clearing an extension field clears both the extension type and value
   627  // associated with the given field number.
   628  //
   629  // Clear is a mutating operation and unsafe for concurrent use.
   630  func (x *fastReflection_MsgCreateDogResponse) Clear(fd protoreflect.FieldDescriptor) {
   631  	switch fd.FullName() {
   632  	case "testpb.MsgCreateDogResponse.name":
   633  		x.Name = ""
   634  	default:
   635  		if fd.IsExtension() {
   636  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDogResponse"))
   637  		}
   638  		panic(fmt.Errorf("message testpb.MsgCreateDogResponse does not contain field %s", fd.FullName()))
   639  	}
   640  }
   641  
   642  // Get retrieves the value for a field.
   643  //
   644  // For unpopulated scalars, it returns the default value, where
   645  // the default value of a bytes scalar is guaranteed to be a copy.
   646  // For unpopulated composite types, it returns an empty, read-only view
   647  // of the value; to obtain a mutable reference, use Mutable.
   648  func (x *fastReflection_MsgCreateDogResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
   649  	switch descriptor.FullName() {
   650  	case "testpb.MsgCreateDogResponse.name":
   651  		value := x.Name
   652  		return protoreflect.ValueOfString(value)
   653  	default:
   654  		if descriptor.IsExtension() {
   655  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDogResponse"))
   656  		}
   657  		panic(fmt.Errorf("message testpb.MsgCreateDogResponse does not contain field %s", descriptor.FullName()))
   658  	}
   659  }
   660  
   661  // Set stores the value for a field.
   662  //
   663  // For a field belonging to a oneof, it implicitly clears any other field
   664  // that may be currently set within the same oneof.
   665  // For extension fields, it implicitly stores the provided ExtensionType.
   666  // When setting a composite type, it is unspecified whether the stored value
   667  // aliases the source's memory in any way. If the composite value is an
   668  // empty, read-only value, then it panics.
   669  //
   670  // Set is a mutating operation and unsafe for concurrent use.
   671  func (x *fastReflection_MsgCreateDogResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
   672  	switch fd.FullName() {
   673  	case "testpb.MsgCreateDogResponse.name":
   674  		x.Name = value.Interface().(string)
   675  	default:
   676  		if fd.IsExtension() {
   677  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDogResponse"))
   678  		}
   679  		panic(fmt.Errorf("message testpb.MsgCreateDogResponse does not contain field %s", fd.FullName()))
   680  	}
   681  }
   682  
   683  // Mutable returns a mutable reference to a composite type.
   684  //
   685  // If the field is unpopulated, it may allocate a composite value.
   686  // For a field belonging to a oneof, it implicitly clears any other field
   687  // that may be currently set within the same oneof.
   688  // For extension fields, it implicitly stores the provided ExtensionType
   689  // if not already stored.
   690  // It panics if the field does not contain a composite type.
   691  //
   692  // Mutable is a mutating operation and unsafe for concurrent use.
   693  func (x *fastReflection_MsgCreateDogResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
   694  	switch fd.FullName() {
   695  	case "testpb.MsgCreateDogResponse.name":
   696  		panic(fmt.Errorf("field name of message testpb.MsgCreateDogResponse is not mutable"))
   697  	default:
   698  		if fd.IsExtension() {
   699  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDogResponse"))
   700  		}
   701  		panic(fmt.Errorf("message testpb.MsgCreateDogResponse does not contain field %s", fd.FullName()))
   702  	}
   703  }
   704  
   705  // NewField returns a new value that is assignable to the field
   706  // for the given descriptor. For scalars, this returns the default value.
   707  // For lists, maps, and messages, this returns a new, empty, mutable value.
   708  func (x *fastReflection_MsgCreateDogResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
   709  	switch fd.FullName() {
   710  	case "testpb.MsgCreateDogResponse.name":
   711  		return protoreflect.ValueOfString("")
   712  	default:
   713  		if fd.IsExtension() {
   714  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.MsgCreateDogResponse"))
   715  		}
   716  		panic(fmt.Errorf("message testpb.MsgCreateDogResponse does not contain field %s", fd.FullName()))
   717  	}
   718  }
   719  
   720  // WhichOneof reports which field within the oneof is populated,
   721  // returning nil if none are populated.
   722  // It panics if the oneof descriptor does not belong to this message.
   723  func (x *fastReflection_MsgCreateDogResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
   724  	switch d.FullName() {
   725  	default:
   726  		panic(fmt.Errorf("%s is not a oneof field in testpb.MsgCreateDogResponse", d.FullName()))
   727  	}
   728  	panic("unreachable")
   729  }
   730  
   731  // GetUnknown retrieves the entire list of unknown fields.
   732  // The caller may only mutate the contents of the RawFields
   733  // if the mutated bytes are stored back into the message with SetUnknown.
   734  func (x *fastReflection_MsgCreateDogResponse) GetUnknown() protoreflect.RawFields {
   735  	return x.unknownFields
   736  }
   737  
   738  // SetUnknown stores an entire list of unknown fields.
   739  // The raw fields must be syntactically valid according to the wire format.
   740  // An implementation may panic if this is not the case.
   741  // Once stored, the caller must not mutate the content of the RawFields.
   742  // An empty RawFields may be passed to clear the fields.
   743  //
   744  // SetUnknown is a mutating operation and unsafe for concurrent use.
   745  func (x *fastReflection_MsgCreateDogResponse) SetUnknown(fields protoreflect.RawFields) {
   746  	x.unknownFields = fields
   747  }
   748  
   749  // IsValid reports whether the message is valid.
   750  //
   751  // An invalid message is an empty, read-only value.
   752  //
   753  // An invalid message often corresponds to a nil pointer of the concrete
   754  // message type, but the details are implementation dependent.
   755  // Validity is not part of the protobuf data model, and may not
   756  // be preserved in marshaling or other operations.
   757  func (x *fastReflection_MsgCreateDogResponse) IsValid() bool {
   758  	return x != nil
   759  }
   760  
   761  // ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
   762  // This method may return nil.
   763  //
   764  // The returned methods type is identical to
   765  // "google.golang.org/protobuf/runtime/protoiface".Methods.
   766  // Consult the protoiface package documentation for details.
   767  func (x *fastReflection_MsgCreateDogResponse) ProtoMethods() *protoiface.Methods {
   768  	size := func(input protoiface.SizeInput) protoiface.SizeOutput {
   769  		x := input.Message.Interface().(*MsgCreateDogResponse)
   770  		if x == nil {
   771  			return protoiface.SizeOutput{
   772  				NoUnkeyedLiterals: input.NoUnkeyedLiterals,
   773  				Size:              0,
   774  			}
   775  		}
   776  		options := runtime.SizeInputToOptions(input)
   777  		_ = options
   778  		var n int
   779  		var l int
   780  		_ = l
   781  		l = len(x.Name)
   782  		if l > 0 {
   783  			n += 1 + l + runtime.Sov(uint64(l))
   784  		}
   785  		if x.unknownFields != nil {
   786  			n += len(x.unknownFields)
   787  		}
   788  		return protoiface.SizeOutput{
   789  			NoUnkeyedLiterals: input.NoUnkeyedLiterals,
   790  			Size:              n,
   791  		}
   792  	}
   793  
   794  	marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
   795  		x := input.Message.Interface().(*MsgCreateDogResponse)
   796  		if x == nil {
   797  			return protoiface.MarshalOutput{
   798  				NoUnkeyedLiterals: input.NoUnkeyedLiterals,
   799  				Buf:               input.Buf,
   800  			}, nil
   801  		}
   802  		options := runtime.MarshalInputToOptions(input)
   803  		_ = options
   804  		size := options.Size(x)
   805  		dAtA := make([]byte, size)
   806  		i := len(dAtA)
   807  		_ = i
   808  		var l int
   809  		_ = l
   810  		if x.unknownFields != nil {
   811  			i -= len(x.unknownFields)
   812  			copy(dAtA[i:], x.unknownFields)
   813  		}
   814  		if len(x.Name) > 0 {
   815  			i -= len(x.Name)
   816  			copy(dAtA[i:], x.Name)
   817  			i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Name)))
   818  			i--
   819  			dAtA[i] = 0xa
   820  		}
   821  		if input.Buf != nil {
   822  			input.Buf = append(input.Buf, dAtA...)
   823  		} else {
   824  			input.Buf = dAtA
   825  		}
   826  		return protoiface.MarshalOutput{
   827  			NoUnkeyedLiterals: input.NoUnkeyedLiterals,
   828  			Buf:               input.Buf,
   829  		}, nil
   830  	}
   831  	unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) {
   832  		x := input.Message.Interface().(*MsgCreateDogResponse)
   833  		if x == nil {
   834  			return protoiface.UnmarshalOutput{
   835  				NoUnkeyedLiterals: input.NoUnkeyedLiterals,
   836  				Flags:             input.Flags,
   837  			}, nil
   838  		}
   839  		options := runtime.UnmarshalInputToOptions(input)
   840  		_ = options
   841  		dAtA := input.Buf
   842  		l := len(dAtA)
   843  		iNdEx := 0
   844  		for iNdEx < l {
   845  			preIndex := iNdEx
   846  			var wire uint64
   847  			for shift := uint(0); ; shift += 7 {
   848  				if shift >= 64 {
   849  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
   850  				}
   851  				if iNdEx >= l {
   852  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
   853  				}
   854  				b := dAtA[iNdEx]
   855  				iNdEx++
   856  				wire |= uint64(b&0x7F) << shift
   857  				if b < 0x80 {
   858  					break
   859  				}
   860  			}
   861  			fieldNum := int32(wire >> 3)
   862  			wireType := int(wire & 0x7)
   863  			if wireType == 4 {
   864  				return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgCreateDogResponse: wiretype end group for non-group")
   865  			}
   866  			if fieldNum <= 0 {
   867  				return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgCreateDogResponse: illegal tag %d (wire type %d)", fieldNum, wire)
   868  			}
   869  			switch fieldNum {
   870  			case 1:
   871  				if wireType != 2 {
   872  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
   873  				}
   874  				var stringLen uint64
   875  				for shift := uint(0); ; shift += 7 {
   876  					if shift >= 64 {
   877  						return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
   878  					}
   879  					if iNdEx >= l {
   880  						return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
   881  					}
   882  					b := dAtA[iNdEx]
   883  					iNdEx++
   884  					stringLen |= uint64(b&0x7F) << shift
   885  					if b < 0x80 {
   886  						break
   887  					}
   888  				}
   889  				intStringLen := int(stringLen)
   890  				if intStringLen < 0 {
   891  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
   892  				}
   893  				postIndex := iNdEx + intStringLen
   894  				if postIndex < 0 {
   895  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
   896  				}
   897  				if postIndex > l {
   898  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
   899  				}
   900  				x.Name = string(dAtA[iNdEx:postIndex])
   901  				iNdEx = postIndex
   902  			default:
   903  				iNdEx = preIndex
   904  				skippy, err := runtime.Skip(dAtA[iNdEx:])
   905  				if err != nil {
   906  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
   907  				}
   908  				if (skippy < 0) || (iNdEx+skippy) < 0 {
   909  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
   910  				}
   911  				if (iNdEx + skippy) > l {
   912  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
   913  				}
   914  				if !options.DiscardUnknown {
   915  					x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
   916  				}
   917  				iNdEx += skippy
   918  			}
   919  		}
   920  
   921  		if iNdEx > l {
   922  			return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
   923  		}
   924  		return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil
   925  	}
   926  	return &protoiface.Methods{
   927  		NoUnkeyedLiterals: struct{}{},
   928  		Flags:             protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown,
   929  		Size:              size,
   930  		Marshal:           marshal,
   931  		Unmarshal:         unmarshal,
   932  		Merge:             nil,
   933  		CheckInitialized:  nil,
   934  	}
   935  }
   936  
   937  var _ protoreflect.List = (*_TestMsg_1_list)(nil)
   938  
   939  type _TestMsg_1_list struct {
   940  	list *[]string
   941  }
   942  
   943  func (x *_TestMsg_1_list) Len() int {
   944  	if x.list == nil {
   945  		return 0
   946  	}
   947  	return len(*x.list)
   948  }
   949  
   950  func (x *_TestMsg_1_list) Get(i int) protoreflect.Value {
   951  	return protoreflect.ValueOfString((*x.list)[i])
   952  }
   953  
   954  func (x *_TestMsg_1_list) Set(i int, value protoreflect.Value) {
   955  	valueUnwrapped := value.String()
   956  	concreteValue := valueUnwrapped
   957  	(*x.list)[i] = concreteValue
   958  }
   959  
   960  func (x *_TestMsg_1_list) Append(value protoreflect.Value) {
   961  	valueUnwrapped := value.String()
   962  	concreteValue := valueUnwrapped
   963  	*x.list = append(*x.list, concreteValue)
   964  }
   965  
   966  func (x *_TestMsg_1_list) AppendMutable() protoreflect.Value {
   967  	panic(fmt.Errorf("AppendMutable can not be called on message TestMsg at list field Signers as it is not of Message kind"))
   968  }
   969  
   970  func (x *_TestMsg_1_list) Truncate(n int) {
   971  	*x.list = (*x.list)[:n]
   972  }
   973  
   974  func (x *_TestMsg_1_list) NewElement() protoreflect.Value {
   975  	v := ""
   976  	return protoreflect.ValueOfString(v)
   977  }
   978  
   979  func (x *_TestMsg_1_list) IsValid() bool {
   980  	return x.list != nil
   981  }
   982  
   983  var (
   984  	md_TestMsg         protoreflect.MessageDescriptor
   985  	fd_TestMsg_signers protoreflect.FieldDescriptor
   986  )
   987  
   988  func init() {
   989  	file_testpb_tx_proto_init()
   990  	md_TestMsg = File_testpb_tx_proto.Messages().ByName("TestMsg")
   991  	fd_TestMsg_signers = md_TestMsg.Fields().ByName("signers")
   992  }
   993  
   994  var _ protoreflect.Message = (*fastReflection_TestMsg)(nil)
   995  
   996  type fastReflection_TestMsg TestMsg
   997  
   998  func (x *TestMsg) ProtoReflect() protoreflect.Message {
   999  	return (*fastReflection_TestMsg)(x)
  1000  }
  1001  
  1002  func (x *TestMsg) slowProtoReflect() protoreflect.Message {
  1003  	mi := &file_testpb_tx_proto_msgTypes[2]
  1004  	if protoimpl.UnsafeEnabled && x != nil {
  1005  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1006  		if ms.LoadMessageInfo() == nil {
  1007  			ms.StoreMessageInfo(mi)
  1008  		}
  1009  		return ms
  1010  	}
  1011  	return mi.MessageOf(x)
  1012  }
  1013  
  1014  var _fastReflection_TestMsg_messageType fastReflection_TestMsg_messageType
  1015  var _ protoreflect.MessageType = fastReflection_TestMsg_messageType{}
  1016  
  1017  type fastReflection_TestMsg_messageType struct{}
  1018  
  1019  func (x fastReflection_TestMsg_messageType) Zero() protoreflect.Message {
  1020  	return (*fastReflection_TestMsg)(nil)
  1021  }
  1022  func (x fastReflection_TestMsg_messageType) New() protoreflect.Message {
  1023  	return new(fastReflection_TestMsg)
  1024  }
  1025  func (x fastReflection_TestMsg_messageType) Descriptor() protoreflect.MessageDescriptor {
  1026  	return md_TestMsg
  1027  }
  1028  
  1029  // Descriptor returns message descriptor, which contains only the protobuf
  1030  // type information for the message.
  1031  func (x *fastReflection_TestMsg) Descriptor() protoreflect.MessageDescriptor {
  1032  	return md_TestMsg
  1033  }
  1034  
  1035  // Type returns the message type, which encapsulates both Go and protobuf
  1036  // type information. If the Go type information is not needed,
  1037  // it is recommended that the message descriptor be used instead.
  1038  func (x *fastReflection_TestMsg) Type() protoreflect.MessageType {
  1039  	return _fastReflection_TestMsg_messageType
  1040  }
  1041  
  1042  // New returns a newly allocated and mutable empty message.
  1043  func (x *fastReflection_TestMsg) New() protoreflect.Message {
  1044  	return new(fastReflection_TestMsg)
  1045  }
  1046  
  1047  // Interface unwraps the message reflection interface and
  1048  // returns the underlying ProtoMessage interface.
  1049  func (x *fastReflection_TestMsg) Interface() protoreflect.ProtoMessage {
  1050  	return (*TestMsg)(x)
  1051  }
  1052  
  1053  // Range iterates over every populated field in an undefined order,
  1054  // calling f for each field descriptor and value encountered.
  1055  // Range returns immediately if f returns false.
  1056  // While iterating, mutating operations may only be performed
  1057  // on the current field descriptor.
  1058  func (x *fastReflection_TestMsg) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
  1059  	if len(x.Signers) != 0 {
  1060  		value := protoreflect.ValueOfList(&_TestMsg_1_list{list: &x.Signers})
  1061  		if !f(fd_TestMsg_signers, value) {
  1062  			return
  1063  		}
  1064  	}
  1065  }
  1066  
  1067  // Has reports whether a field is populated.
  1068  //
  1069  // Some fields have the property of nullability where it is possible to
  1070  // distinguish between the default value of a field and whether the field
  1071  // was explicitly populated with the default value. Singular message fields,
  1072  // member fields of a oneof, and proto2 scalar fields are nullable. Such
  1073  // fields are populated only if explicitly set.
  1074  //
  1075  // In other cases (aside from the nullable cases above),
  1076  // a proto3 scalar field is populated if it contains a non-zero value, and
  1077  // a repeated field is populated if it is non-empty.
  1078  func (x *fastReflection_TestMsg) Has(fd protoreflect.FieldDescriptor) bool {
  1079  	switch fd.FullName() {
  1080  	case "testpb.TestMsg.signers":
  1081  		return len(x.Signers) != 0
  1082  	default:
  1083  		if fd.IsExtension() {
  1084  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.TestMsg"))
  1085  		}
  1086  		panic(fmt.Errorf("message testpb.TestMsg does not contain field %s", fd.FullName()))
  1087  	}
  1088  }
  1089  
  1090  // Clear clears the field such that a subsequent Has call reports false.
  1091  //
  1092  // Clearing an extension field clears both the extension type and value
  1093  // associated with the given field number.
  1094  //
  1095  // Clear is a mutating operation and unsafe for concurrent use.
  1096  func (x *fastReflection_TestMsg) Clear(fd protoreflect.FieldDescriptor) {
  1097  	switch fd.FullName() {
  1098  	case "testpb.TestMsg.signers":
  1099  		x.Signers = nil
  1100  	default:
  1101  		if fd.IsExtension() {
  1102  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.TestMsg"))
  1103  		}
  1104  		panic(fmt.Errorf("message testpb.TestMsg does not contain field %s", fd.FullName()))
  1105  	}
  1106  }
  1107  
  1108  // Get retrieves the value for a field.
  1109  //
  1110  // For unpopulated scalars, it returns the default value, where
  1111  // the default value of a bytes scalar is guaranteed to be a copy.
  1112  // For unpopulated composite types, it returns an empty, read-only view
  1113  // of the value; to obtain a mutable reference, use Mutable.
  1114  func (x *fastReflection_TestMsg) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
  1115  	switch descriptor.FullName() {
  1116  	case "testpb.TestMsg.signers":
  1117  		if len(x.Signers) == 0 {
  1118  			return protoreflect.ValueOfList(&_TestMsg_1_list{})
  1119  		}
  1120  		listValue := &_TestMsg_1_list{list: &x.Signers}
  1121  		return protoreflect.ValueOfList(listValue)
  1122  	default:
  1123  		if descriptor.IsExtension() {
  1124  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.TestMsg"))
  1125  		}
  1126  		panic(fmt.Errorf("message testpb.TestMsg does not contain field %s", descriptor.FullName()))
  1127  	}
  1128  }
  1129  
  1130  // Set stores the value for a field.
  1131  //
  1132  // For a field belonging to a oneof, it implicitly clears any other field
  1133  // that may be currently set within the same oneof.
  1134  // For extension fields, it implicitly stores the provided ExtensionType.
  1135  // When setting a composite type, it is unspecified whether the stored value
  1136  // aliases the source's memory in any way. If the composite value is an
  1137  // empty, read-only value, then it panics.
  1138  //
  1139  // Set is a mutating operation and unsafe for concurrent use.
  1140  func (x *fastReflection_TestMsg) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
  1141  	switch fd.FullName() {
  1142  	case "testpb.TestMsg.signers":
  1143  		lv := value.List()
  1144  		clv := lv.(*_TestMsg_1_list)
  1145  		x.Signers = *clv.list
  1146  	default:
  1147  		if fd.IsExtension() {
  1148  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.TestMsg"))
  1149  		}
  1150  		panic(fmt.Errorf("message testpb.TestMsg does not contain field %s", fd.FullName()))
  1151  	}
  1152  }
  1153  
  1154  // Mutable returns a mutable reference to a composite type.
  1155  //
  1156  // If the field is unpopulated, it may allocate a composite value.
  1157  // For a field belonging to a oneof, it implicitly clears any other field
  1158  // that may be currently set within the same oneof.
  1159  // For extension fields, it implicitly stores the provided ExtensionType
  1160  // if not already stored.
  1161  // It panics if the field does not contain a composite type.
  1162  //
  1163  // Mutable is a mutating operation and unsafe for concurrent use.
  1164  func (x *fastReflection_TestMsg) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
  1165  	switch fd.FullName() {
  1166  	case "testpb.TestMsg.signers":
  1167  		if x.Signers == nil {
  1168  			x.Signers = []string{}
  1169  		}
  1170  		value := &_TestMsg_1_list{list: &x.Signers}
  1171  		return protoreflect.ValueOfList(value)
  1172  	default:
  1173  		if fd.IsExtension() {
  1174  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.TestMsg"))
  1175  		}
  1176  		panic(fmt.Errorf("message testpb.TestMsg does not contain field %s", fd.FullName()))
  1177  	}
  1178  }
  1179  
  1180  // NewField returns a new value that is assignable to the field
  1181  // for the given descriptor. For scalars, this returns the default value.
  1182  // For lists, maps, and messages, this returns a new, empty, mutable value.
  1183  func (x *fastReflection_TestMsg) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
  1184  	switch fd.FullName() {
  1185  	case "testpb.TestMsg.signers":
  1186  		list := []string{}
  1187  		return protoreflect.ValueOfList(&_TestMsg_1_list{list: &list})
  1188  	default:
  1189  		if fd.IsExtension() {
  1190  			panic(fmt.Errorf("proto3 declared messages do not support extensions: testpb.TestMsg"))
  1191  		}
  1192  		panic(fmt.Errorf("message testpb.TestMsg does not contain field %s", fd.FullName()))
  1193  	}
  1194  }
  1195  
  1196  // WhichOneof reports which field within the oneof is populated,
  1197  // returning nil if none are populated.
  1198  // It panics if the oneof descriptor does not belong to this message.
  1199  func (x *fastReflection_TestMsg) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
  1200  	switch d.FullName() {
  1201  	default:
  1202  		panic(fmt.Errorf("%s is not a oneof field in testpb.TestMsg", d.FullName()))
  1203  	}
  1204  	panic("unreachable")
  1205  }
  1206  
  1207  // GetUnknown retrieves the entire list of unknown fields.
  1208  // The caller may only mutate the contents of the RawFields
  1209  // if the mutated bytes are stored back into the message with SetUnknown.
  1210  func (x *fastReflection_TestMsg) GetUnknown() protoreflect.RawFields {
  1211  	return x.unknownFields
  1212  }
  1213  
  1214  // SetUnknown stores an entire list of unknown fields.
  1215  // The raw fields must be syntactically valid according to the wire format.
  1216  // An implementation may panic if this is not the case.
  1217  // Once stored, the caller must not mutate the content of the RawFields.
  1218  // An empty RawFields may be passed to clear the fields.
  1219  //
  1220  // SetUnknown is a mutating operation and unsafe for concurrent use.
  1221  func (x *fastReflection_TestMsg) SetUnknown(fields protoreflect.RawFields) {
  1222  	x.unknownFields = fields
  1223  }
  1224  
  1225  // IsValid reports whether the message is valid.
  1226  //
  1227  // An invalid message is an empty, read-only value.
  1228  //
  1229  // An invalid message often corresponds to a nil pointer of the concrete
  1230  // message type, but the details are implementation dependent.
  1231  // Validity is not part of the protobuf data model, and may not
  1232  // be preserved in marshaling or other operations.
  1233  func (x *fastReflection_TestMsg) IsValid() bool {
  1234  	return x != nil
  1235  }
  1236  
  1237  // ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
  1238  // This method may return nil.
  1239  //
  1240  // The returned methods type is identical to
  1241  // "google.golang.org/protobuf/runtime/protoiface".Methods.
  1242  // Consult the protoiface package documentation for details.
  1243  func (x *fastReflection_TestMsg) ProtoMethods() *protoiface.Methods {
  1244  	size := func(input protoiface.SizeInput) protoiface.SizeOutput {
  1245  		x := input.Message.Interface().(*TestMsg)
  1246  		if x == nil {
  1247  			return protoiface.SizeOutput{
  1248  				NoUnkeyedLiterals: input.NoUnkeyedLiterals,
  1249  				Size:              0,
  1250  			}
  1251  		}
  1252  		options := runtime.SizeInputToOptions(input)
  1253  		_ = options
  1254  		var n int
  1255  		var l int
  1256  		_ = l
  1257  		if len(x.Signers) > 0 {
  1258  			for _, s := range x.Signers {
  1259  				l = len(s)
  1260  				n += 1 + l + runtime.Sov(uint64(l))
  1261  			}
  1262  		}
  1263  		if x.unknownFields != nil {
  1264  			n += len(x.unknownFields)
  1265  		}
  1266  		return protoiface.SizeOutput{
  1267  			NoUnkeyedLiterals: input.NoUnkeyedLiterals,
  1268  			Size:              n,
  1269  		}
  1270  	}
  1271  
  1272  	marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
  1273  		x := input.Message.Interface().(*TestMsg)
  1274  		if x == nil {
  1275  			return protoiface.MarshalOutput{
  1276  				NoUnkeyedLiterals: input.NoUnkeyedLiterals,
  1277  				Buf:               input.Buf,
  1278  			}, nil
  1279  		}
  1280  		options := runtime.MarshalInputToOptions(input)
  1281  		_ = options
  1282  		size := options.Size(x)
  1283  		dAtA := make([]byte, size)
  1284  		i := len(dAtA)
  1285  		_ = i
  1286  		var l int
  1287  		_ = l
  1288  		if x.unknownFields != nil {
  1289  			i -= len(x.unknownFields)
  1290  			copy(dAtA[i:], x.unknownFields)
  1291  		}
  1292  		if len(x.Signers) > 0 {
  1293  			for iNdEx := len(x.Signers) - 1; iNdEx >= 0; iNdEx-- {
  1294  				i -= len(x.Signers[iNdEx])
  1295  				copy(dAtA[i:], x.Signers[iNdEx])
  1296  				i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signers[iNdEx])))
  1297  				i--
  1298  				dAtA[i] = 0xa
  1299  			}
  1300  		}
  1301  		if input.Buf != nil {
  1302  			input.Buf = append(input.Buf, dAtA...)
  1303  		} else {
  1304  			input.Buf = dAtA
  1305  		}
  1306  		return protoiface.MarshalOutput{
  1307  			NoUnkeyedLiterals: input.NoUnkeyedLiterals,
  1308  			Buf:               input.Buf,
  1309  		}, nil
  1310  	}
  1311  	unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) {
  1312  		x := input.Message.Interface().(*TestMsg)
  1313  		if x == nil {
  1314  			return protoiface.UnmarshalOutput{
  1315  				NoUnkeyedLiterals: input.NoUnkeyedLiterals,
  1316  				Flags:             input.Flags,
  1317  			}, nil
  1318  		}
  1319  		options := runtime.UnmarshalInputToOptions(input)
  1320  		_ = options
  1321  		dAtA := input.Buf
  1322  		l := len(dAtA)
  1323  		iNdEx := 0
  1324  		for iNdEx < l {
  1325  			preIndex := iNdEx
  1326  			var wire uint64
  1327  			for shift := uint(0); ; shift += 7 {
  1328  				if shift >= 64 {
  1329  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
  1330  				}
  1331  				if iNdEx >= l {
  1332  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
  1333  				}
  1334  				b := dAtA[iNdEx]
  1335  				iNdEx++
  1336  				wire |= uint64(b&0x7F) << shift
  1337  				if b < 0x80 {
  1338  					break
  1339  				}
  1340  			}
  1341  			fieldNum := int32(wire >> 3)
  1342  			wireType := int(wire & 0x7)
  1343  			if wireType == 4 {
  1344  				return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TestMsg: wiretype end group for non-group")
  1345  			}
  1346  			if fieldNum <= 0 {
  1347  				return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TestMsg: illegal tag %d (wire type %d)", fieldNum, wire)
  1348  			}
  1349  			switch fieldNum {
  1350  			case 1:
  1351  				if wireType != 2 {
  1352  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signers", wireType)
  1353  				}
  1354  				var stringLen uint64
  1355  				for shift := uint(0); ; shift += 7 {
  1356  					if shift >= 64 {
  1357  						return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
  1358  					}
  1359  					if iNdEx >= l {
  1360  						return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
  1361  					}
  1362  					b := dAtA[iNdEx]
  1363  					iNdEx++
  1364  					stringLen |= uint64(b&0x7F) << shift
  1365  					if b < 0x80 {
  1366  						break
  1367  					}
  1368  				}
  1369  				intStringLen := int(stringLen)
  1370  				if intStringLen < 0 {
  1371  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
  1372  				}
  1373  				postIndex := iNdEx + intStringLen
  1374  				if postIndex < 0 {
  1375  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
  1376  				}
  1377  				if postIndex > l {
  1378  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
  1379  				}
  1380  				x.Signers = append(x.Signers, string(dAtA[iNdEx:postIndex]))
  1381  				iNdEx = postIndex
  1382  			default:
  1383  				iNdEx = preIndex
  1384  				skippy, err := runtime.Skip(dAtA[iNdEx:])
  1385  				if err != nil {
  1386  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
  1387  				}
  1388  				if (skippy < 0) || (iNdEx+skippy) < 0 {
  1389  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
  1390  				}
  1391  				if (iNdEx + skippy) > l {
  1392  					return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
  1393  				}
  1394  				if !options.DiscardUnknown {
  1395  					x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
  1396  				}
  1397  				iNdEx += skippy
  1398  			}
  1399  		}
  1400  
  1401  		if iNdEx > l {
  1402  			return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
  1403  		}
  1404  		return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil
  1405  	}
  1406  	return &protoiface.Methods{
  1407  		NoUnkeyedLiterals: struct{}{},
  1408  		Flags:             protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown,
  1409  		Size:              size,
  1410  		Marshal:           marshal,
  1411  		Unmarshal:         unmarshal,
  1412  		Merge:             nil,
  1413  		CheckInitialized:  nil,
  1414  	}
  1415  }
  1416  
  1417  // Code generated by protoc-gen-go. DO NOT EDIT.
  1418  // versions:
  1419  // 	protoc-gen-go v1.27.0
  1420  // 	protoc        (unknown)
  1421  // source: testpb/tx.proto
  1422  
  1423  const (
  1424  	// Verify that this generated code is sufficiently up-to-date.
  1425  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  1426  	// Verify that runtime/protoimpl is sufficiently up-to-date.
  1427  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  1428  )
  1429  
  1430  type MsgCreateDog struct {
  1431  	state         protoimpl.MessageState
  1432  	sizeCache     protoimpl.SizeCache
  1433  	unknownFields protoimpl.UnknownFields
  1434  
  1435  	Dog   *Dog   `protobuf:"bytes,1,opt,name=dog,proto3" json:"dog,omitempty"`
  1436  	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
  1437  }
  1438  
  1439  func (x *MsgCreateDog) Reset() {
  1440  	*x = MsgCreateDog{}
  1441  	if protoimpl.UnsafeEnabled {
  1442  		mi := &file_testpb_tx_proto_msgTypes[0]
  1443  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1444  		ms.StoreMessageInfo(mi)
  1445  	}
  1446  }
  1447  
  1448  func (x *MsgCreateDog) String() string {
  1449  	return protoimpl.X.MessageStringOf(x)
  1450  }
  1451  
  1452  func (*MsgCreateDog) ProtoMessage() {}
  1453  
  1454  // Deprecated: Use MsgCreateDog.ProtoReflect.Descriptor instead.
  1455  func (*MsgCreateDog) Descriptor() ([]byte, []int) {
  1456  	return file_testpb_tx_proto_rawDescGZIP(), []int{0}
  1457  }
  1458  
  1459  func (x *MsgCreateDog) GetDog() *Dog {
  1460  	if x != nil {
  1461  		return x.Dog
  1462  	}
  1463  	return nil
  1464  }
  1465  
  1466  func (x *MsgCreateDog) GetOwner() string {
  1467  	if x != nil {
  1468  		return x.Owner
  1469  	}
  1470  	return ""
  1471  }
  1472  
  1473  type MsgCreateDogResponse struct {
  1474  	state         protoimpl.MessageState
  1475  	sizeCache     protoimpl.SizeCache
  1476  	unknownFields protoimpl.UnknownFields
  1477  
  1478  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1479  }
  1480  
  1481  func (x *MsgCreateDogResponse) Reset() {
  1482  	*x = MsgCreateDogResponse{}
  1483  	if protoimpl.UnsafeEnabled {
  1484  		mi := &file_testpb_tx_proto_msgTypes[1]
  1485  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1486  		ms.StoreMessageInfo(mi)
  1487  	}
  1488  }
  1489  
  1490  func (x *MsgCreateDogResponse) String() string {
  1491  	return protoimpl.X.MessageStringOf(x)
  1492  }
  1493  
  1494  func (*MsgCreateDogResponse) ProtoMessage() {}
  1495  
  1496  // Deprecated: Use MsgCreateDogResponse.ProtoReflect.Descriptor instead.
  1497  func (*MsgCreateDogResponse) Descriptor() ([]byte, []int) {
  1498  	return file_testpb_tx_proto_rawDescGZIP(), []int{1}
  1499  }
  1500  
  1501  func (x *MsgCreateDogResponse) GetName() string {
  1502  	if x != nil {
  1503  		return x.Name
  1504  	}
  1505  	return ""
  1506  }
  1507  
  1508  // TestMsg is msg type for testing protobuf message using any, as defined in
  1509  // https://github.com/cosmos/cosmos-sdk/issues/6213.
  1510  type TestMsg struct {
  1511  	state         protoimpl.MessageState
  1512  	sizeCache     protoimpl.SizeCache
  1513  	unknownFields protoimpl.UnknownFields
  1514  
  1515  	Signers []string `protobuf:"bytes,1,rep,name=signers,proto3" json:"signers,omitempty"`
  1516  }
  1517  
  1518  func (x *TestMsg) Reset() {
  1519  	*x = TestMsg{}
  1520  	if protoimpl.UnsafeEnabled {
  1521  		mi := &file_testpb_tx_proto_msgTypes[2]
  1522  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1523  		ms.StoreMessageInfo(mi)
  1524  	}
  1525  }
  1526  
  1527  func (x *TestMsg) String() string {
  1528  	return protoimpl.X.MessageStringOf(x)
  1529  }
  1530  
  1531  func (*TestMsg) ProtoMessage() {}
  1532  
  1533  // Deprecated: Use TestMsg.ProtoReflect.Descriptor instead.
  1534  func (*TestMsg) Descriptor() ([]byte, []int) {
  1535  	return file_testpb_tx_proto_rawDescGZIP(), []int{2}
  1536  }
  1537  
  1538  func (x *TestMsg) GetSigners() []string {
  1539  	if x != nil {
  1540  		return x.Signers
  1541  	}
  1542  	return nil
  1543  }
  1544  
  1545  var File_testpb_tx_proto protoreflect.FileDescriptor
  1546  
  1547  var file_testpb_tx_proto_rawDesc = []byte{
  1548  	0x0a, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1549  	0x6f, 0x12, 0x06, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f,
  1550  	0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f,
  1551  	0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
  1552  	0x74, 0x6f, 0x1a, 0x15, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64,
  1553  	0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f,
  1554  	0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f,
  1555  	0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x0c, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44,
  1556  	0x6f, 0x67, 0x12, 0x1d, 0x0a, 0x03, 0x64, 0x6f, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1557  	0x0b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x44, 0x6f, 0x67, 0x52, 0x03, 0x64, 0x6f,
  1558  	0x67, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1559  	0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x3a, 0x0a, 0x82, 0xe7, 0xb0, 0x2a, 0x05, 0x6f, 0x77,
  1560  	0x6e, 0x65, 0x72, 0x22, 0x2a, 0x0a, 0x14, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
  1561  	0x44, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
  1562  	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
  1563  	0x48, 0x0a, 0x07, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x69,
  1564  	0x67, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73, 0x69, 0x67,
  1565  	0x6e, 0x65, 0x72, 0x73, 0x3a, 0x23, 0x88, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x73,
  1566  	0x69, 0x67, 0x6e, 0x65, 0x72, 0x73, 0x8a, 0xe7, 0xb0, 0x2a, 0x0e, 0x74, 0x65, 0x73, 0x74, 0x70,
  1567  	0x62, 0x2f, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x32, 0x4d, 0x0a, 0x03, 0x4d, 0x73, 0x67,
  1568  	0x12, 0x3f, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x67, 0x12, 0x14, 0x2e,
  1569  	0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
  1570  	0x44, 0x6f, 0x67, 0x1a, 0x1c, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x4d, 0x73, 0x67,
  1571  	0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  1572  	0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0x8b, 0x01, 0x0a, 0x0a, 0x63, 0x6f, 0x6d,
  1573  	0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f,
  1574  	0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63,
  1575  	0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b,
  1576  	0x2f, 0x74, 0x65, 0x73, 0x74, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61,
  1577  	0x74, 0x61, 0x5f, 0x70, 0x75, 0x6c, 0x73, 0x61, 0x72, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62,
  1578  	0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x06, 0x54, 0x65, 0x73, 0x74, 0x70, 0x62, 0xca,
  1579  	0x02, 0x06, 0x54, 0x65, 0x73, 0x74, 0x70, 0x62, 0xe2, 0x02, 0x12, 0x54, 0x65, 0x73, 0x74, 0x70,
  1580  	0x62, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x06,
  1581  	0x54, 0x65, 0x73, 0x74, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1582  }
  1583  
  1584  var (
  1585  	file_testpb_tx_proto_rawDescOnce sync.Once
  1586  	file_testpb_tx_proto_rawDescData = file_testpb_tx_proto_rawDesc
  1587  )
  1588  
  1589  func file_testpb_tx_proto_rawDescGZIP() []byte {
  1590  	file_testpb_tx_proto_rawDescOnce.Do(func() {
  1591  		file_testpb_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_testpb_tx_proto_rawDescData)
  1592  	})
  1593  	return file_testpb_tx_proto_rawDescData
  1594  }
  1595  
  1596  var file_testpb_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  1597  var file_testpb_tx_proto_goTypes = []interface{}{
  1598  	(*MsgCreateDog)(nil),         // 0: testpb.MsgCreateDog
  1599  	(*MsgCreateDogResponse)(nil), // 1: testpb.MsgCreateDogResponse
  1600  	(*TestMsg)(nil),              // 2: testpb.TestMsg
  1601  	(*Dog)(nil),                  // 3: testpb.Dog
  1602  }
  1603  var file_testpb_tx_proto_depIdxs = []int32{
  1604  	3, // 0: testpb.MsgCreateDog.dog:type_name -> testpb.Dog
  1605  	0, // 1: testpb.Msg.CreateDog:input_type -> testpb.MsgCreateDog
  1606  	1, // 2: testpb.Msg.CreateDog:output_type -> testpb.MsgCreateDogResponse
  1607  	2, // [2:3] is the sub-list for method output_type
  1608  	1, // [1:2] is the sub-list for method input_type
  1609  	1, // [1:1] is the sub-list for extension type_name
  1610  	1, // [1:1] is the sub-list for extension extendee
  1611  	0, // [0:1] is the sub-list for field type_name
  1612  }
  1613  
  1614  func init() { file_testpb_tx_proto_init() }
  1615  func file_testpb_tx_proto_init() {
  1616  	if File_testpb_tx_proto != nil {
  1617  		return
  1618  	}
  1619  	file_testpb_testdata_proto_init()
  1620  	if !protoimpl.UnsafeEnabled {
  1621  		file_testpb_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1622  			switch v := v.(*MsgCreateDog); i {
  1623  			case 0:
  1624  				return &v.state
  1625  			case 1:
  1626  				return &v.sizeCache
  1627  			case 2:
  1628  				return &v.unknownFields
  1629  			default:
  1630  				return nil
  1631  			}
  1632  		}
  1633  		file_testpb_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1634  			switch v := v.(*MsgCreateDogResponse); i {
  1635  			case 0:
  1636  				return &v.state
  1637  			case 1:
  1638  				return &v.sizeCache
  1639  			case 2:
  1640  				return &v.unknownFields
  1641  			default:
  1642  				return nil
  1643  			}
  1644  		}
  1645  		file_testpb_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1646  			switch v := v.(*TestMsg); i {
  1647  			case 0:
  1648  				return &v.state
  1649  			case 1:
  1650  				return &v.sizeCache
  1651  			case 2:
  1652  				return &v.unknownFields
  1653  			default:
  1654  				return nil
  1655  			}
  1656  		}
  1657  	}
  1658  	type x struct{}
  1659  	out := protoimpl.TypeBuilder{
  1660  		File: protoimpl.DescBuilder{
  1661  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1662  			RawDescriptor: file_testpb_tx_proto_rawDesc,
  1663  			NumEnums:      0,
  1664  			NumMessages:   3,
  1665  			NumExtensions: 0,
  1666  			NumServices:   1,
  1667  		},
  1668  		GoTypes:           file_testpb_tx_proto_goTypes,
  1669  		DependencyIndexes: file_testpb_tx_proto_depIdxs,
  1670  		MessageInfos:      file_testpb_tx_proto_msgTypes,
  1671  	}.Build()
  1672  	File_testpb_tx_proto = out.File
  1673  	file_testpb_tx_proto_rawDesc = nil
  1674  	file_testpb_tx_proto_goTypes = nil
  1675  	file_testpb_tx_proto_depIdxs = nil
  1676  }